Hi all,
I've just performed an upgrade on my FreeBSD servers to get them all to
version 13.5 and am now in the process of updating various @ports.
OpenLDAP was upgraded from the 24 version port to the 25 (or version 2.5
in real terms) but for some reason the service does not want to start.
I have checked the "upgrading" information here:
https://openldap.org/doc/admin25/appendix-upgrading.html
and tried to read around the issue, but I can't really understand what
is going on.
This is the output from the ldap.log file:
Jul 8 23:48:03 ldap slapd[1302]: @(#) $OpenLDAP: slapd 2.5.20 (Jul 8
2025 21:55:10) $
@ldap.FQDN:/usr/ports/net/openldap25-server/work/openldap-2.5.20/servers/slapd
Jul 8 23:48:03 ldap slapd[1302]: daemon_init: <null>
Jul 8 23:48:03 ldap slapd[1302]: daemon: SLAP_SOCK_INIT: dtblsize=231210
Jul 8 23:48:03 ldap slapd[1302]: daemon_init: listen on ldap:///
Jul 8 23:48:03 ldap slapd[1302]: daemon_init: 1 listeners to open...
Jul 8 23:48:03 ldap slapd[1302]: daemon: listener initialized ldap:///
Jul 8 23:48:03 ldap slapd[1302]: daemon_init: 1 listeners opened
Jul 8 23:48:03 ldap slapd[1302]: slapd init: initiated server.
Jul 8 23:48:03 ldap slapd[1302]: slap_sasl_init: initialized!
Jul 8 23:48:03 ldap slapd[1302]: mdb_back_initialize: initialize MDB
backend
Jul 8 23:48:03 ldap slapd[1302]: mdb_back_initialize: LMDB 0.9.33: (May
21, 2024)
Jul 8 23:48:03 ldap slapd[1302]: backend_startup_one: starting "cn=config"
Jul 8 23:48:03 ldap slapd[1302]: ldif_read_file: no entry file
"/usr/local/etc/openldap//cn=config.ldif"
Jul 8 23:48:03 ldap slapd[1302]: send_ldap_result: conn=-1 op=0 p=0
Jul 8 23:48:03 ldap slapd[1302]: send_ldap_result: err=32 matched=""
text=""
Jul 8 23:48:03 ldap slapd[1302]: slapd destroy: freeing system resources.
Jul 8 23:48:03 ldap slapd[1302]: slapd stopped.
Jul 8 23:48:03 ldap slapd[1302]: connections_destroy: nothing to destroy.
Has something with the configuration file changed in the meantime, or
based off this line: "ldif_read_file: no entry file
"/usr/local/etc/openldap//cn=config.ldif"" is it something to do with
the slapd.ldif file in the openldap directory?
If need be I can post my slapd.conf file too.... any pointers would be
great or at least if there was somewhere to increase the logging to say
exactly what and where is wrong would be great.
Many thanks.
Kaya