Hi,
Today one of my LDAP servers stopped working out of the blue and unfortunately it won't start anymore:
And here is the log:
The only thing I've done on this server was updating all ports last night. I even checked /usr/ports/UPDATING for anything I should take care of before the update process.
Despite the fact that I enabled loglevel 256 or 0x100 but it won't go verbose. But I realized when I comment the following lines in my /usr/local/etc/openldap/slapd.conf it starts just fine:
I checked the path and permissions and it was OK. Moreover, I did rebuild both net/openldap24-server and net/openldap24-client without any lock. By the way these are the options used to build OpenLDAP:
And if it helps I do not have OpenSSL from ports installed and just stick the one from base.
I'm going crazy over this. Any ideas folks?
Today one of my LDAP servers stopped working out of the blue and unfortunately it won't start anymore:
service slapd restart
Code:
slapd not running? (check /var/run/openldap/slapd.pid).
Starting slapd.
/usr/local/etc/rc.d/slapd: WARNING: failed to start slapd
Code:
Apr 27 14:01:57 core slapd[41063]: main: TLS init def ctx failed: -1
Apr 27 14:01:57 core slapd[41063]: slapd stopped.
Apr 27 14:01:57 core slapd[41063]: connections_destroy: nothing to destroy.
Despite the fact that I enabled loglevel 256 or 0x100 but it won't go verbose. But I realized when I comment the following lines in my /usr/local/etc/openldap/slapd.conf it starts just fine:
Code:
security ssf=128 # The sever starts still, but should be commented, otherwise cannot authenticate
#TLSCertificateFile /path/to/.crt
#TLSCertificateKeyFile /path/to/.key
#TLSCACertificateFile /path/to/.crt
I checked the path and permissions and it was OK. Moreover, I did rebuild both net/openldap24-server and net/openldap24-client without any lock. By the way these are the options used to build OpenLDAP:
Code:
[X] BDB
[X] DYNAMIC_BACKENDS
[X] MDB
[X] SYNCPROV
I'm going crazy over this. Any ideas folks?