By the way.. thanks for the hint! That did it. <br><br>Tim<br><br><div class="gmail_quote">On Mon, Mar 18, 2013 at 7:00 PM, Tech Support <span dir="ltr"><<a href="mailto:support@voipbusiness.us" target="_blank">support@voipbusiness.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">What user is Apache running under?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Tim Dunphy [mailto:<a href="mailto:bluethundr@gmail.com" target="_blank">bluethundr@gmail.com</a>] <br>
<b>Sent:</b> Monday, March 18, 2013 6:17 PM<br><b>To:</b> <a href="mailto:nagios-users@lists.sourceforge.net" target="_blank">nagios-users@lists.sourceforge.net</a></span></p><div class="im"><br><b>Subject:</b> [Nagios-users] can't access nagios.cmd from the interface<u></u><u></u></div>
<p></p></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Hello,</p><div><div class="h5"><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"><u></u><u></u></div></div><p></p><div><div class="h5"><div><p class="MsoNormal" style="margin-bottom:12.0pt">"Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!<u></u><u></u></p>
</div><div><p class="MsoNormal" style="margin-bottom:12.0pt">The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions.<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt">
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><u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt"><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<u></u><u></u></p></div></div></div></div><br>------------------------------------------------------------------------------<br>
Everyone hates slow websites. So do we.<br>
Make your web apps faster with AppDynamics<br>
Download AppDynamics Lite for free today:<br>
<a href="http://p.sf.net/sfu/appdyn_d2d_mar" target="_blank">http://p.sf.net/sfu/appdyn_d2d_mar</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><br clear="all"><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>