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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.