Re: Apache wouldn't start with -DSSL

1999-03-30 Thread Ralf S. Engelschall

On Mon, Mar 29, 1999, Rauznitz Balazs wrote:

[...]
 Ok; I tried to recompile with debugging symbols and I see "-g -ggdb3"
 while compiling but I still see "no debugging symbols found" while using
 gdb.

Make sure you debug with the non-installed unstripped
httpd binary and not the installed and stripped binary.

[...]
 #0  0x400b36b8 in ?? () from /lib/libc.so.6
 (gdb) bt
 #0  0x400b36b8 in ?? () from /lib/libc.so.6
 #1  0x400b3661 in ?? () from /lib/libc.so.6
 #2  0x8107dc4 in BIO_free ()
 #3  0x8072d85 in ssl_pphrase_Handle ()
 #4  0x806e98c in ssl_init_Module ()
 #5  0x80c54f9 in ap_init_modules ()
 #6  0x80cf235 in main ()
 
 I have Linux 2.0.34

Are you sure your libc isn't broken?  Don't laugh, but a lot of Linux boxes
showed core dumps in the past after libc upgrades and similar things and
worked fine again after a correct re-installation.  At least the core dumps
occurs not inside mod_ssl. It occurs after OpenSSL's BIO_free() inside your
libc...
   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com
__
Apache Interface to OpenSSL (mod_ssl)  www.engelschall.com/sw/mod_ssl/
Official Support Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Apache wouldn't start with -DSSL

1999-03-28 Thread Rauznitz Balazs


Hello,

I just compiled the new Apache, but have strange problems when starting
with -DSSL. It wouldn't give any error, only:

/napache/apache/bin/apachectl startssl: httpd could not be started

I'm setting LogLevel and LogSSLLevel to Debug, but still get no info in
the error_log file and only this in the ssl_engine_log:

[28/Mar/1999 10:28:30] [info]  Server: Apache/1.3.6, Interface:
mod_ssl/2.2.6, Library: OpenSSL/0.9.2b
[28/Mar/1999 10:28:30] [info]  Init: 1st startup round (still not
detached)
[28/Mar/1999 10:28:30] [info]  Init: Initializing OpenSSL library
[28/Mar/1999 10:28:30] [info]  Init: Loading certificate  private key
of SSL-aware server localhost.localdomain:8443

When I start without -DSSL, then everything's fine...
When I built the httpd I got no errors and did all "make test"-s and
they also succeded.
I have Linux 2.0.x ; gcc 2.7.2.3

I have a feeling that, I'm missing something; what is that ?

Thankx,

Balazs
_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

__
Apache Interface to OpenSSL (mod_ssl)  www.engelschall.com/sw/mod_ssl/
Official Support Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



RE: Apache wouldn't start with -DSSL

1999-03-28 Thread Juergen Rensen

I noticed that, with SSLeay 0.9.0b, apache would not start with -DSSL if 
you specify an invalid path name for SSL log files. As in your case, no 
error message goes into the logs.

Juergen

-Original Message-
From:   Rauznitz Balazs [SMTP:[EMAIL PROTECTED]]
Sent:   Monday, March 29, 1999 11:17 AM
To: [EMAIL PROTECTED]
Subject:Re: Apache wouldn't start with -DSSL



--- "Ralf S. Engelschall" [EMAIL PROTECTED] wrote:
 On Sun, Mar 28, 1999, Rauznitz Balazs wrote:

  I just compiled the new Apache, but have strange problems when
 starting
  with -DSSL. It wouldn't give any error, only:
 
  /napache/apache/bin/apachectl startssl: httpd could not be started

__
Apache Interface to OpenSSL (mod_ssl)  www.engelschall.com/sw/mod_ssl/
Official Support Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]