How to recover Ldap Database crash

Published by blogger on

There have been times when the LDAP database would crash and you would see errors like this while starting up the 389-ds service. There is nothing to worry and it’s easily recoverable.

 

Change the directory to the location of your 389-ds data dir. Typically it resides in/var/lib/dirsrv/slapd-<system short name>/db

Repair the database.

you can also add switched to DB repair service as follows.

 

 

 

Categories: Linux