<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
No question about this being a permissions issue...  I set the
/usr/local/nagios/var/rw directory to 777 and it works fine...
Obviously i don't want to have to do that.  So for some reason httpd
either isn't executing the cgi script as nobody... or the nagiocmd
group that has nobody in it isn't working right...<br>
<br>
/John<br>
<br>
John McGowan wrote:
<blockquote cite="mid426FE04C.3020807@lynch2.com" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <br>
  <br>
John McGowan wrote:
  <blockquote cite="mid426FDE2B.9060608@lynch2.com" type="cite">
    <meta content="text/html;charset=ISO-8859-1"
 http-equiv="Content-Type">
    <br>
    <br>
Marc Powell wrote:
    <blockquote
 cite="midA7B0A9F02975A74A845FE85D0B95B8FA6A0B57@misex01.ena.com"
 type="cite">
      <pre wrap="">  </pre>
      <blockquote type="cite">
        <pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated"
 href="mailto:nagios-users-admin@lists.sourceforge.net">nagios-users-admin@lists.sourceforge.net</a> [<a
 class="moz-txt-link-freetext" href="mailto:nagios-users">mailto:nagios-users</a>-
<a class="moz-txt-link-abbreviated"
 href="mailto:admin@lists.sourceforge.net">admin@lists.sourceforge.net</a>] On Behalf Of John McGowan
Sent: Wednesday, April 27, 2005 11:57 AM
To: <a class="moz-txt-link-abbreviated"
 href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a>
Subject: Re: [Nagios-users] External Commands not working

    </pre>
      </blockquote>
      <pre wrap=""><!---->
[snip]
  </pre>
    </blockquote>
The error I'm seeing  is in the browser...<br>
    <blockquote
 cite="midA7B0A9F02975A74A845FE85D0B95B8FA6A0B57@misex01.ena.com"
 type="cite">
      <pre wrap="">Everything else looks fine with the exception of the possible need for a hard restart of apache.
  </pre>
    </blockquote>
That's a shame, because I did a hard restart and it's still not
working...<br>
    <br>
Should I recompile with some debugging options or something to figure
out what cmd.cgi is having a problem with?<br>
  </blockquote>
  <br>
I just noticed a slight difference between before the Hard reset of
apache and now... I am getting a different error in the browser... it's
not complaining about the "stat" failing, it's complaining about not
being able to open the file.... Still doesn't make sense to me, i've
been staring at these permissions for a couple days now, and I don't
understand why it wouldn't work.<br>
  <br>
Just incase it helps I'm using httpd-2.0.52<br>
  <br>
/John<br>
  <br>
  <blockquote cite="mid426FDE2B.9060608@lynch2.com" type="cite">
    <blockquote
 cite="midA7B0A9F02975A74A845FE85D0B95B8FA6A0B57@misex01.ena.com"
 type="cite">
      <pre wrap=""> 

--
Marc


-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  <a class="moz-txt-link-freetext"
 href="http://www.idcswdc.com/cgi-bin/survey?id%105hix">http://www.idcswdc.com/cgi-bin/survey?id5hix</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated"
 href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext"
 href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

  </pre>
    </blockquote>
  </blockquote>
</blockquote>
</body>
</html>