Error: Could not stat() command file '/usr/local/nagios/var/
Posted: Wed Jan 03, 2018 2:17 am
Hi
i have an issue with nagios.cmd missing ,and as a result i keep getting an error "Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!"
if i stop the service , kill all the nagios processes running and start the service again, the nagios.cmd return to "/usr/local/nagios/var/rw", but after a day or two ,the problem returns and the file is missing again
i encounter this issue before and solved it with fixing the permission on the nagios directories , but it didn't work.
any ideas how to solve it?
thanks
i have an issue with nagios.cmd missing ,and as a result i keep getting an error "Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!"
if i stop the service , kill all the nagios processes running and start the service again, the nagios.cmd return to "/usr/local/nagios/var/rw", but after a day or two ,the problem returns and the file is missing again
i encounter this issue before and solved it with fixing the permission on the nagios directories , but it didn't work.
any ideas how to solve it?
thanks