Miscellaneous notes that I may need to use again, may be helpful to others, or someone may want to comment on.

30 July 2006

More OpenLDAP recovery...

I accidentally killed power to my Linux box while I was plugging in a new router. No biggie, except OpenLDAP wouldn't start again at reboot because the database got corrupted. I'm beginning to think that trying to use ldap as an address book just isn't worth it.

7 comments:

Had the same issue, same fix just worked. BDB on OpenLDAP locked up and wouldn't start, so a bdb recover fixed it. Just make sure after you run the bdb recover, you remember to chown the files back to ldap:ldap, or else it still will be busted.

Very cool - had a disk full issue on an ldap instance used for testing ldap stuff (e.g. deleting all users and recreation). filesystem was simply full so he stopped to work. Recover worked after the space issue was solved :)