HP Customer Support
Red Hat Enterprise Linux v5 - openLDAP Server Fails to Start After Upgrade
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 start Checking 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.pid argsfile /var/run/slapd.args
Old values for these entries are shown above. The new values are as such:
pidfile /var/run/openldap/slapd.pid argsfile /var/run/openldap/slapd.args
By correcting these two values for the PID and args files, the server will start correctly.
Ask the community!