Strange Problem With Apache 2.2.6 Startup Using mod_ssl.so & OpenSSL0.9.8g
am 29.12.2007 17:58:30 von InDeepHi,
I'm very experienced with Apache, and compiling it with PHP, etc.
I just completed an installation, and very strange behavior.
My Apache 2.2.6 compilation config:
../configure \
--enable-modules=all \
--with-ssl=/usr/local/ssl \
--with-mpm=worker \
--with-included-apr \
--enable-so \
--enable-ssl \
--enable-mods-shared=all
The problem is that when I start Apache I get this error:
~# /usr/local/apache2/bin/apachectl start
httpd: Syntax error on line 86 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/mod_ssl.so
into server: /usr/local/apache2/modules/mod_ssl.so: undefined symbol: EVP_idea_ecb
The error points to mod_ssl, and if I comment-out mod_ssl.so it will start from any directory, as it should.
But if I go to where openssl is built ( not installed ) and start with mod_ssl.so active, voila it works. Apparently
there is something that is not getting installed correctly with SSL but I have no clue! SSL is cryptic, go figure! :-)
~/build/openssl-0.9.8g# /usr/local/apache2/bin/apachectl start
root 12205 1 5 08:42 ? 00:00:00 /usr/local/apache2/bin/httpd -k start
daemon 12206 12205 0 08:42 ? 00:00:00 /usr/local/apache2/bin/httpd -k start
daemon 12207 12205 1 08:42 ? 00:00:00 /usr/local/apache2/bin/httpd -k start
daemon 12209 12205 1 08:42 ? 00:00:00 /usr/local/apache2/bin/httpd -k start
daemon 12211 12205 0 08:42 ? 00:00:00 /usr/local/apache2/bin/httpd -k start
I've tried to figure out if there is some SSL installation that did not complete, but I'm not an SSL expert, so I don't
know where or what to look at. I recently did the exact same install on several other machines about a month ago and
had no problem.
I've configured and installed OpenSSL into /usr/local/ssl to compile PHP5, and did not install it system-wide, to avoid
conflicts with upgrading the system using apt-get. ( System is Ubuntu 7.10 )
My SSL compiled as follows:
../config shared threads zlib
Please advise. I've installed Apache this way numerous times before and never had this happen, so I'm completely baffled.
Thanks in advance!!
-ID-
indeep-at-epic-websites-dot-com