<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" 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)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
h1
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:24.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
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;}
/* List Definitions */
@list l0
{mso-list-id:1044402711;
mso-list-type:hybrid;
mso-list-template-ids:138170878 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level2
{mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level4
{mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level7
{mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
-->
</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'>I recently tried to fire up a new Nagios server running on
RedHat 4 Enterprise (fully patched). Everything works fine, pre-flight
passed, http is correct, web page displays; however, whenever I access a CGI
link on the left hand page I get the following error:<o:p></o:p></span></font></p>
<h1 style='margin-bottom:12.0pt'><b><font size=2 face=Arial><span
style='font-size:11.0pt;font-family:Arial'>“Internal Server Error<br>
The server encountered an internal error or misconfiguration and was unable to
complete your request.<br>
Please contact the server administrator, root@localhost and inform them of the
time the error occurred, and anything you might have done that may have caused
the error.<br>
More information about this error may be available in the server error log.<o:p></o:p></span></font></b></h1>
<h1><b><font size=2 face=Arial><span style='font-size:11.0pt;font-family:Arial;
font-weight:normal'>I have tried and tried to troubleshoot the problem but have
had no success. </span></font></b><font size=2 face=Arial><span
style='font-size:11.0pt;font-family:Arial'><o:p></o:p></span></font></h1>
<h1 style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><b><font
size=2 face=Arial><span style='font-size:11.0pt;font-family:Arial;font-weight:
normal'><span style='mso-list:Ignore'>1.<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'> </span></font></span></span></font></b><![endif]><font
size=2 face=Arial><span style='font-size:11.0pt;font-family:Arial;font-weight:
normal'>I have searched the forums, google and apache. It appears this is
a common problem across many Linux platforms<o:p></o:p></span></font></h1>
<h1 style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><b><font
size=2 face=Arial><span style='font-size:11.0pt;font-family:Arial;font-weight:
normal'><span style='mso-list:Ignore'>2.<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'> </span></font></span></span></font></b><![endif]><font
size=2 face=Arial><span style='font-size:11.0pt;font-family:Arial;font-weight:
normal'>I have chmod 777 /usr/local/nagios permissions fully with no success
and added every userID I could like of to the group.<o:p></o:p></span></font></h1>
<h1 style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><b><font
size=2 face=Arial><span style='font-size:11.0pt;font-family:Arial;font-weight:
normal'><span style='mso-list:Ignore'>3.<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'> </span></font></span></span></font></b><![endif]><font
size=2 face=Arial><span style='font-size:11.0pt;font-family:Arial;font-weight:
normal'>I have even tried a default configuration with one host, a check ping
and along with all the sample configs. The problem still occurs. <o:p></o:p></span></font></h1>
<h1 style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><b><font
size=2 face=Arial><span style='font-size:11.0pt;font-family:Arial;font-weight:
normal'><span style='mso-list:Ignore'>4.<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'> </span></font></span></span></font></b><![endif]><font
size=2 face=Arial><span style='font-size:11.0pt;font-family:Arial;font-weight:
normal'>I have verified my http conf and tried all types of suggestions I found
during my searches.<o:p></o:p></span></font></h1>
<h1><b><font size=2 face=Arial><span style='font-size:11.0pt;font-family:Arial;
font-weight:normal'>My http config error log displays the following:<o:p></o:p></span></font></b></h1>
<h1><b><font size=2 face=Arial><span style='font-size:11.0pt;font-family:Arial;
font-weight:normal'>Tue Feb 21 10:43:50 2006] [error] [client 10.1.7.200]
Premature end of script headers: status<o:p></o:p></span></font></b></h1>
<h1><b><font size=2 face=Arial><span style='font-size:11.0pt;font-family:Arial;
font-weight:normal'>.cgi, referer: </span></font></b><font size=2 face=Arial><span
style='font-size:11.0pt;font-family:Arial'><a
href="http://servername/nagios/side.html"
title="http://servername/nagios/side.html">http://servername/nagios//side.html</a><o:p></o:p></span></font></h1>
<h1><b><font size=2 face=Arial><span style='font-size:11.0pt;font-family:Arial;
font-weight:normal'>I am currently running Nagios version 1.1 with no
issues. This really looks like an incompatibility with Apache or CGI or
something? Anyone have any ideas – I am flat out?<o:p></o:p></span></font></b></h1>
<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'><o:p> </o:p></span></font></p>
<p class=MsoAutoSig><b><font size=3 face="Times New Roman"><span
style='font-size:12.0pt;font-weight:bold'>-------------------------------------------------------------------</span></font></b><o:p></o:p></p>
<p class=MsoAutoSig><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
<p class=MsoAutoSig><st1:PersonName w:st="on"><b><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-weight:bold'>Pete
Shelfo</span></font></b></st1:PersonName><b><span style='font-weight:bold'><o:p></o:p></span></b></p>
<p class=MsoAutoSig><b><font size=3 face="Times New Roman"><span
style='font-size:12.0pt;font-weight:bold'>Systems Engineer <o:p></o:p></span></font></b></p>
<p class=MsoAutoSig><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>(919) 314-2546<o:p></o:p></span></font></p>
<p class=MsoAutoSig><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>pshelfo@embrex.com<o:p></o:p></span></font></p>
<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>