Error: Could not stat() command file '/var/nagios/rw/nagios.
Posted: Wed Sep 20, 2017 10:10 pm
Hello,
After installed and configured Nagios on my lab, I encountered an error as follows:
Error: Could not stat() command file '/var/nagios/rw/nagios.cmd'!
The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands.
An error occurred while attempting to commit your command for processing.
I checked selinux and found selinux is enabled on my lab. After I disabled the selinux, this error does not exist.
Selinux must be enabled on my lab since security request.
I want to know when selinux is enabled, how to resolved this issue?
Looking forward for your reply.
Thanks a lot for your help.
Hui
After installed and configured Nagios on my lab, I encountered an error as follows:
Error: Could not stat() command file '/var/nagios/rw/nagios.cmd'!
The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands.
An error occurred while attempting to commit your command for processing.
I checked selinux and found selinux is enabled on my lab. After I disabled the selinux, this error does not exist.
Selinux must be enabled on my lab since security request.
I want to know when selinux is enabled, how to resolved this issue?
Looking forward for your reply.
Thanks a lot for your help.
Hui