Bug#324138: [Pkg-nagios-devel] Bug#324138: Acknowledgement (nagios-text: daemon doesn't stop at removal)

Wolfgang Kohnen wolfgang.kohnen at lis.bremen.de
Mon Aug 29 19:48:45 UTC 2005


He ho!

sean finney schrieb:

>hi wollie,
>
>sorry for the delay getting back to you, i've been on vacation and
>it doesn't look like anyone else is picking up the slack :/
>  
>

NP, kill is my friend. :-)

>btw: you can purge an already removed package with 'dpkg -P'.
>  
>

Ah, yes... I was searching for it, but didn't find it in my hurry...

>is this also on your other production system?  could you send me
>the following in that case?
>
>- ps -ef | grep nagios
>- sh -x /etc/init.d/nagios stop
>
>  
>

Yes, here we go:

root at enterprise:~# ps -ef | grep nagios
nagios   23397     1  0 Jul30 ?        00:04:00 /usr/sbin/nagios
/etc/nagios/nagios.cfg
root     17166 17151  0 21:50 pts/1    00:00:00 grep nagios
root at enterprise:~#
root at enterprise:~# sh -x /etc/init.d/nagios stop
+ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+ DAEMON=/usr/sbin/nagios
+ NAME=nagios
+ DESC=nagios
+ NICENESS=5
+ NAMEDPIPE=/var/run/nagios/nagios.cmd
+ PIDFILE=/var/run/nagios/nagios.pid
+ CONFIG=/etc/nagios/nagios.cfg
+ test -f /usr/sbin/nagios
+ export LC_NUMERIC
+ LC_NUMERIC=POSIX
+ set -e
+ echo -n 'Stopping nagios: '
Stopping nagios: + start-stop-daemon --stop --quiet --pidfile
/var/run/nagios/nagios.pid --oknodo --exec /usr/sbin/nagios
+ echo nagios.
nagios.
+ rm -f /var/run/nagios/nagios.pid
+ rm -f /var/run/nagios/nagios.cmd
+ exit 0
root at enterprise:~# ps -ef | grep nagios
nagios   23397     1  0 Jul30 ?        00:04:09 /usr/sbin/nagios
/etc/nagios/nagios.cfg
root     17189 17151  0 21:51 pts/1    00:00:00 grep nagios


Seeya,
Wollie




More information about the Pkg-nagios-devel mailing list