Jump to content

openLDAP Server Fails to Start After Upgrade

  • PrintPrint


After upgrading or installing openldap-servers-2.3.43-3.el5, the LDAP server fails to start.


Around the time of the release of these versions of the openldap server:
....the default location of the running process information is stored in a new location.
If after installation or update of these packages, you leave the old slapd.conf file which is the configuration file for the LDAP server process slapd, the server may fail to start with the following error:
# service ldap startChecking configuration files for slapd:  unable to open file "/var/run/slapd.pid": 13 (Permission denied) [FAILED]
If this error is diaplayed, check the following entries in the slapd.conf file which is located in /etc/openldap:
pidfile        /var/run/slapd.pidargsfile       /var/run/slapd.args
Old values for these entries are shown above. The new values are as such:
pidfile        /var/run/openldap/slapd.pidargsfile       /var/run/openldap/slapd.args
By correcting these two values for the PID and args files, the server will start correctly.

Related support links

HP Support forums

Find solutions and collaborate with others on the HP Support Forum
HP on YouTube