Page 2 of 2

Re: Error: Could not open command file '/usr/local/nagios-4.

Posted: Thu Jul 17, 2014 2:41 pm
by abrist
I presume that you are seeing this error in the web ui?
This was a suggestion from ubuntu's forums:
Fix for Ubuntu Server 12.04 LTS:
We must change the group ownership of the /usr/local/nagios/var/rw/ directory. First stop the Nagios service and then change the group ownership and start Nagios service again:
geekpeeknet@foo1:~$ sudo chown -R nagios:www-data /usr/local/nagios/var/rw/

Re: Error: Could not open command file '/usr/local/nagios-4.

Posted: Mon Jul 21, 2014 2:01 am
by tokiwinter
Thanks - changing the group ownership of /usr/local/nagios/var/rw works!

Re: Error: Could not open command file '/usr/local/nagios-4.

Posted: Mon Jul 21, 2014 9:50 am
by tmcdonald
Great! I'll be closing this thread now, but feel free to open another if you need anything in the future!