[Date Prev][Date Next]
slapd and cfengine
I'm trying to get cfengine to restart slapd, but somehow it hangs.
I asked Mark Burgess about the problem and it seems to be a problem in
slapd's forking code. Here's the answer from Mark:
>This is a common bug in daemons which fork and do not properly close
>their file descriptors. You can try to set useshell=dumb. That
>might help. Otherwise there is no cure except to fix the daemon
>itself. It is very annoying. Cfengine is waiting for the parent
>to close, but the parent is waiting for input/output from the
>child... If you look, you will see a zombie (defunct) process
>hanging there. If you run cfengine in a shell, interactively
>then it will probably work ok if you hit ENTER when it hangs..
>but that doesn't really help you.
Is there any fixes to this problem ?
Tom Helmer Jensen, System Manager, Computer Science
Roskilde University. Building 42.1, P.O. BOX 260, DK-4000 Denmark
WWW: http://www.dat.ruc.dk/~thelmer E-mail: mailto://firstname.lastname@example.org
Voice: +45 4674 3829 Fax: +45 4674 3072 Private: +45 3876 1506