If you are experiencing LDAP errors or startup without error but no ldap port (389|636) is listening for service and you have tried restarting the LDAP server by running /etc/init.d/ldap restart, then you should try running the following recovery procedure:
1. Stop the LDAP server:
2. Run the daemon manually with debug flag
/usr/sbin/slapd -u ldap -h ldap://127.0.0.1:389/ -d 256
If the database is corrupted, it may stop at database initiation.
Continue reading “Openldap recovery howto”