Command file permisions error
-
- Posts: 2
- Joined: Mon Mar 07, 2011 1:27 pm
Command file permisions error
I am new to nagios and linux and am haveing trouble. When i try and perfrom and tasks like force a service check or acknowledge a problem i get an error that reads "Error: could not open command file '/var/nagios/rw/nagios.cmd' for update
Re: Command file permisions error
I had the same issue. I added the apache user to the nagios group and it worked fine after that.
sudo usermod -a -G nagios apache
sudo usermod -a -G nagios apache