Hy everyone,
I’ve just finished configuring nagios, and everything was working fine until I changed one config from a host (just config files, never nagios files). And when I applied changes (service nagios3 reload) the web interface to monitor nagios failed.
Whoops!
Error: Could not read host and service status information!
I took a look into log files /var/log/nagios3/nagios.log and I found that:
[1271668706] Nagios 3.0.6 starting… (PID=1325)
[1271668706] Local time is Mon Apr 19 11:18:26 CEST 2010
[1271668706] LOG VERSION: 2.0
[1271668706] Finished daemonizing… (New PID=1344)
[1271668706] Error: Could not create external command file ‘/var/lib/nagios3/rw/nagios.cmd’ as named pipe: (13) -> Permission denied.
If this file already exists and you are sure that another copy of Nagios is not running, you should delete this file.
[1271668706] Bailing out due to errors encountered while trying to initialize the external command file… (PID=1344)
I’ve checked permisions into that folder (owner nagios) and there is no file inside.
Any idea? (nagios version 3.0.6 under ubuntu 9.10 x32).
Thanks in advance,