Hi.

Mads Toftum wrote:
> 
> Try setting SSLLogLevel to debug, and use either strace or gdb
> on the httpd process to see what is happening.

I set the log level to debug for Apache and SSL and I have isolated 
the problem.  We are using two lines in the config to enable our custom 
logging for each site:

PerlRequire lib/perl/OpenLogs.pl
PerlLogHandler Logger

These handlers work fine on the Sun (which is running Apache with mod_ssl 
and serves both regular http and SSL requests) and are identical on both 
machines and rather simple programs, so I don't think the problem is with
the Logger.

However, when I disable the Logger apache reacts allright - serving requests
on both ports.

As mentioned before, when the Logger is enabled, I can serve on or the other
but not both the HTTP and SSL ports.  Is there an interaction between mod_perl,
writting to these log files, and mod_ssl?  Why does it work when only one port
is Listening?

The log files don't have much to say:
error_log:

[Wed Oct  4 19:16:51 2000] [info] mod_ssl:Compat: MAPPED 'SSLDisable' => 'SSLEngine 
off'
[Wed Oct  4 19:16:56 2000] [info] FastCGI: process manager initialized
[Wed Oct  4 19:16:56 2000] [info] FastCGI: server "/export/fcgi-bin/content.fcgi" 
started with pid 14779
[Wed Oct  4 19:16:56 2000] [info] created shared memory segment #10496
[Wed Oct  4 19:16:56 2000] [notice] Apache/1.3.12 (Unix) configured -- resuming normal 
operations

This file is frozen in this state until I kill Apache.


ssl_log:
04/Oct/2000 19:16:43 14766] [info]  Server: Apache/1.3.12, Interface: mod_ssl/2.6.1, 
Library: OpenSSL/0.9.4
[04/Oct/2000 19:16:43 14766] [info]  Init: 1st startup round (still not detached)
[04/Oct/2000 19:16:43 14766] [info]  Init: Initializing OpenSSL library
[04/Oct/2000 19:16:43 14766] [info]  Init: Loading certificate & private key of 
SSL-aware server thecompany.com:8443
[04/Oct/2000 19:16:43 14766] [trace] Init: (thecompany.com:8443) unencrypted RSA 
private key - pass phrase not required
[04/Oct/2000 19:16:43 14766] [info]  Init: Seeding PRNG with 136 bytes of entropy
[04/Oct/2000 19:16:43 14766] [info]  Init: Generating temporary RSA private keys 
(512/1024 bits)
[04/Oct/2000 19:16:44 14766] [info]  Init: Configuring temporary DH parameters 
(512/1024 bits)
[04/Oct/2000 19:16:56 14769] [info]  Init: 2nd startup round (already detached)
[04/Oct/2000 19:16:56 14769] [info]  Init: Reinitializing OpenSSL library
[04/Oct/2000 19:16:56 14769] [trace] Inter-Process Session Cache (DBM) Expiry: old: 0, 
new: 0, removed: 0
[04/Oct/2000 19:16:56 14769] [info]  Init: Seeding PRNG with 136 bytes of entropy
[04/Oct/2000 19:16:56 14769] [info]  Init: Configuring temporary RSA private keys 
(512/1024 bits)
[04/Oct/2000 19:16:56 14769] [info]  Init: Configuring temporary DH parameters 
(512/1024 bits)
[04/Oct/2000 19:16:56 14769] [info]  Init: Initializing (virtual) servers for SSL
[04/Oct/2000 19:16:56 14769] [info]  Init: Configuring server thecompany.com:8443 for 
SSL protocol
[04/Oct/2000 19:16:56 14769] [trace] Init: (thecompany.com:8443) Creating new SSL 
context (protocols: SSLv2, SSLv3, TLSv1)
[04/Oct/2000 19:16:56 14769] [trace] Init: (thecompany.com:8443) Configuring RSA 
server certificate
[04/Oct/2000 19:16:56 14769] [trace] Init: (thecompany.com:8443) Configuring RSA 
server private key

Also stops here.


Thanks for your help.
Pat D.
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to