NAGIOS CRITICAL - could not find status log: /var/log/nagios/status.log

Ranga Nathan RNathan at baxglobal.com
Tue Sep 14 19:34:18 CEST 2004


I have Nagios running successfully on one box and I cloned it on another. 
The second box has problems. When Nagios starts up, I see the log like 
below and the CGIs do not show the status info. The status.log file is not 
being created.  I checked permissions, nagios.cfg etc.  and everything 
seems OK. Can someone give me a handle?  I checked the config with the -v 
and it reported only warnings, none of which is related to this. Thanks 
for the help.
....... scrolled off....

+++ /sbin/consoletype
++ '[' en_US = ja_JP.eucJP -a pty '!=' pty ']'
+++ /sbin/consoletype
++ '[' en_US = ko_KR.eucKR -a pty '!=' pty ']'
+++ /sbin/consoletype
++ '[' en_US = zh_CN.GB2312 -a pty '!=' pty ']'
+++ /sbin/consoletype
++ '[' en_US = zh_TW.Big5 -a pty '!=' pty ']'
++ export LANG
++ '[' -z '' ']'
++ '[' -f /etc/sysconfig/init ']'
++ . /etc/sysconfig/init
+++ BOOTUP=color
+++ RES_COL=60
+++ MOVE_TO_COL=echo -en \033[60G
+++ SETCOLOR_SUCCESS=echo -en \033[1;32m
+++ SETCOLOR_FAILURE=echo -en \033[1;31m
+++ SETCOLOR_WARNING=echo -en \033[1;33m
+++ SETCOLOR_NORMAL=echo -en \033[0;39m
+++ LOGLEVEL=3
+++ PROMPT=yes
++ '[' -x /sbin/consoletype ']'
+++ consoletype
++ '[' pty = serial ']'
++ '[' color '!=' verbose ']'
++ INITLOG_ARGS=-q
+ prefix=/usr
+ exec_prefix=/usr
+ NagiosBin=/usr/bin/nagios
+ NagiosCfg=/etc/nagios/nagios.cfg
+ NagiosLog=/var/log/nagios/status.log
+ NagiosTmp=/var/log/nagios/nagios.tmp
+ NagiosSav=/var/log/nagios/status.sav
+ NagiosCmd=/var/log/nagios/rw/nagios.cmd
+ NagiosVar=/var/log/nagios
+ NagiosRun=/var/run/nagios.pid
+ NagiosLckDir=/var/lock/subsys
+ NagiosLckFile=nagios
+ NagiosCGI=/usr/lib/nagios/cgi
+ Nagios=nagios
+ test -f /usr/bin/nagios
+ test -f /etc/nagios/nagios.cfg
+ echo 'Starting network monitor: nagios'
Starting network monitor: nagios
+ su -l nagios -c 'touch /var/log/nagios/nagios.log 
/var/log/nagios/status.sav'
+ rm -f /var/log/nagios/rw/nagios.cmd
+ /usr/bin/nagios -d /etc/nagios/nagios.cfg
+ '[' -d /var/lock/subsys ']'
+ touch /var/lock/subsys/nagios
+ sleep 1
+ status_nagios nagios
+ test '!' -f /var/run/nagios.pid
++ head -n 1 /var/run/nagios.pid
+ NagiosPID=10646
+ test -x /usr/lib/nagios/cgi/daemonchk.cgi
+ /usr/lib/nagios/cgi/daemonchk.cgi -l /var/run/nagios.pid
NAGIOS CRITICAL - could not find status log: /var/log/nagios/status.log
+ return 1
__________________________________________
Ranga Nathan / CSG
Systems Programmer - Specialist; Technical Services; 
BAX Global Inc. Irvine-California
Tel: 714-442-7591   Fax: 714-442-2840
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040914/4536538d/attachment.html>


More information about the Users mailing list