Hi,<div><br></div><div>New to Nagios...</div><div><br></div><div>Got everything pretty much running, except when I try to modify things using the web interface, I get this error:</div><div><br></div><div><span class="Apple-style-span" style="font-family: arial, serif; font-size: 13px; "><div class="errorMessage" style="font-family: arial, serif; text-align: center; color: red; font-weight: bold; font-size: 12pt; ">
Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!</div><p></p><p></p><div class="errorDescription" style="font-family: arial, serif; text-align: center; font-weight: bold; font-size: 12pt; ">
The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions.</div><p></p><p></p><div class="errorMessage" style="font-family: arial, serif; text-align: center; color: red; font-weight: bold; font-size: 12pt; ">
An error occurred while attempting to commit your command for processing.</div></span></div><div><br></div><div><br></div><div>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.</div>
<div><br></div><div>I am running the nginx web server, not apache.</div><div><br></div><div>SELinux is disabled.</div><div><br></div><div>The rw directory has 777 permissions and is owned by the nagios user and group.</div>
<div><br></div><div>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.</div><div><br></div><div>Help?</div>