kadmind service on IPA server is failing with an error - kadmind: Cannot open DB2 database '/var/kerberos/krb5kdc/principal': No such file or directory while initializing, aborting

Solution Verified - Updated -

Issue

  • Post IPA upgrade from RHEL 8.7 to RHEL 8.8, kadmind service on IPA server is failing with an error below:
krb5kdc[1234](Error): Cannot open DB2 database '/var/kerberos/krb5kdc/principal': No such file or directory - while initializing database for realm EXAMPLE.COM
  • Red Hat IdM KDC won't restart due to missing principal post upgrade to RHEL 8.8:
krb5kdc[5678]: krb5kdc: cannot initialize realm EXAMPLE.COM

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Identity Management (IPA/IdM)

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