[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Corrupt DB recovery?

At 09:12 AM 2001-10-29, John Dalbec wrote:
>I got the message 'I/O error' from my LDAP client while adding new records to
>the directory; the LDAP server died in short order.  Nothing in the logs.  I
>could restart the server, but as soon as I tried to resume updating it would
>die.  I figure my GDBM files must have become corrupted somehow.
>I ran slapcat to a file, deleted /var/lib/ldap/*.gdbm, started the server, and
>ran ldapadd

Use slapadd to reload the LDIF produced by slapcat.
Use ldapadd to load new LDIF.