Derwynd's Weblog

Derwynd's Weblog

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

if you encounter this:

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

try testing your selinux settings

start with:

setenforce 0
this will disable for now

Or else check permissions on file

chown nagios.nagcmd /usr/local/nagios/var/rw
chmod g+rwx /usr/local/nagios/var/rw
chmod g+s /usr/local/nagios/var/rw

Advertisements

August 7, 2012 Posted by | Uncategorized | 2 Comments