ipa-client-install fails with error "IOError: [Errno 2] No such file or directory: '/etc/ipa/nssdb/pwdfile.txt'"

Solution Verified - Updated -

Issue

  • ipa-client-install fails with error:
Enrolled in IPA realm EXAMPLE.COM
Created /etc/ipa/default.conf
Domain example.com is already configured in existing SSSD config, creating a new one.
The old /etc/sssd/sssd.conf is backed up and will be restored during uninstall.
Configured sudoers in /etc/nsswitch.conf
Configured /etc/sssd/sssd.conf
Configured /etc/krb5.conf for IPA realm EXAMPLE.COM
trying https://ipaserver.example.com/ipa/json
Forwarding 'ping' to json server 'https://ipaserver.example.com/ipa/json'
Forwarding 'ca_is_enabled' to json server 'https://ipaserver.example.com/ipa/json'
Traceback (most recent call last):
  File "/sbin/ipa-client-install", line 3098, in <module>
    sys.exit(main())
  File "/sbin/ipa-client-install", line 3079, in main
    rval = install(options, env, fstore, statestore)
  File "/sbin/ipa-client-install", line 2830, in install
    certdb.create_ipa_nssdb()
  File "/usr/lib/python2.7/site-packages/ipapython/certdb.py", line 49, in create_ipa_nssdb
    with open(pwdfile, 'w') as f:
IOError: [Errno 2] No such file or directory: '/etc/ipa/nssdb/pwdfile.txt'

Environment

  • Red Hat Enterprise Linux 7
  • ipa-client

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.