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, 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