Quanah Gibson-Mount wrote:
--On Friday, May 20, 2005 11:04 PM -0500 Jon Roberts <jon@jonanddeb.net> wrote:
You should cd to your openldap directory and run the BDB utility db_recover before restarting slapd. See:
http://www.sleepycat.com/docs/utility/db_recover.html
and what can i do to prevent this.
Several recent threads on this list recommend you add a step to run db_recover in your slapd startup script, because crashes happen.
This only works if he's running OpenLDAP 2.1.x and later. Most all Fedora installations use 2.0.x, unfortunately. So what would be most useful is to know the version of OpenLDAP that is being used, because advice cannot be properly suggested until it is. Even if it is 2.1.x or later, he could still be using the ldbm backend, which also means the db_recover option wouldn't work.
-- -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support