<html><body bgcolor="#FFFFFF"><div>Have you verified that the user you log in with into the Nagios CGI has permission to execute commands? </div><div><br></div><div>Rutger<br><br>On 3 okt 2010, at 21.25, Robert Wolfe <<a href="mailto:robert.wolfe@robertwolfe.org">robert.wolfe@robertwolfe.org</a>> wrote:<br>
<br></div><div></div><blockquote type="cite"><div><div class="WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Unfortunately, I did the same and am still getting the same error.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><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""> Ilan Berkner [mailto:<a href="mailto:iberkner@gmail.com">iberkner@gmail.com</a>] <br>
<b>Sent:</b> Sunday, October 03, 2010 1:35 PM<br><b>To:</b> Nagios Users List<br><b>Subject:</b> Re: [Nagios-users] nagios.cmd permission issue</span></p><p class="MsoNormal"> </p><p class="MsoNormal">I've reconfigured nagios to run as the same user and group as that of the web server.  Still getting this command file issue.</p>
<div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">Any other suggestions?</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt">Many thanks...</p><div><p class="MsoNormal">
On Sun, Oct 3, 2010 at 1:25 PM, Ilan Berkner <<a href="mailto:iberkner@gmail.com"><a href="mailto:iberkner@gmail.com">iberkner@gmail.com</a></a>> wrote:</p><p class="MsoNormal">Yep, there's no question that's what it is, but I've set it up so that the webserver user is part of the group that owns the rw directory with the sticky bit set, but no luck (yet)</p>
<div><div><p class="MsoNormal" style="margin-bottom:12.0pt"> </p><div><p class="MsoNormal">On Sun, Oct 3, 2010 at 10:37 AM, Marc Powell <<a href="mailto:lists@xodus.org" target="_blank"><a href="mailto:lists@xodus.org">lists@xodus.org</a></a>> wrote:</p>
<div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>On Oct 3, 2010, at 8:48 AM, Ilan Berkner wrote:<br><br>> Did not work, probably b/c I'm restarting the service as root?<br>><br>> Is there a way to tell under which user nagios is trying to access the nagios.cmd file?</p>
</div><p class="MsoNormal">Your web server is trying to write to the pipe so it's whatever user your web server is configured to run as.<br><br>--<br><span style="color:#888888">Marc</span></p><div><div><p class="MsoNormal">
<br><br>------------------------------------------------------------------------------<br>Start uncovering the many advantages of virtual appliances<br>and start using them to simplify application deployment and<br>accelerate your shift to cloud computing.<br>
<a href="http://p.sf.net/sfu/novell-sfdev2dev" target="_blank"><a href="http://p.sf.net/sfu/novell-sfdev2dev">http://p.sf.net/sfu/novell-sfdev2dev</a></a><br>_______________________________________________<br>Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank"><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a></a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank"><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a></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</p></div></div></div><p class="MsoNormal"> </p></div></div>
</div><p class="MsoNormal"> </p></div></div></div></blockquote><blockquote type="cite"><div><span>------------------------------------------------------------------------------</span><br><span>Virtualization is moving to the mainstream and overtaking non-virtualized</span><br>
<span>environment for deploying applications. Does it make network security </span><br><span>easier or more difficult to achieve? Read this whitepaper to separate the </span><br><span>two and get a better understanding.</span><br>
<span><a href="http://p.sf.net/sfu/hp-phase2-d2d">http://p.sf.net/sfu/hp-phase2-d2d</a></span></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Nagios-users mailing list</span><br>
<span><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a></span><br><span><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a></span><br>
<span>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. </span><br><span>::: Messages without supporting info will risk being sent to /dev/null</span></div></blockquote></body></html>