[rhelv6-list] LDAPD dies after update - found 'watchdog' Script

Götz Reinicke goetz.reinicke at filmakademie.de
Thu Sep 1 13:58:20 UTC 2011


Am 01.09.11 15:40, schrieb Götz Reinicke:
> Am 01.09.11 15:08, schrieb Prentice Bisbal:
>> On 09/01/2011 08:36 AM, Götz Reinicke wrote:
>>> Hi,
>>>
>>> recently I updated our ldapd on our RH EL 6.1 to the most recent version
>>> openldap-2.4.23-15.el6_1.1.x86_64 (from 2.4.19-15)
>>>
>>> Since than the deamon died twice in the middle of the night, leaving no
>>> traces to me why.
>>>
>>> The 2.4.19-15-version never died ...
>>>
>>
>> I can't offer any advice as to why it died, but if you haven't done so,
>> I recommend creating a 'watchdog' script that checks to make sure
>> 'slapd' is running, and if it isn't, restart it. Run it from cron every
>> couple of minutes and have it e-mail you every time it needs to restart
>> slapd.
>>
>> This will protect your sanity and avoid phone calls in the middle of the
>> night, as well as automatically collect statistics on how often and when
>> it's dying, which may help your correlate it to another event occuring
>> at the same time which is the root cause. If your watchdog script runs
>> frequently enough, users might not even notice it's down.
> 
> Thanks for your suggestion, may be you could give me a hint on how to
> set this up? In the example config, there is a check for an existing
> .pid-file.
> 
> That would not work in my case, as the pid file is still there, but the
> slapd-process died.


Thx, I foud a watchdog-Script which works for me.

	regards. Götz


-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 420
Fax  +49 7141 969 55 420
E-Mail goetz.reinicke at filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats:
Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer:
Prof. Thomas Schadt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5161 bytes
Desc: S/MIME Kryptografische Unterschrift
URL: <http://listman.redhat.com/archives/rhelv6-list/attachments/20110901/348e7b90/attachment.p7s>


More information about the rhelv6-list mailing list