<!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">
I'm running FC3, so SELinux is probably the issue?  But What?  Do I
need to do something else to the configuration to make it work?  Is
there something else written up on SELinux and how it affects nagios?<br>
<br>
I'm running 1.2 and I compiled it myself.  Everything is running very
smoothly except for external commands...<br>
<br>
I could give you all of what you ask for below, but since i'm running
FC, i probably just need a little more info about how SELinux affects
nagios.<br>
<br>
Thanks,<br>
John<br>
<br>
Marc Powell wrote:
<blockquote
 cite="midA7B0A9F02975A74A845FE85D0B95B8FA6A0B49@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 10:52 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a>
Subject: [Nagios-users] External Commands not working


I just installed the latest stable version of nagios and am becoming
familiar with it.  I wanted to enable the web interface's ability to
control nagios, so i followed the instructions to enable external
commnads.  For some reason the Web application (CGI) is reporting a
    </pre>
  </blockquote>
  <pre wrap=""><!---->"can
  </pre>
  <blockquote type="cite">
    <pre wrap="">not stat()" problem with the external command file.  I've checked and
double checked the permissions/group setting for that file and the
directory containing that file.

Is there anything that might be missing from the documentation to make
this work?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
The documentation is complete with the exception that SELinux is not
covered.
 
  </pre>
  <blockquote type="cite">
    <pre wrap="">Is there some common mistake or oversight that I could be
    </pre>
  </blockquote>
  <pre wrap=""><!---->experiencing.

SElinux restrictions if you're running an OS that has those enabled.
Does the file exist? Is it on an NFS mount?
 
  </pre>
  <blockquote type="cite">
    <pre wrap="">nagios and apache have been restarted several times...
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Good. This would be the most common oversight.

For more specific help, please try to provide us with more specific
information. The exact steps you took to enable external commands,
nagios version and how it was installed, OS version, directory listings
showing permissions, group memberships, pertinent nagios.cfg entries,
etc...

--
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?id5hix">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>
</body>
</html>