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.
Regards
--
Götz Reinicke
IT-Koordinator
Tel. +49 7141 969 420
Fax +49 7141 969 55 420
E-Mail [email protected]
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
smime.p7s
Description: S/MIME Kryptografische Unterschrift
_______________________________________________ rhelv6-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv6-list
