How to reliably repair Directory Server database in Identity Management (IPA)?

Solution Verified - Updated -

Issue

  • Directory Server database seems to be corrupted.
[13/Feb/2015:15:14:37 +0300] - libdb: /var/lib/dirsrv/slapd-IPA-EXAMPLE-COM/db/userRoot/id2entry.db4: DB_VERIFY_BAD: Database verification failed
[13/Feb/2015:15:14:37 +0300] DB verify - verify failed(-30972): /var/lib/dirsrv/slapd-IPA-EXAMPLE-COM-SA/db/userRoot/id2entry.db4
  • Forcing a synchronisation between replicas is not sufficient to repair the corrupt database
  #   ipa-replica-manage force-sync --from ipa-replica.example.com

Environment

Red Hat Identity Management (IPA)

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.