Apache server imap.so ssl_once_only_init error

David Southwell david at vizion2000.net
Wed Oct 7 15:58:45 UTC 2009


> 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 == TRUE !?)
> >> [Wed Oct 07 16:03:18 2009] [warn] RSA server certificate is a CA
> >> certificate
> >> (BasicConstraints: CA == 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,
> 
> I would guess that the imap.so symbol issue is what is causing Apache to
> die...
> 
> The certificate-related messages are warnings and should not make it fatal.
> 
> Markiyan.
> 

I am pretty sure that is the case. The imap  issue was around before I created 
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 
"ssl_onceonlyinit"
[Wed Oct 07 13:58:39 2009] [warn] Init: Session Cache is not configured [hint: 
SSLSessionCache]
[Wed Oct 07 13:58:40 2009] [warn] module php5_module is already loaded, 
skipping
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
"ssl_onceonlyinit"
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
"ssl_onceonlyinit"
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
"ssl_onceonlyinit"
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
"ssl_onceonlyinit"
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
"ssl_onceonlyinit"
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
"ssl_onceonlyinit"
[Wed Oct 07 14:24:01 2009] [warn] Init: Session Cache is not configured [hint: 
SSLSessionCache]
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
"ssl_onceonlyinit"
[Wed Oct 07 14:28:32 2009] [warn] Init: Session Cache is not configured [hint: 
SSLSessionCache]
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
"ssl_onceonlyinit"
Checked
[Wed Oct 07 14:29:12 2009] [warn] Init: Session Cache is not configured [hint: 
SSLSessionCache]
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
"ssl_onceonlyinit"
[Wed Oct 07 15:54:47 2009] [warn] Init: Session Cache is not configured [hint: 
SSLSessionCache]
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
"ssl_onceonlyinit"
[Wed Oct 07 16:03:17 2009] [warn] RSA server certificate is a CA certificate 
(BasicConstraints: CA == TRUE !?)
[Wed Oct 07 16:03:18 2009] [warn] RSA server certificate is a CA certificate 
(BasicConstraints: CA == TRUE !?)
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol 
"ssl_onceonlyinit"


From this you can see the Session Cache not figured problem went away after I 
created the certs but I am stioll left with the imap.so proble. which seems to 
be the cause of the fatal failure.

Dpoes anyone know how to fix that?

David


More information about the freebsd-questions mailing list