Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Oct 2009 16:58:28 +0100
From:      David Southwell <david@vizion2000.net>
To:        Markiyan Kushnir <mkushnir@lohika.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Apache server imap.so ssl_once_only_init error
Message-ID:  <200910071658.28543.david@vizion2000.net>
In-Reply-To: <4ACCB534.6070500@lohika.com>
References:  <200910071611.35468.david@vizion2000.net> <E3E6E990-954D-4987-99C9-2177776C1139@mac.com> <4ACCB534.6070500@lohika.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910071658.28543.david>