IPA Users, I'm not sure when the last time this service was running/working, any ideas are appreciated.
IPA Version: ipa-server-4.4.0-14.el7.centos.7.x86_64
ipa-server-upgrade Upgrading IPA: [1/8]: saving configuration [2/8]: disabling listeners [3/8]: enabling DS global lock [4/8]: starting directory server [error] CalledProcessError: Command '/bin/systemctl start dirsrv@IPA-EXAMPLE-COM.service' returned non-zero exit status 1 [cleanup]: stopping directory server [cleanup]: restoring configuration IPA server upgrade failed: Inspect /var/log/ipaupgrade.log and run command ipa-server-upgrade manually. Unexpected error - see /var/log/ipaupgrade.log for details: CalledProcessError: Command '/bin/systemctl start dirsrv@IPA-EXAMPLE-COM.service' returned non-zero exit status 1 The ipa-server-upgrade command failed. See /var/log/ipaupgrade.log for more information
#tail -n 100 /var/log/ipaupgrade.log
2017-07-14T16:03:53Z DEBUG stderr=Job for dirsrv@IPA-EXAMPLE-COM.service failed because a fatal signal was delivered to the control process. See "systemctl status dirsrv@IPA-EXAMPLE-COM.service" and "journalctl -xe" for details.
2017-07-14T16:03:53Z DEBUG Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line 449, in start_creation run_step(full_msg, method) File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line 439, in run_step method() File "/usr/lib/python2.7/site-packages/ipaserver/install/upgradeinstance.py", line 94, in __start services.service(self.service_name).start(self.serverid, ldapi=True) File "/usr/lib/python2.7/site-packages/ipaplatform/redhat/services.py", line 157, in start instance_name, capture_output=capture_output, wait=wait) File "/usr/lib/python2.7/site-packages/ipaplatform/base/services.py", line 285, in start skip_output=not capture_output) File "/usr/lib/python2.7/site-packages/ipapython/ipautil.py", line 494, in run raise CalledProcessError(p.returncode, arg_string, str(output)) CalledProcessError: Command '/bin/systemctl start dirsrv@IPA-EXAMPLE-COM.service' returned non-zero exit status 1
2017-07-14T16:03:53Z DEBUG [error] CalledProcessError: Command '/bin/systemctl start dirsrv@IPA-EXAMPLE-COM.service' returned non-zero exit status 1 2017-07-14T16:03:53Z DEBUG [cleanup]: stopping directory server 2017-07-14T16:03:53Z DEBUG Starting external process 2017-07-14T16:03:53Z DEBUG args=/bin/systemctl stop dirsrv@IPA-EXAMPLE-COM.service 2017-07-14T16:03:53Z DEBUG Process finished, return code=0 2017-07-14T16:03:53Z DEBUG stdout= 2017-07-14T16:03:53Z DEBUG stderr= 2017-07-14T16:03:53Z DEBUG duration: 0 seconds 2017-07-14T16:03:53Z DEBUG [cleanup]: restoring configuration 2017-07-14T16:03:53Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state' 2017-07-14T16:03:53Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state' 2017-07-14T16:03:53Z DEBUG Saving StateFile to '/var/lib/ipa/sysrestore/sysrestore.state' 2017-07-14T16:03:53Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state' 2017-07-14T16:03:53Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state' 2017-07-14T16:03:53Z DEBUG Saving StateFile to '/var/lib/ipa/sysrestore/sysrestore.state' 2017-07-14T16:03:53Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state' 2017-07-14T16:03:53Z DEBUG duration: 0 seconds 2017-07-14T16:03:53Z ERROR IPA server upgrade failed: Inspect /var/log/ipaupgrade.log and run command ipa-server-upgrade manually. 2017-07-14T16:03:53Z DEBUG File "/usr/lib/python2.7/site-packages/ipapython/admintool.py", line 171, in execute return_value = self.run() File "/usr/lib/python2.7/site-packages/ipaserver/install/ipa_server_upgrade.py", line 46, in run server.upgrade() File "/usr/lib/python2.7/site-packages/ipaserver/install/server/upgrade.py", line 1846, in upgrade data_upgrade.create_instance() File "/usr/lib/python2.7/site-packages/ipaserver/install/upgradeinstance.py", line 119, in create_instance show_service_name=False) File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line 449, in start_creation run_step(full_msg, method) File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line 439, in run_step method() File "/usr/lib/python2.7/site-packages/ipaserver/install/upgradeinstance.py", line 94, in __start services.service(self.service_name).start(self.serverid, ldapi=True) File "/usr/lib/python2.7/site-packages/ipaplatform/redhat/services.py", line 157, in start instance_name, capture_output=capture_output, wait=wait) File "/usr/lib/python2.7/site-packages/ipaplatform/base/services.py", line 285, in start skip_output=not capture_output) File "/usr/lib/python2.7/site-packages/ipapython/ipautil.py", line 494, in run raise CalledProcessError(p.returncode, arg_string, str(output))
2017-07-14T16:03:53Z DEBUG The ipa-server-upgrade command failed, exception: CalledProcessError: Command '/bin/systemctl start dirsrv@IPA-EXAMPLE-COM.service' returned non-zero exit status 1 2017-07-14T16:03:53Z ERROR Unexpected error - see /var/log/ipaupgrade.log for details: CalledProcessError: Command '/bin/systemctl start dirsrv@IPA-EXAMPLE-COM.service' returned non-zero exit status 1 2017-07-14T16:03:53Z ERROR The ipa-server-upgrade command failed. See /var/log/ipaupgrade.log for more information
Thank You, -Jake
from Journal, maybe it's kerberos issues
Jul 14 12:11:28 server02.ipa.example.com named-pkcs11[1041]: Failed to get initial credentials (TGT) using principal 'DNS/server02.ipa.example.com' and keytab 'FILE:/etc/named.keytab' (Cannot contact any KDC for realm 'IPA.EXAMPLE.COM')
Jul 14 12:11:05 server02.ipa.example.com systemd[1]: Starting 389 Directory Server IPA-EXAMPLE-COM.... -- Subject: Unit dirsrv@IPA-EXAMPLE-COM.service has begun start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
freeipa-users@lists.fedorahosted.org