Hi!

On Tue, Feb 17, 2015 at 7:38 PM, Rob Crittenden <rcrit...@redhat.com> wrote:

> > Now I only wish we could resolve what's causing the dirsrv process to
> > hang (wrote about that in another message last Sunday) about 10 minutes
> > after IPA services were started.
>
> Evidence suggests that the last upgrade failed so I'd start there. It is
> possible some plugins aren't configured properly, for example.
>
>
Looking at 'yum history' I performed an update after the problems had
started an hour or two before.

According to /var/log/ipaupgrade.log everything before ipa-ldap-updater ran
smoothly. But when it got to 'service dirsrv stop', it took 562 seconds to
shutdown dirsrv for EXAMPLE-COM and restarting dirsrv afterwards failed
with:

2015-02-15T12:29:58Z DEBUG   [4/8]: starting directory server
2015-02-15T12:30:09Z DEBUG args=/sbin/service dirsrv start
2015-02-15T12:30:09Z DEBUG stdout=Starting dirsrv:
    PKI-IPA... already running[  OK  ]^M
    PVNET-CC...[FAILED]^M
  *** Error: 1 instance(s) failed to start

2015-02-15T12:30:09Z DEBUG stderr=[15/Feb/2015:14:29:58 +0200] -
Information: Non-Secure Port Disabled

2015-02-15T12:30:09Z INFO   File
"/usr/lib/python2.6/site-packages/ipapython/admintool.py", line 152, in
execute
    return_value = self.run()
  File
"/usr/lib/python2.6/site-packages/ipaserver/install/ipa_ldap_updater.py",
line 139, in run
    upgrade.create_instance()
  File
"/usr/lib/python2.6/site-packages/ipaserver/install/upgradeinstance.py",
line 84, in create_instance
    show_service_name=False)
  File "/usr/lib/python2.6/site-packages/ipaserver/install/service.py",
line 358, in start_creation
    method()
  File
"/usr/lib/python2.6/site-packages/ipaserver/install/upgradeinstance.py",
line 67, in __start_nowait
    super(IPAUpgrade, self).start(wait=False)
  File "/usr/lib/python2.6/site-packages/ipaserver/install/service.py",
line 265, in start
    self.service.start(instance_name, capture_output=capture_output,
wait=wait)
  File "/usr/lib/python2.6/site-packages/ipapython/platform/redhat.py",
line 80, in start
    ipautil.run(["/sbin/service", self.service_name, "start",
instance_name], capture_output=capture_output)
  File "/usr/lib/python2.6/site-packages/ipapython/ipautil.py", line 316,
in run
    raise CalledProcessError(p.returncode, args)

2015-02-15T12:30:09Z INFO The ipa-ldap-updater command failed, exception:
CalledProcessError: Command '/sbin/service dirsrv start ' returned non-zero
exit status 1
2015-02-15T12:30:09Z ERROR Unexpected error - see /var/log/ipaupgrade.log
for details:
CalledProcessError: Command '/sbin/service dirsrv start ' returned non-zero
exit status 1

Best regards,
Thomas
-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go To http://freeipa.org for more info on the project

Reply via email to