Comment 29 for bug 15270

Revision history for this message
In , Eugene Konev (ejka) wrote :

After experimenting with different kinds of slapd database corrution on
2.2.23 I've found out that this behavior is hapenning then db
environment files (/var/lib/ldap/__db.00[1-5]) are missing or severely
corrupted.
ltracing slapd shows that it stucks in dbenv_open, so it's problem in
berkeley db, not slapd itself.
Most times (when logs were not severely corrupted as far as I can say)
it was possible to recover situation by running db4.2_recover. So I'd
also suggest adding call to db4.2_recover somewhere in the init-script.