Hi,

Could I have some help here please! :)

I have to have SSL working by the end of the week... :(


Simon Garner


----- Original Message -----
From: Simon Garner <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 30, 1999 11:23 AM
Subject: Re: Segfaults


> Hi,
>
>
> > There are 2 or 3 emails in the archive that discussed this
> > problem relating to the SUSE distribution of linux. It seems
> > as if all the latest flavors of linux may have this problem. I'm
> > not too clear about what all this DBM Cache stuff is, but to
> > solve your problem, edit your httpd.conf file and change the
> > "SSLSessionCache" option to "none". There is an option which you can
> > re-compile into your apache to actually fix the problem rather than
> > disable it. I forgot the line, but it went something like "--enableSSL
> > dbmscache". Check the archives to find the correct syntax.
>
> Changing the SSLSessionCache to none did not help. Trying to configure
> Apache with --enable-rule=SSL_SDBM gave me errors.
>
>
> $ SSL_BASE=/usr/stor/inst/openssl
./configure --prefix=/usr/local/etc/https
> \
>    --sysconfdir=/usr/local/etc/https/conf --verbose --enable-module=info \
>    --enable-module=speling --enable-module=rewrite \
>    --activate-module=src/modules/php3/libphp3.a --enable-module=ssl \
>    --enable-rule=SSL_SDBM
>
> Configuring for Apache, Version 1.3.6
>  + using installation path layout: Apache (config.layout)
>  + activated php3 module (modules/php3/libphp3.a)
> Creating Makefile
> Creating Configuration.apaci in src
>  + Rule SSL_COMPAT=yes
>  + Rule SSL_SDBM=yes
>  + Rule SSL_EXPERIMENTAL=no
>  + Rule SSL_VENDOR=no
>  + Rule SHARED_CORE=default
>  + Rule SHARED_CHAIN=default
>  + Rule SOCKS4=no
>  + Rule SOCKS5=no
>  + Rule IRIXNIS=no
>  + Rule IRIXN32=yes
>  + Rule PARANOID=no
>  + Rule EAPI=no
>  + Rule WANTHSREGEX=default
>  + Module mmap_static: no
>  + Module env: yes [static]
>  + Module define: no
>  + Module log_config: yes [static]
>  + Module log_agent: no
>  + Module log_referer: no
>  + Module mime_magic: no
>  + Module mime: yes [static]
>  + Module negotiation: yes [static]
>  + Module status: yes [static]
>  + Module info: yes [static]
>  + Module include: yes [static]
>  + Module autoindex: yes [static]
>  + Module dir: yes [static]
>  + Module cgi: yes [static]
>  + Module asis: yes [static]
>  + Module imap: yes [static]
>  + Module actions: yes [static]
>  + Module speling: yes [static]
>  + Module userdir: yes [static]
>  + Module proxy: no
>  + Module alias: yes [static]
>  + Module rewrite: yes [static]
>  + Module access: yes [static]
>  + Module auth: yes [static]
>  + Module auth_anon: no
>  + Module auth_dbm: no
>  + Module auth_db: no
>  + Module digest: no
>  + Module cern_meta: no
>  + Module expires: no
>  + Module headers: no
>  + Module usertrack: no
>  + Module example: no
>  + Module unique_id: no
>  + Module so: no
>  + Module setenvif: yes [static]
>  + Module ssl: yes [static]
>  + Module php3: yes [static]
> Creating Makefile in src
>  + configured for Linux platform
>  + setting C compiler to gcc
>  + setting C pre-processor to NOT-AVAILABLE
>  + checking for system header files
>  + adding selected modules
>     o rewrite_module uses ConfigStart/End
>       disabling DBM support for mod_rewrite
>       (perhaps you need to add -ldbm, -lndbm or -lgdbm to EXTRA_LIBS)
>     o ssl_module uses ConfigStart/End
>       + SSL interface: mod_ssl/2.2.8
>       + SSL interface build type: OBJ
>       + SSL interface compatibility: enabled
>       + SSL interface experimental code: disabled
>       + SSL interface vendor extensions: disabled
>       + SSL interface plugin: Built-in SDBM
>       + SSL library path: /usr/stor/inst/openssl
>       + SSL library type: source tree only (stand-alone)
>       + SSL library version:
>       + SSL library plugin mode: none
>     o php3_module uses ConfigStart/End
>  + enabling Extended API (EAPI)
> ld: cannot open crt1.o: No such file or directory
> make: *** [dummy] Error 1
>  + doing sanity check on compiler and options
> ** A test compilation with your Makefile configuration
> ** failed. This is most likely because your C compiler
> ** is not ANSI. Apache requires an ANSI C Compiler, such
> ** as gcc. The above error message from your compiler
> ** will also provide a clue.
>  Aborting!
>
>
>
>
> Cheers,
>
> Simon Garner
>
> EXPIO Communications, Ltd.
> http://www.expio.co.nz
> [EMAIL PROTECTED]
>
>
>
>
>
> >
> > -Rolan Yang
> >
> >  On Thu, 29 Apr
> > 1999, Simon Garner wrote:
> >
> > > Hi,
> > >
> > > I'm getting segmentation faults running
> > > Apache/1.3.6+PHP/3.0.7+mod_ssl/2.2.8+OpenSSL/0.9.2b on RedHat 5.1
(Linux
> > > 2.0.34/Pentium).
> > >
> > > I searched through the list archives and this seems to be a very
common
> > > problem but with no published solution.
> > >
> > > Apache starts up OK, and seems fine, but when browsing I get lots of
> broken
> > > images and, strangely, can't seem to POST any data. Others have said
> this
> > > problem afflicts large pages/graphics >20KB, which it probably does,
but
> for
> > > me it just seems to choke on every page.
> > >
> > > The browser gives errors like "Connection reset" or "Network error",
and
> I
> > > get the following in my Apache error_log:
> > >
> > >
> > > [Thu Apr 29 19:30:23 1999] [notice] Apache/1.3.6 (Unix) PHP/3.0.7
> > > mod_ssl/2.2.8 OpenSSL/0.9.2b configured -- resuming normal operations
> > > [Thu Apr 29 19:31:05 1999] [notice] child pid 26455 exit signal
> Segmentation
> > > fault (11)
> > > [Thu Apr 29 19:39:56 1999] [notice] child pid 26458 exit signal
> Segmentation
> > > fault (11)
> > > etc
> > >
> > >
> > > I've just been having a play with OpenSSL and discovered that it is
> > > segfaulting as well -- probably related.
> > >
> > >
> > > $ ./openssl version
> > > OpenSSL 0.9.2b 22 Mar 1999
> > > Segmentation fault (core dumped)
> > >
> > > $ gdb "./openssl version" ./core
> > > GNU gdb 4.17
> > > Copyright 1998 Free Software Foundation, Inc.
> > > GDB is free software, covered by the GNU General Public License, and
you
> are
> > > welcome to change it and/or distribute copies of it under certain
> > > conditions.
> > > Type "show copying" to see the conditions.
> > > There is absolutely no warranty for GDB.  Type "show warranty" for
> details.
> > > This GDB was configured as "i386-redhat-linux"...
> > >
> > > version: No such file or directory.
> > >
> > > Core was generated by `./openssl version'.
> > > Program terminated with signal 11, Segmentation fault.
> > > find_solib: Can't read pathname for load map: Input/output error
> > >
> > > #0  0x4006575a in ?? () from /lib/libc.so.6
> > > (gdb)
> > >
> > >
> > >
> > >
> > > BTW I'm not getting a core from Apache. OpenSSL was compiled with:
> > >
> > >
> > > $ ./config        (says it's "Configuring for linux-elf")
> > > $ make
> > > $ make test    (some tests fail, as follows)
> > > ...
> > > testing X509 conversions
> > > p -> d
> > > make[1]: *** [test_x509] Error 1
> > > make[1]: Leaving directory `/usr/stor/inst/openssl-0.9.2b/test'
> > > make: *** [tests] Error 2
> > > $ make install
> > >
> > >
> > >
> > > Mod_SSL/Apache was compiled with:
> > >
> > > $ ./configure --with-apache=../apache
> > > $ cd ../apache
> > > $ SSL_BASE=/usr/stor/inst/openssl-0.9.2b
> > > ./configure --prefix=/usr/local/etc/https \
> > >   --sysconfdir=/usr/local/etc/https/conf --enable-module=info \
> > >   --enable-module=speling --enable-module=rewrite \
> > >   --activate-module=src/modules/php3/libphp3.a --enable-module=ssl
> > > $ make
> > > $ make install
> > >
> > >
> > >
> > > I have libc-5.3.12-27 and glibc-2.1-0.990311 if it matters (OpenSSL
core
> > > seems to indicate a libc problem?).
> > >
> > >
> > > All help appreciated! Thanks for your time and patience,
> > >
> > > Simon Garner
> > >
> > > EXPIO Communications, Ltd.
> > > http://www.expio.co.nz
> > > [EMAIL PROTECTED]
> > >
> > > ______________________________________________________________________
> > > Apache Interface to OpenSSL (mod_ssl)  www.engelschall.com/sw/mod_ssl/
> > > Official Support Mailing List               [EMAIL PROTECTED]
> > > Automated List Manager                       [EMAIL PROTECTED]
> > >
> > ______________________________________________________________________
> > Apache Interface to OpenSSL (mod_ssl)  www.engelschall.com/sw/mod_ssl/
> > Official Support Mailing List               [EMAIL PROTECTED]
> > Automated List Manager                       [EMAIL PROTECTED]
>
> ______________________________________________________________________
> Apache Interface to OpenSSL (mod_ssl)  www.engelschall.com/sw/mod_ssl/
> Official Support Mailing List               [EMAIL PROTECTED]
> Automated List Manager                       [EMAIL PROTECTED]

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to