Hi Brian,<br><br>On my system the /usr/local/nagios/var/rw directory has permissions drwxrwsr-x. This is the only difference I can see between my system and yours.<br><br>Regards,<br>Guy.<br><br><div class="gmail_quote">On 14 July 2010 12:50, Brian O'Mahony <span dir="ltr"><<a href="mailto:brian.omahony@curamsoftware.com">brian.omahony@curamsoftware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">








<div link="blue" vlink="purple" lang="EN-US">

<div>

<p class="MsoNormal"><span style="font-size: 12pt; font-family: "Times New Roman","serif";">Error:
Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!</span></p>

<p class="MsoNormal"><span style="font-size: 12pt; font-family: "Times New Roman","serif";">The
permissions on the external command file and/or directory may be incorrect.
Read the FAQs on how to setup proper permissions. </span></p>

<p class="MsoNormal"><span style="font-size: 12pt; font-family: "Times New Roman","serif";">An
error occurred while attempting to commit your command for processing.</span></p>

<p class="MsoNormal"><span style="font-size: 12pt; font-family: "Times New Roman","serif";"> </span></p>

<p class="MsoNormal"><span style="font-size: 12pt; font-family: "Times New Roman","serif";">I
did however recently do a restore of the machine (I restored an old copy of the
VM and then copied over the backup data).</span></p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">When I change the permissions, next time I click commit, it
goes back to being un-openable:</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">[root@nagios servers]# ls -al /usr/local/nagios/var/r*</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">/usr/local/nagios/var/rw:</p>

<p class="MsoNormal">total 2</p>

<p class="MsoNormal">drwxr-xr-x 2 nagios nagcmd 1024 Jul 14 12:40 .</p>

<p class="MsoNormal">drwxrwxrwx 6 nagios nagios 1024 Jul 14 12:42 ..</p>

<p class="MsoNormal">prw-rw---- 1 nagios nagios    0 Jul 14 12:40 nagios.cmd</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">B</p>

</div>

<pre style="white-space: normal;"><br><br>The information in this email is confidential and may be legally privileged.<br>It is intended solely for the addressee. Access to this email by anyone else<br>is unauthorized. If you are not the intended recipient, any disclosure,<br>
copying, distribution or any action taken or omitted to be taken in reliance<br>on it, is prohibited and may be unlawful. If you are not the intended<br>addressee please contact the sender and dispose of this e-mail. Thank you.<br>
</pre></div>


<br>------------------------------------------------------------------------------<br>
This SF.net email is sponsored by Sprint<br>
What will you do first with EVO, the first 4G phone?<br>
Visit <a href="http://sprint.com/first" target="_blank">sprint.com/first</a> -- <a href="http://p.sf.net/sfu/sprint-com-first" target="_blank">http://p.sf.net/sfu/sprint-com-first</a><br>_______________________________________________<br>

Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>