From owner-freebsd-questions@FreeBSD.ORG Wed Oct 7 15:58:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92CF81065670 for ; Wed, 7 Oct 2009 15:58:45 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (dns1.vizion2000.net [62.49.197.50]) by mx1.freebsd.org (Postfix) with ESMTP id 187098FC18 for ; Wed, 7 Oct 2009 15:58:44 +0000 (UTC) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id B5EB434D419; Wed, 7 Oct 2009 16:58:28 +0100 (BST) From: David Southwell Organization: Voice & Vision To: Markiyan Kushnir Date: Wed, 7 Oct 2009 16:58:28 +0100 User-Agent: KMail/1.12.1 (FreeBSD/7.2-RELEASE-p3; KDE/4.3.1; amd64; ; ) References: <200910071611.35468.david@vizion2000.net> <4ACCB534.6070500@lohika.com> In-Reply-To: <4ACCB534.6070500@lohika.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-Id: <200910071658.28543.david@vizion2000.net> Cc: freebsd-questions@freebsd.org Subject: Re: Apache server imap.so ssl_once_only_init error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2009 15:58:45 -0000 > Chuck Swiger wrote: > > Hi-- > > > > On Oct 7, 2009, at 8:11 AM, David Southwell wrote: > >> [Wed Oct 07 16:03:17 2009] [warn] RSA server certificate is a CA > >> certificate > >> (BasicConstraints: CA =3D=3D TRUE !?) > >> [Wed Oct 07 16:03:18 2009] [warn] RSA server certificate is a CA > >> certificate > >> (BasicConstraints: CA =3D=3D TRUE !?) > >> /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined > >> symbol > >> "ssl_onceonlyinit" > > > > At a guess, you are trying to use self-signed certificates, and you > > generated a CA certificate to sign them, but are trying to use that CA > > cert directly instead of creating a new x.509 keypair, CSR, and signing > > that with your CA cert or have a Verisign, enTrust, openca.org, etc. > > > > Regards, >=20 > I would guess that the imap.so symbol issue is what is causing Apache to > die... >=20 > The certificate-related messages are warnings and should not make it fata= l. >=20 > Markiyan. >=20 I am pretty sure that is the case. The imap issue was around before I crea= ted=20 the certificates. Here is a longer extract from the httpd-error.log /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol= =20 "ssl_onceonlyinit" [Wed Oct 07 13:58:39 2009] [warn] Init: Session Cache is not configured [hi= nt:=20 SSLSessionCache] [Wed Oct 07 13:58:40 2009] [warn] module php5_module is already loaded,=20 skipping /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol= =20 "ssl_onceonlyinit" /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol= =20 "ssl_onceonlyinit" /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol= =20 "ssl_onceonlyinit" /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol= =20 "ssl_onceonlyinit" /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol= =20 "ssl_onceonlyinit" /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol= =20 "ssl_onceonlyinit" [Wed Oct 07 14:24:01 2009] [warn] Init: Session Cache is not configured [hi= nt:=20 SSLSessionCache] /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol= =20 "ssl_onceonlyinit" [Wed Oct 07 14:28:32 2009] [warn] Init: Session Cache is not configured [hi= nt:=20 SSLSessionCache] /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol= =20 "ssl_onceonlyinit" Checked [Wed Oct 07 14:29:12 2009] [warn] Init: Session Cache is not configured [hi= nt:=20 SSLSessionCache] /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol= =20 "ssl_onceonlyinit" [Wed Oct 07 15:54:47 2009] [warn] Init: Session Cache is not configured [hi= nt:=20 SSLSessionCache] /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol= =20 "ssl_onceonlyinit" [Wed Oct 07 16:03:17 2009] [warn] RSA server certificate is a CA certificat= e=20 (BasicConstraints: CA =3D=3D TRUE !?) [Wed Oct 07 16:03:18 2009] [warn] RSA server certificate is a CA certificat= e=20 (BasicConstraints: CA =3D=3D TRUE !?) /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol= =20 "ssl_onceonlyinit" =46rom this you can see the Session Cache not figured problem went away aft= er I=20 created the certs but I am stioll left with the imap.so proble. which seems= to=20 be the cause of the fatal failure. Dpoes anyone know how to fix that? David