super strange apache + mod_ssl issue
We have a server running Apache 1.3.29 on RH 7. I re-compiled apache w/ all the neccesarymodules: mod_perl 1.29 (seems to work), mod_ssl (latest), openssl installed under /opt/, php
4.3.2 (works fine) and mm 1.1.3. My install script is as follows:
--- apache_install ---
cd mod_ssl-2.8.16-1.3.29
LIBS="-L/opt/db/lib" \
INCLUDES="-I/opt/db/include" \
EAPI_MM="../mm-1.1.3" \
SSL_BASE="../openssl-0.9.7d" \
./configure \
"--with-apache=../apache_1.3.29" \
"--with-ssl=../openssl-0.9.7d" \
"--prefix=/usr" \
"--with-layout=RedHat" \
"--disable-rule=SSL_COMPAT" \
"--enable-rule=SSL_SDBM" \
"--enable-module=all" \
"--enable-module=ssl" \
"--enable-module=rewrite" \
"--activate-module=src/modules/extra/mod_gzip.c" \
"--add-module=src/modules/extra/mod_bandwidth.c" \
"--permute-module=BEGIN:bandwidth" \
"--activate-module=src/modules/perl/libperl.a" \
"--activate-module=src/modules/php4/libphp4.a" \
"--enable-shared=perl" \
"--enable-shared=ssl"
---
compiled everything without a hitch (third-party mods as DSO -- see config above). Make, make
install. Generated a server certificate (/etc/httpd/conf/ssl.crt/server.crt).
Now two things are quite interesting, after starting normally (apachectl start):
1) in httpd_error_log, I only get the following string:
[notice] Apache/1.3.29 (Unix) mod_perl/1.27 configured -- resuming normal operations
Shouldnt there be something like mod_ssl X.XX and OpenSSL X.XX alongside mod_perl to indicate
the module is loaded? If not, how do I go about loading it (It is a DSO)? Is this a httpd.conf
problem?
2) No connections via https possible at all, although in httpd.conf Listen is set to 443 and SSL
directives are in place.
Openssl gives errno=111 =No server present. In "server-info" there is no mod_ssl.c listed. Also ,when trying to start apache w/ apachectl startssl (setting the -DSSL flag, which loads mod_ssl) the server crashes!
Any hints? I am totally stuck here. Compiled at least 20-30 tmies w/ different configurations. Maybe it is a server-related issue and something else (important) is broken, like some libraries...
Thanks for listening,
Patrick