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

RE: slapd shuts down for no reason



We had a similar issue a few months back.  I discovered that it was dying at
about the same time.  Come to find out it was syslog rotation that was doing
it.  Syslog sends a HUP signal to rotate the logs and restart a daemon.  I
had to put a sleep statement in the syslog for slapd.

-----Original Message-----
From: openldap-technical-bounces@OpenLDAP.org
[mailto:openldap-technical-bounces@OpenLDAP.org] On Behalf Of Hallvard
Breien Furuseth
Sent: Monday, March 17, 2014 4:24 AM
To: Christian Kratzer
Cc: GALAMBOS Daniel; openldap-technical@openldap.org
Subject: Re: slapd shuts down for no reason

On Sat, 2014-03-15 at 17:09 +0100, Christian Kratzer wrote:
> The message:
> 
>  	Mar 15 07:06:25 ldap1 slapd[2798]: daemon: shutdown requested and
initiated.
> 
> you are sseing is from slapd receiving a HUP signal, so something must be
sending it.

HUP, INT, TERM or TRAP.  TRAP is for debugging, not sure why that's
included.
Or SIGBREAK if it is defined and HAVE_NT_SERVICE_MANAGER is not.  Looks like
some Windows thing.  Maybe it should only be included if
defined(HAVE_NT_SERVICE_MANAGER).

--
Hallvard


Attachment: smime.p7s
Description: S/MIME cryptographic signature