[K12OSN] Power outage - ldap stopped working

Mark Cockrell cockrell at honeygroveisd.net
Mon Sep 19 15:04:32 UTC 2005


> Help!!
>
>We had a power outage and the server went down.  Now ldap won't start
>back up.  I am running FC3 (from the k12ltsp4.2.1 disks).  I had the
>system check the disks at startup, and it found and corrected some
>problems.  But ldap still won't go.  Slapcat replies with "Slap_startup
>failed".
>
>Is there a utility for checking/repairing/restoring the ldap database?  
>
>Thanks!!!
>
>Tom
>  
>
This always works for me when that happens.:

# /etc/init.d/ldap stop
# db_recover -eh /var/lib/ldap
# chown ldap:ldap /var/lib/ldap/__*
# /etc/init.d/ldap start

C-ya,
Mark
____
"Why not go out on a limb? That's where the fruit is." -- Mark Twain





More information about the K12OSN mailing list