On Mon, Aug 29, 2005 at 09:48:45PM +0200, Wolfgang Kohnen wrote: > > [EMAIL PROTECTED]:~# 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 > [EMAIL PROTECTED]:~# > [EMAIL PROTECTED]:~# 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 > [EMAIL PROTECTED]:~# 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
okay, we may have to hack the init script a bit to find out why it
isn't killing nagios. could you throw in a
cat /var/run/nagios/nagios.pid || true
in your script just before calling start-stop-daemon?
sean
--
signature.asc
Description: Digital signature

