On Mon, 26 Mar 2012 17:04:23 +0200, stefano stefano.malini@gmail.com wrote:
the situation is worse. now, trying to run an ldapsearch i have the message "can't contact LDAP server". on syslog the last lines are: (...)
Have you done something as root, so root owns some of the database files but you try to run slapd as another user (with -u)? If so, fix the file permsisions and then avoid working as root.
Or did you kill -KILL slapd so it died without being able to clean up? It ought to be able to recover afterwards, but maybe it can't always do that and you need to restore from backup as it says.