From owner-freebsd-apache@FreeBSD.ORG Sat Jan 16 11:30:07 2010 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86A761065679 for ; Sat, 16 Jan 2010 11:30:07 +0000 (UTC) (envelope-from ronnyforberger@ronnyforberger.de) Received: from wp112.webpack.hosteurope.de (wp112.webpack.hosteurope.de [80.237.132.119]) by mx1.freebsd.org (Postfix) with ESMTP id 254258FC18 for ; Sat, 16 Jan 2010 11:30:06 +0000 (UTC) Received: from hmbg-5f7752b3.pool.mediaways.net ([95.119.82.179] helo=sonne.rf.homeunix.net); authenticated by wp112.webpack.hosteurope.de running ExIM with esmtpa id 1NW6bC-00048o-0v; Sat, 16 Jan 2010 12:13:46 +0100 Received: from localhost (localhost [127.0.0.1]) by localhost.rf.homeunix.net (Postfix) with ESMTP id 713F93A53 for ; Sat, 16 Jan 2010 12:13:44 +0100 (CET) X-Virus-Scanned: amavisd-new at rf.homeunix.net Received: from sonne.rf.homeunix.net ([127.0.0.1]) by localhost (sonne.rf.homeunix.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VFRBW0e9Cqup for ; Sat, 16 Jan 2010 12:13:20 +0100 (CET) Received: from [10.166.44.27] (host-44-27.dhcp.rf.homeunix.net [10.166.44.27]) by sonne.rf.homeunix.net (Postfix) with ESMTPS id 479053A47 for ; Sat, 16 Jan 2010 12:13:18 +0100 (CET) Message-ID: <4B519F4B.3020604@ronnyforberger.de> Date: Sat, 16 Jan 2010 11:13:15 +0000 From: Ronny Forberger Organization: www.ronnyforberger.de User-Agent: Thunderbird 2.0.0.23 (X11/20090920) MIME-Version: 1.0 To: apache@freebsd.org References: <4B4A2843.5000300@ronnyforberger.de> <4B4A2F90.9060901@p6m7g8.com> <4B4A370C.8090107@ronnyforberger.de> <4B4A4E00.1080706@p6m7g8.com> In-Reply-To: <4B4A4E00.1080706@p6m7g8.com> X-Enigmail-Version: 0.95.7 X-bounce-key: webpack.hosteurope.de; ronnyforberger@ronnyforberger.de; 1263641407; 7d10f0b4; Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: www/apache22: Apache 2.2.13 fails start // [error] Unable to initialize TLS servername extension callback (incompatible OpenSSL version?) X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2010 11:30:07 -0000 -----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) >> >> 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-----