2008
04.21
04.21
if you encounter this little beauty:
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
bringing you a cold cup of coffee….
if you encounter this little beauty:
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
It worked.
Also you might wanna check the .cmd path in cgi.cfg.
It is a nice check but how do you get it working with selinux?
thanks , working
Fantastic – not sure if it was SELINUX=disable did or /etc/sysconfig/selinux and change it to SELINUX=permissive that did the trick.
I am sure I needed to restart the Nagios Box – and it worked.
Its work for me also
Thank you very much guy
BR
Its work for me also
Thank You
Figured that this would solve it, thanks a lot! None of the other blogs mention selinux, only the permissions.
Awesome,
It worked!
thanks, it works for me.
thanks
Oh AND editing SELINUX=disable did not work for me, I had to go into /etc/sysconfig/selinux and change it to SELINUX=permissive
Restart nagios after killing selinux
Tried that. It’s working.
Tried that. didn’t work.