On Mon, Feb 21, 2005 at 08:33:53PM -0500, sean finney wrote: > tags 296365 moreinfo > what version of nagios are you running? if it's at all possible, > could you verify that the latest version of nagios (1.3-cvs.20050116-3) > also has this problem?
Apologies, I hadn't specified we're running Sarge. Which is why we've got 1.3-cvs.20050116-1 > > # /etc/init.d/nagios reload > > Reloading nagios configuration files. > > Not running. > > could you put a "set -x" at the top of the init script so we could > see the path the code goes through? reliant:~# /etc/init.d/nagios reload + 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 + set -e + echo 'Reloading nagios configuration files.' Reloading nagios configuration files. + check_config + /usr/sbin/nagios -v /etc/nagios/nagios.cfg ++ get_config nagios_user +++ grep '^nagios_user' /etc/nagios/nagios.cfg +++ sed '[EMAIL PROTECTED]@ @' ++ set -- nagios_user nagios ++ echo nagios + nagios_user=nagios ++ get_config nagios_group +++ grep '^nagios_group' /etc/nagios/nagios.cfg +++ sed '[EMAIL PROTECTED]@ @' ++ set -- nagios_group nagios ++ echo nagios + nagios_group=nagios ++ get_config log_file +++ grep '^log_file' /etc/nagios/nagios.cfg +++ sed '[EMAIL PROTECTED]@ @' ++ set -- log_file /var/log/nagios/nagios.log ++ echo /var/log/nagios/nagios.log + log_file=/var/log/nagios/nagios.log ++ dirname /var/log/nagios/nagios.log + log_dir=/var/log/nagios + chown -R nagios.nagios /var/log/nagios + return 0 + check_started + '[' -f /etc/nagios/check_nagios_db ']' + '[' -f /usr/lib/nagios/plugins/check_nagios ']' + /usr/lib/nagios/plugins/check_nagios -F /var/log/nagios/status.log -C nagios + return 1 + echo 'Not running.' Not running. + exit 0 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]