On 17/07/2014 16:00, Zdeněk Zámečník wrote:
Hi Zdenek,
I have following issue with Knot: when I try to stop
it by command
/etc/init.d/knot stop then the daemon is still running. If i run command
knotc stop then it's stopped but immediately run again. If I kill it by
command kill, it's the same...
As I found the /etc/init.d/knot is not working at all and Knot is
probably run during boot by /etc/init/knot.conf and I'm not able to
control it. The "unkillable" proccess is named /usr/sbin/knotd -c
/etc/knot/knot.conf
Looks like Knot is being run by upstart. In this case, killing Knot with
"kill" or "knotc stop" will cause it to be restarted by upstart,
because
upstart's job is to keep services running. You will have to stop it by
running "stop knot" or "initctl stop knot" (they are equivalent).
Regards,
Anand Buddhdev
RIPE NCC