Hello,<br><br> I'm running nagios 3.2 under centos 5.9 and I notice if I try to issue any command such as rescheduling a check I see the message:<br><br> <br clear="all"><div class="errorMessage">"Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!<br>
<br></div>
<div class="errorDescription">The permissions on the external 
command file and/or directory may be incorrect.  Read the FAQs on how to
 setup proper permissions.<br><br></div>
<div class="errorMessage">An error occurred while attempting to commit your command for processing.<br><br>
Return from whence you came"<br><br>These are the permissions and ownership on this file:<br><br>prw-rw---- 1 nagios nagios 0 Mar 16 08:01 /usr/local/nagios/var/rw/nagios.cmd<br><br>Since this file gets recreated I tried applying the following commands:<br>
<br>[root@cloud:~] #chown nagios.nagios /usr/local/nagios/var/rw<br>[root@cloud:~] #chmod g+rwx /usr/local/nagios/var/rw<br>[root@cloud:~] #chmod g+s /usr/local/nagios/var/rw<br><br>This seems to have no effect. I notice if I try to reschedule the command again I get the same error message telling me to 'return from whence I came'. <br>
<br>The only thing I can do to make this temporarily work from the interface is to change mode on that command file to world which is obviously not what you want to do.<br><br>Can someone please point me in the right direction here as to where I may be going wrong?<br>
<br>Thanks!<br>Tim<br><br><br><br></div><br>-- <br>GPG me!!<br><br>gpg --keyserver <a href="http://pool.sks-keyservers.net" target="_blank">pool.sks-keyservers.net</a> --recv-keys F186197B<br><br>