Date: Sat, 16 Jan 2010 11:13:15 +0000 From: Ronny Forberger <ronnyforberger@ronnyforberger.de> To: apache@freebsd.org Subject: Re: www/apache22: Apache 2.2.13 fails start // [error] Unable to initialize TLS servername extension callback (incompatible OpenSSL version?) Message-ID: <4B519F4B.3020604@ronnyforberger.de> In-Reply-To: <4B4A4E00.1080706@p6m7g8.com> References: <4B4A2843.5000300@ronnyforberger.de> <4B4A2F90.9060901@p6m7g8.com> <4B4A370C.8090107@ronnyforberger.de> <4B4A4E00.1080706@p6m7g8.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thanks for the investigation. Sorry for the late reply, my e-mail didn't reach the list. Philip M. Gollucci schrieb: > On 1/10/2010 3:22 PM, Ronny Forberger wrote: >> 1) >> Server version: Apache/2.2.13 (FreeBSD) >> Server built: Jan 8 2010 17:57:39 >> Server's Module Magic Number: 20051115:23 >> Server loaded: APR 1.3.8, APR-Util 1.3.9 >> Compiled using: APR 1.3.8, APR-Util 1.3.9 >> Architecture: 64-bit >> Server MPM: Prefork >> threaded: no >> forked: yes (variable process count) > Only thing that might be an issue here is they are out of date, but the > older versions worked too so lets skip that for now. > >> 2) >> /var/db/pkg/ca_root_nss-3.11.9_2 >> /var/db/pkg/compat6x-amd64-6.4.604000.200810_3 >> /var/db/pkg/gcc-3.4.6_3,1 >> /var/db/pkg/openssl-0.9.8k_5 >> /var/db/pkg/serf-0.3.0 > I don't see devel/apr (did you use the bundled apr?) > >> 3) >> FreeBSD sonne.rf.homeunix.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Fri >> Dec 4 21:26:46 CET 2009 >> root@sonne.rf.homeunix.net:/usr/obj/usr/src/sys/GENERIC amd64 > > No issues here > > >> 4) >> <IfModule mod_ssl.c> >> SSLEngine on > Thats fine. > Do you have the appropriate load module line in httpd.conf ? > > LoadModule ssl_module libexec/apache22/mod_ssl.so > > Yes, the module is configured to be loaded, I think otherwise syntax check would complain about the SSL directives. >> 5) >> /usr/local/sbin/httpd: >> libm.so.5 => /lib/libm.so.5 (0x80069a000) >> libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x8007b9000) >> libaprutil-1.so.3 => /usr/local/lib/libaprutil-1.so.3 (0x8008e6000) >> libdb41.so.1 => /usr/local/lib/libdb41.so.1 (0x800a07000) >> libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x800bbe000) >> libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x800ce1000) >> libapr-1.so.3 => /usr/local/lib/libapr-1.so.3 (0x800edb000) >> libcrypt.so.5 => /lib/libcrypt.so.5 (0x801003000) >> libthr.so.3 => /lib/libthr.so.3 (0x80111c000) >> libc.so.7 => /lib/libc.so.7 (0x801234000) > > Ah ha! The problem! > > You need to rebuild your httpd (www/apache22) and set WITH_SSL=yes > You are not linking against libssl. > > libssl.so.6 => /usr/lib/libssl.so.6 (0x800803000) > > HTH > Thats weird for my system: I had chosen SSL in the 'make config' dialogue, but it did not link against libssl. Now I recompiled www/apache22 with WITH_SSL=yes and it still won't link against any libssl! Any ideas what could be going wrong? Thanks and cheers, Ronny - -- ___________________________________ Ronny Forberger ronnyforberger at ronnyforberger.de PGP public key: http://www.ronnyforberger.de/~rf/wwwroot/pgp/0x71AE1E17.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAktRn0kACgkQC1+bGHGuHhfhBwCgnaAt1to8NM2eExuYOmAZtfkZ A+IAoI7C/QPA5gmAdOvwTjgH931Qhv8e =4Zxr -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B519F4B.3020604>