|
OpenLDAP Faq-O-Matic : OpenLDAP Software FAQ : Common Errors :
ldap_*: Internal (implementation specific) error (80) - additional info: entry index delete failed |
This seems to be related with wrong ownership of the BDB's dir (/var/lib/ldap) and files.
chmod -r openldap:openldap /var/lib/ldap fixes it in Debian Etch.
I don't really know how the wrong permission went into place, but I suspect it has something to do with slapd's starting, no database existing (I had deleted it to get a new, fresh one), and slapd creating one before chroot.
|
After a bug report, some insightfull feedback, and some amount of testing, i found out that the 'wrong ownership of new files' problem is not with slapd but with slapadd. This happens when one initially populates the Directory.
|
Oh, and the right switch of chown is '-R', not '-r'.
|
My God! What a mess!
The right command to correct this problem is:
chown -R /var/lib/ldap
|
This can be caused by the creation of a new database that uses the same olcDbDirectory as an existing database (so the first, existing database apparently gets overwritten when OpenLDAP adds the new one).
|
[Append to This Answer] |
pedrorandrade@gmail.com, oribani@gmail.com
|