Hi,

New to Nagios...

Got everything pretty much running, except when I try to modify things using
the web interface, I get this 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.


This is clearly a permission issue as when I manually change the permissions
of the /rw/nagios.cmd to 777 for example, it works fine.  When the service
is restarted and the pipe is recreated though, the permissions are re-set.

I am running the nginx web server, not apache.

SELinux is disabled.

The rw directory has 777 permissions and is owned by the nagios user and
group.

The Nginx server runs under a different user / group and this could be the
issue.  However, I tried to set up the rw directory with that user and group
and still no luck.

Help?
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to