Nagios web interface: Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’!

Nacházíte se: / Linux / Řešení problémů

If you are not able to acknowledge some problem with error message:

Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’!

Just run tihs commands (debian way):

/etc/init.d/nagios3 stop
dpkg-statoverride –-update –-add nagios www-data 2710 /var/lib/nagios3/rw
dpkg-statoverride –-update –-add nagios nagios 751 /var/lib/nagios3
/etc/init.d/nagios3 start