<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=WordSection1>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Error:
Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt;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. <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>An
error occurred while attempting to commit your command for processing.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt;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).<o:p></o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>When I change the permissions, next time I click commit, it
goes back to being un-openable:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>[root@nagios servers]# ls -al /usr/local/nagios/var/r*<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>/usr/local/nagios/var/rw:<o:p></o:p></p>
<p class=MsoNormal>total 2<o:p></o:p></p>
<p class=MsoNormal>drwxr-xr-x 2 nagios nagcmd 1024 Jul 14 12:40 .<o:p></o:p></p>
<p class=MsoNormal>drwxrwxrwx 6 nagios nagios 1024 Jul 14 12:42 ..<o:p></o:p></p>
<p class=MsoNormal>prw-rw---- 1 nagios nagios 0 Jul 14 12:40 nagios.cmd<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>B<o:p></o:p></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></body>
</html>