http://qa.mandrakesoft.com/show_bug.cgi?id=4479
[EMAIL PROTECTED] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
------- Additional Comments From [EMAIL PROTECTED] 2003-04-08 19:44 -------
Do you think this will fix it?
--- nagios.init 2003-03-08 17:47:32.000000000 +0100
+++ nagios.init.oden 2003-08-04 18:18:45.000000000 +0200
@@ -21,6 +21,10 @@
[ -f /usr/sbin/nagios ] || exit 0
+# fix #4479
+nagios_cmd=`grep "command_file" /etc/nagios/nagios.cfg|cut -d= -f2`
+[ -f $nagios_cmd ] || rm -f $nagios_cmd
+
# See how we were called.
case "$1" in
start)
--
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: ASSIGNED
creation_date:
description:
nagios sometimes leaves behind a /var/spool/nagios/nagios.cmd file which
prevents nagios from getting restarted via the script. The shutdown script
should remove the nagios.cmd file, and the start up script may remove it if
there are no nagios processes running.