Search found 5 matches

by paul.tyler1
Tue Jun 17, 2014 7:28 pm
Forum: Open Source Nagios Projects
Topic: Could not stat() command file '/usr/local/nagios/var/
Replies: 13
Views: 38601

Re: Could not stat() command file '/usr/local/nagios/var/

I see now... Sorry, I was confused when I was looking at the permissions. Thank you, that did fix the notifications.
by paul.tyler1
Mon Jun 16, 2014 6:55 pm
Forum: Open Source Nagios Projects
Topic: Could not stat() command file '/usr/local/nagios/var/
Replies: 13
Views: 38601

Re: Could not stat() command file '/usr/local/nagios/var/

[root@i-2743-8087-VM ~]# grep nag /etc/group
nagios:x:500:apache
nagcmd:x:501:nagios
by paul.tyler1
Thu Jun 12, 2014 6:43 pm
Forum: Open Source Nagios Projects
Topic: Could not stat() command file '/usr/local/nagios/var/
Replies: 13
Views: 38601

Re: Could not stat() command file '/usr/local/nagios/var/

I found this blog fixed the same problem (after trying lots of other similar sites). http://linux.101hacks.com/unix/nagios-cmd-file-error/ I assume the group nagcmd already exists, so do the following: usermod -G nagcmd nagios usermod -G nagcmd apache chown nagios:nagcmd /usr/local/nagios/var/rw ch...
by paul.tyler1
Thu Jun 12, 2014 6:33 pm
Forum: Open Source Nagios Projects
Topic: Could not stat() command file '/usr/local/nagios/var/
Replies: 13
Views: 38601

Re: Could not stat() command file '/usr/local/nagios/var/

What are the permissions on nagios.cmd, and the directories it sits in? ls -l /usr/local/nagios/var/rw/nagios.cmd ls -ld /usr/local/nagios/var/rw ls -ld /usr/local/nagios/var ls -ld /usr/local/nagios ls -ld /usr/local Here are the permissions: [root@i-2743-8087-VM local]# ls -ld drwxr-xr-x 14 root ...
by paul.tyler1
Wed Jun 11, 2014 7:48 pm
Forum: Open Source Nagios Projects
Topic: Could not stat() command file '/usr/local/nagios/var/
Replies: 13
Views: 38601

Could not stat() command file '/usr/local/nagios/var/

Hello, I am having the same error as in this post, but following the steps people have posted I am still not able to resolve the error and enable notifications for a service or make notes. Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the ext...