Predrag Punosevac write: > Hi misc, > > ldapd on one of my two ldap servers stop working overnight >
ldapd died again overnight. I noticed that this started happening not right after the upgrade to 6.1 but less than 24h after I added a person to my LDAP database. How do I go about debugging a daemon? I am reading http://man.openbsd.org/rc.d and I have used option -d when a daemon fails to start but I really need to catch what happens when ldapd dies and redirect to the log file. Best, Predrag > # uname -a > OpenBSD atlas.int.autonlab.org 6.1 GENERIC.MP#20 amd64 > > I manually restarted it and it appears to work OK. I started digging > little bit through the log files and I see the following in my > /var/log/message file before and after the upgrade. Can somebody help me > understand what I see and point me to some kind reading? Is my database > corrupted for some reason? The LDAP server overall has being working > really well for the past 3.5 years with Red Hat, FreeBSD, and OpenBSD > clients. I have being upgrading this server since the last database > format change (I think OpenBSD 5.3 or 5.4). > > Best, > Predrag