IPA server installation is failing with an error "DEBUG kdb5_util failed with Command 'kdb5_util create -s -r EXAMPEL.COM -x ipa-setup-override-restrictions' returned non-zero exit status 1"

Solution Verified - Updated -

Issue

  • ipa-server-install is failing with an error below while initializing kerberos container:
DEBUG kdb5_util failed with Command 'kdb5_util create -s -r EXAMPLE.COM -x ipa-setup-override-restrictions' returned non-zero exit status 1

2020-11-24T09:24:27Z DEBUG stderr=kdb5_util: Included profile directory could not be read while initializing Kerberos code

2020-11-24T09:24:27Z DEBUG kdb5_util failed with Command 'kdb5_util create -s -r EXAMPLE.COM -x ipa-setup-override-restrictions' returned non-zero exit status 1 2020-11-24T09:24:27Z DEBUG Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line 567, in start_creation
    run_step(full_msg, method)
  File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line 557, in run_step
    method()
  File "/usr/lib/python2.7/site-packages/ipaserver/install/krbinstance.py", line 337, in __init_ipa_kdb
    raise RuntimeError("Failed to initialize kerberos container")
RuntimeError: Failed to initialize kerberos container

Environment

  • Red Hat Enterprise Linux 7
  • Identity Management (IPA)
  • Kerberos (krb5)

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