nagios restart from process info page not working
Posted: Fri Aug 05, 2016 8:30 am
when clicking process info->restart the nagios process->commit
i get the following error :
Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!
The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions.
An error occurred while attempting to commit your command for processing.
Return from whence you came
-------------------
/usr/local/nagios/var/rw# ls -l
total 0
srw-rw---- 1 nagios nagcmd 0 Aug 5 08:59 nagios.cmd
srw-rw---- 1 nagios nagcmd 0 Aug 5 08:59 nagios.qh
drwxr-xr-x 10 root root 4096 Oct 4 2015 /usr
drwxrwsr-x 20 root root 4096 Mar 19 16:08 /usr/local
drwxr-sr-x 9 root root 4096 Feb 29 18:01 /usr/local/nagios
drwxrwsr-x 8 nagios nagios 4096 Aug 5 09:25 /usr/local/nagios/var
drwxrwsr-x 2 nagios nagcmd 4096 Aug 5 08:59 /usr/local/nagios/var/rw
i didn't c anything in the faq related to this. i suppose there's are other faq's.
any hints would be appreciated.
i'm running nagios 4.1.1 on debian 8 (jessie)
"service nagios restart" works just fine.
tnx,
ams
i get the following error :
Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!
The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions.
An error occurred while attempting to commit your command for processing.
Return from whence you came
-------------------
/usr/local/nagios/var/rw# ls -l
total 0
srw-rw---- 1 nagios nagcmd 0 Aug 5 08:59 nagios.cmd
srw-rw---- 1 nagios nagcmd 0 Aug 5 08:59 nagios.qh
drwxr-xr-x 10 root root 4096 Oct 4 2015 /usr
drwxrwsr-x 20 root root 4096 Mar 19 16:08 /usr/local
drwxr-sr-x 9 root root 4096 Feb 29 18:01 /usr/local/nagios
drwxrwsr-x 8 nagios nagios 4096 Aug 5 09:25 /usr/local/nagios/var
drwxrwsr-x 2 nagios nagcmd 4096 Aug 5 08:59 /usr/local/nagios/var/rw
i didn't c anything in the faq related to this. i suppose there's are other faq's.
any hints would be appreciated.
i'm running nagios 4.1.1 on debian 8 (jessie)
"service nagios restart" works just fine.
tnx,
ams