<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" 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 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Arial Black";
        panose-1:2 11 10 4 2 1 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hello All,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I am trying to get my Nagios up and running. I have it
running in the background sending me out emails, but I cannot get the web
interface to work. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I am running Centos 4.0, nagios-1.2-2.2.el4.rf, nagios-plugins-1.4-2.2.el4.rf,
httpd-2.0.52-9.ent.centos4.1, perl-5.8.5-12.1<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>All of the CGI files give an Internal Server Error 500<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>[Mon May 09 14:20:49 2005] [error]
[client 10.10.2.11] (13)Permission denied: exec of
'/usr/lib/nagios/cgi/config.cgi' failed, referer:
http://nagios.mpifix.com/nagios/side.html<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>[Mon May 09 14:20:49 2005] [error]
[client 10.10.2.11] Premature end of script headers: config.cgi, referer:
http://nagios.mpifix.com/nagios/side.html<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>[Mon May 09 14:21:00 2005] [error]
[client 10.10.2.11] (13)Permission denied: exec of '/usr/lib/nagios/cgi/avail.cgi'
failed, referer: http://nagios.mpifix.com/nagios/side.html<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>[Mon May 09 14:21:00 2005] [error]
[client 10.10.2.11] Premature end of script headers: avail.cgi, referer:
http://nagios.mpifix.com/nagios/side.html<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>[Mon May 09 14:21:01 2005] [error]
[client 10.10.2.11] (13)Permission denied: exec of
'/usr/lib/nagios/cgi/avail.cgi' failed, referer:
http://nagios.mpifix.com/nagios/side.html<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>[Mon May 09 14:21:01 2005] [error]
[client 10.10.2.11] Premature end of script headers: avail.cgi, referer: http://nagios.mpifix.com/nagios/side.html<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>[Mon May 09 14:21:02 2005] [error]
[client 10.10.2.11] (13)Permission denied: exec of
'/usr/lib/nagios/cgi/avail.cgi' failed, referer:
http://nagios.mpifix.com/nagios/side.html<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>[Mon May 09 14:21:02 2005] [error]
[client 10.10.2.11] Premature end of script headers: avail.cgi, referer:
http://nagios.mpifix.com/nagios/side.html<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>[Mon May 09 14:21:03 2005] [error]
[client 10.10.2.11] (13)Permission denied: exec of
'/usr/lib/nagios/cgi/status.cgi' failed, referer: http://nagios.mpifix.com/nagios/side.html<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>[Mon May 09 14:21:03 2005] [error]
[client 10.10.2.11] Premature end of script headers: status.cgi, referer: <a
href="http://nagios.mpifix.com/nagios/side.html">http://nagios.mpifix.com/nagios/side.html</a><o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Should I run ‘chcon -R -t httpd_sys_content_t
/usr/lib/nagios/cgi/’ on the cgi files to get them to work? What is the recommended
fix for this?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='text-indent:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>--Thanks<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Arial Black"><span style='font-size:12.0pt;
font-family:"Arial Black"'>Danny Russell</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Mobile Productivity, Inc.</span></font><o:p></o:p></p>

<div>

<p class=MsoNormal><font size=1 face=Arial><span style='font-size:7.5pt;
font-family:Arial'><a href="mailto:drussell@mpifix.com">drussell@mpifix.com</a></span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=1 face=Arial><span style='font-size:7.5pt;
font-family:Arial'>Enabling the World To Work</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span><o:p></o:p></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

</body>

</html>