[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#3677) graceful slapd shutdown by itself




--On Friday, April 22, 2005 4:51 PM -0700 "Kurt D. Zeilenga" 
<Kurt@OpenLDAP.org> wrote:

> At 11:01 AM 4/22/2005, quanah@stanford.edu wrote:
>> Full_Name: Quanah Gibson-mount
>> Version: 2.2.24
>> OS: Solaris 8
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (171.66.182.82)
>>
>>
>> This morning, slapd was so kind as to cleanly shut itself down, on a
>> system that no one had logged into in over a week.
>
> Why do you think this is due to a bug in OpenLDAP Software?
> Seems far more likely that something told slapd(8) to
> shutdown.

There's only one thing that tells slapd to shut down, and that is a cronjob 
that runs at around 6:30 a.m. in the morning.  That job ran just fine:

Apr 22 06:22:20 ldap3.Stanford.EDU slapd[21831]: [ID 362707 local4.debug] 
conn=418315 op=5 SEARCH RESULT tag=101 err=0 nentries=0 text=
Apr 22 06:22:20 ldap3.Stanford.EDU slapd[21831]: [ID 338319 local4.debug] 
conn=418315 op=6 UNBIND
Apr 22 06:22:20 ldap3.Stanford.EDU slapd[21831]: [ID 952275 local4.debug] 
conn=418315 fd=56 closed
Apr 22 06:22:20 ldap3.Stanford.EDU slapd[21831]: [ID 952275 local4.debug] 
conn=418313 fd=14 closed
Apr 22 06:22:20 ldap3.Stanford.EDU slapd[21831]: [ID 952275 local4.debug] 
conn=418309 fd=16 closed
Apr 22 06:22:20 ldap3.Stanford.EDU slapd[21831]: [ID 952275 local4.debug] 
conn=418314 fd=53 closed
Apr 22 06:22:20 ldap3.Stanford.EDU slapd[21831]: [ID 542995 local4.debug] 
slapd shutdown: waiting for 0 threads to terminate
Apr 22 06:23:29 ldap3.Stanford.EDU slapd[21831]: [ID 486161 local4.debug] 
slapd stopped.
Apr 22 06:23:51 ldap3.Stanford.EDU slapd[9882]: [ID 702911 local4.debug] 
@(#) $OpenLDAP: slapd 2.2.24 (Mar 16 2005 21:41:20) $
Apr 22 06:23:51 ldap3.Stanford.EDU 
quanah@ldap-dev0.Stanford.EDU:/usr/local/build/openldap-2.2.24/servers/slapd
Apr 22 06:23:51 ldap3.Stanford.EDU slapd[9882]: [ID 178880 local4.debug] 
bdb_db_init: Initializing BDB database
Apr 22 06:23:51 ldap3.Stanford.EDU slapd[9883]: [ID 100111 local4.debug] 
slapd starting


There is nothing else that runs on the system that does any sort of 
restarts, which means it was something in slapd that decided to shut down.

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin