[Freeipa-users] Failed to start Directory Service

Rob Crittenden rcritten at redhat.com
Mon May 5 14:51:18 UTC 2014


Dean Hunter wrote:
> [root at ipa <mailto:root at ipa> ~]# systemctl status ipa.service
> ipa.service - Identity, Policy, Audit
>     Loaded: loaded (/usr/lib/systemd/system/ipa.service; enabled)
>     Active: failed (Result: exit-code) since Fri 2014-05-02 09:18:13
> CDT; 31min ago
>    Process: 2468 ExecStart=/usr/sbin/ipactl start (code=exited,
> status=1/FAILURE)
> Main PID: 2468 (code=exited, status=1/FAILURE)
>     CGroup: /system.slice/ipa.service
>
> May 02 09:18:13 ipa.hunter.org ipactl[2468]: Failed to start Directory
> Service:
> May 02 09:18:13 ipa.hunter.org ipactl[2468]: Starting Directory Service
> May 02 09:18:13 ipa.hunter.org systemd[1]: ipa.service: main process
> exited,...E
> May 02 09:18:13 ipa.hunter.org systemd[1]: Failed to start Identity,
> Policy,....
> May 02 09:18:13 ipa.hunter.org systemd[1]: Unit ipa.service entered
> failed s....
> Hint: Some lines were ellipsized, use -l to show in full.
> [root at ipa <mailto:root at ipa> ~]# tail /var/log/dirsrv/slapd-HUNTER-ORG/errors
> [02/May/2014:08:36:49 -0500] - Detected Disorderly Shutdown last time
> Directory Server was running, recovering database.
> [02/May/2014:08:42:57 -0500] - 389-Directory/1.3.2.13 B2014.073.1715
> starting up
> [02/May/2014:08:42:57 -0500] - WARNING: changelog: entry cache size
> 2097152B is less than db size 2236416B; We recommend to increase the
> entry cache size nsslapd-cachememsize.
> [02/May/2014:08:42:57 -0500] - Detected Disorderly Shutdown last time
> Directory Server was running, recovering database.
> [02/May/2014:09:01:36 -0500] - 389-Directory/1.3.2.13 B2014.073.1715
> starting up
> [02/May/2014:09:01:36 -0500] - WARNING: changelog: entry cache size
> 2097152B is less than db size 2236416B; We recommend to increase the
> entry cache size nsslapd-cachememsize.
> [02/May/2014:09:01:36 -0500] - Detected Disorderly Shutdown last time
> Directory Server was running, recovering database.
> [02/May/2014:09:13:12 -0500] - 389-Directory/1.3.2.13 B2014.073.1715
> starting up
> [02/May/2014:09:13:13 -0500] - WARNING: changelog: entry cache size
> 2097152B is less than db size 2236416B; We recommend to increase the
> entry cache size nsslapd-cachememsize.
> [02/May/2014:09:13:13 -0500] - Detected Disorderly Shutdown last time
> Directory Server was running, recovering database.
> [root at ipa <mailto:root at ipa> ~]#
>
> I have a small test database populated with less than 50 ipa commands
> for all users, hosts, etc.  Is there any way to recover from this or
> would it be simpler to rebuild?

It looks to me that 389-ds is crashing. It may be possible to recover, 
I'd start with http://directory.fedoraproject.org/wiki/FAQ#Debugging_Crashes

Let's see if we can get a core and a stack trace to see what's going on.

rob




More information about the Freeipa-users mailing list