Command file permisions error

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
dhoneywell
Posts: 2
Joined: Mon Mar 07, 2011 1:27 pm

Command file permisions error

Post by dhoneywell »

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
dacoda
Posts: 1
Joined: Wed Apr 13, 2011 10:38 pm

Re: Command file permisions error

Post by dacoda »

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
Locked