automatically re-start LDAP in case of crash
Albrecht Dreß
albrecht.dress at lios-tech.com
Tue Oct 21 12:30:28 CEST 2008
Hi Gunnar:
Am 21.10.2008 11:52:01 schrieb(en) Gunnar Wrobel:
> I guess you could install monit for the task. I think it was part of
> the Kolab server in former times. At least there is an entry in CVS
> for it. I don't know why it was dropped though.
Thanks for that hint!
Maybe I'll write my own script to do that, as Monit looks somewhat
"heavy" for that task. Something like: open a socket connection to
slapd, if it breaks try to re-connect, if that times out, run openpkg
to stop OpenLDAP, issue a db_restore (just to be safe), and again use
openpkg to launch OpenLDAP again. A simple perl script should be
sufficient. What do you think, is that approach correct?
A fix for OpenLDAP would of course be the preferred solution - again
had a crash with the same symptoms tonight. Do you know how I could
get more debugging info out of slapd to track the issue?
Thanks, Albrecht.
More information about the users
mailing list