After running "ipa-backup" script IPA service didn't come up.

Solution Verified - Updated -

Issue

  • Scheduled the ipa-backup script made IPA server offline because the IPA services didn't come up after running the scheduled ipa-backup.
  • After running ipa-backup script IPA services didn't come up.
  • ipa-backup script failed with error:
2018-10-01T20:00:20Z DEBUG   File "/usr/lib/python2.7/site-packages/ipapython/admintool.py", line 172, in execute
    return_value = self.run()
  File "/usr/lib/python2.7/site-packages/ipaserver/install/ipa_backup.py", line 321, in run
    self.finalize_backup(options.data_only, options.gpg, options.gpg_keyring)
  File "/usr/lib/python2.7/site-packages/ipaserver/install/ipa_backup.py", line 597, in finalize_backup
    os.mkdir(backup_dir)

2018-10-01T20:00:20Z DEBUG The ipa-backup command failed, exception: OSError: [Errno 2] No such file or directory: '/var/lib/ipa/backup/ipa-full-2018-10-01-23-00-20'
2018-10-01T20:00:20Z ERROR [Errno 2] No such file or directory: '/var/lib/ipa/backup/ipa-full-2018-10-01-23-00-20'
2018-10-01T20:00:20Z ERROR The ipa-backup command failed. See /var/log/ipabackup.log for more information

Environment

  • Red Hat Enterprise Linux 7
  • 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