stop nagios2
/etc/nagios2# dpkg-statoverride --update --add nagios www-data 2710 /var/lib/nagios2/rw
/etc/nagios2# dpkg-statoverride --update --add nagios nagios 751 /var/lib/nagios2
start nagios2

Popularity: 100% [?]

Tags:

2 Responses to “Error: Could not stat() command file ‘/var/lib/nagios2/rw/nagios.cmd’!”

  1. Peter says:

    Thanks a lot : it works !

    bye

  2. Matthew says:

    Thanks – you’re a genius!

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">