How do I recover a corrupted openldap database?

Updated -

To recover from a corrupted openldap database, run the following command:

slapd_db_recover -v -h /var/lib/ldap

This will restore the database. Please ensure that there are good backups made of the system often. It is better to restore rom backup than any other option.

...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content