<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:st1 =
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2900.2802" name=GENERATOR><o:SmartTagType
name="PersonName"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
H1 {
FONT-SIZE: 24pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; FONT-FAMILY: "Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
P.MsoAutoSig {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoAutoSig {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoAutoSig {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
SPAN.EmailStyle17 {
COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
OL {
MARGIN-BOTTOM: 0in
}
UL {
MARGIN-BOTTOM: 0in
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV><SPAN class=482441716-21022006><FONT face=Verdana color=#0000ff
size=2>Pete, it sounds that you forgot to put in place the user that you're
logging in. At CGI.cfg file there's a SYSTEM/PROCESS INFORMATION ACCESS
parameter that you use to tell to Nagios who has the permission to view your CGI
links.</FONT></SPAN></DIV>
<DIV><SPAN class=482441716-21022006><FONT face=Verdana color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=482441716-21022006><FONT face=Verdana color=#0000ff size=2>#
SYSTEM/PROCESS INFORMATION ACCESS<BR># This option is a comma-delimited list of
all usernames that <BR># have access to viewing the Nagios process information
as<BR># provided by the Extended Information CGI (extinfo.cgi). By<BR>#
default, *no one* has access to this unless you choose to<BR># not use
authorization. You may use an asterisk (*) to<BR># authorize any user who
has authenticated to the web server.</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=482441716-21022006><FONT face=Verdana color=#0000ff
size=2>authorized_for_system_information=nagiosadmin,flima,mneto<BR></FONT></SPAN></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=482441716-21022006><FONT face=Verdana color=#0000ff size=2>Best
Regards,</FONT></SPAN></DIV>
<DIV align=left>
<DIV><FONT face=Arial color=#000080><STRONG>Fernando
Lima<BR>Schlumberger</STRONG></FONT></DIV>
<DIV><FONT face=Arial color=#000080><STRONG>Security
Engineer<BR></STRONG></FONT><I><FONT color=#0000ff size=2><A
href="mailto:flima@slb.com"><FONT
face=Arial>flima@slb.com</FONT></A><BR></FONT></I><BR><FONT face=Arial
size=2>Office: +55 21 3824 6954<BR>Mobile. : +55 21 9888 9046<BR>(GMT:
-03:00)</FONT></DIV></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net] <B>On Behalf Of </B>Pete
Shelfo<BR><B>Sent:</B> Tuesday, February 21, 2006 1:10 PM<BR><B>To:</B>
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> [Nagios-users] Internal
Server Error on Nagios 2.0<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; 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: 12pt"><B><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 11pt; 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 face=Arial size=2><SPAN
style="FONT-WEIGHT: normal; FONT-SIZE: 11pt; FONT-FAMILY: Arial">I have tried
and tried to troubleshoot the problem but have had no success.
</SPAN></FONT></B><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></H1>
<H1
style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><![if !supportLists]><B><FONT
face=Arial size=2><SPAN
style="FONT-WEIGHT: normal; FONT-SIZE: 11pt; FONT-FAMILY: Arial"><SPAN
style="mso-list: Ignore">1.<FONT face="Times New Roman" size=1><SPAN
style="FONT: 7pt 'Times New Roman'">
</SPAN></FONT></SPAN></SPAN></FONT></B><![endif]><FONT face=Arial size=2><SPAN
style="FONT-WEIGHT: normal; FONT-SIZE: 11pt; FONT-FAMILY: Arial">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: 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><![if !supportLists]><B><FONT
face=Arial size=2><SPAN
style="FONT-WEIGHT: normal; FONT-SIZE: 11pt; FONT-FAMILY: Arial"><SPAN
style="mso-list: Ignore">2.<FONT face="Times New Roman" size=1><SPAN
style="FONT: 7pt 'Times New Roman'">
</SPAN></FONT></SPAN></SPAN></FONT></B><![endif]><FONT face=Arial size=2><SPAN
style="FONT-WEIGHT: normal; FONT-SIZE: 11pt; FONT-FAMILY: Arial">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: 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><![if !supportLists]><B><FONT
face=Arial size=2><SPAN
style="FONT-WEIGHT: normal; FONT-SIZE: 11pt; FONT-FAMILY: Arial"><SPAN
style="mso-list: Ignore">3.<FONT face="Times New Roman" size=1><SPAN
style="FONT: 7pt 'Times New Roman'">
</SPAN></FONT></SPAN></SPAN></FONT></B><![endif]><FONT face=Arial size=2><SPAN
style="FONT-WEIGHT: normal; FONT-SIZE: 11pt; FONT-FAMILY: Arial">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: 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><![if !supportLists]><B><FONT
face=Arial size=2><SPAN
style="FONT-WEIGHT: normal; FONT-SIZE: 11pt; FONT-FAMILY: Arial"><SPAN
style="mso-list: Ignore">4.<FONT face="Times New Roman" size=1><SPAN
style="FONT: 7pt 'Times New Roman'">
</SPAN></FONT></SPAN></SPAN></FONT></B><![endif]><FONT face=Arial size=2><SPAN
style="FONT-WEIGHT: normal; FONT-SIZE: 11pt; FONT-FAMILY: Arial">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 face=Arial size=2><SPAN
style="FONT-WEIGHT: normal; FONT-SIZE: 11pt; FONT-FAMILY: Arial">My http
config error log displays the following:<o:p></o:p></SPAN></FONT></B></H1>
<H1><B><FONT face=Arial size=2><SPAN
style="FONT-WEIGHT: normal; FONT-SIZE: 11pt; FONT-FAMILY: Arial">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 face=Arial size=2><SPAN
style="FONT-WEIGHT: normal; FONT-SIZE: 11pt; FONT-FAMILY: Arial">.cgi,
referer: </SPAN></FONT></B><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial"><A
title=http://servername/nagios/side.html
href="http://servername/nagios/side.html">http://servername/nagios//side.html</A><o:p></o:p></SPAN></FONT></H1>
<H1><B><FONT face=Arial size=2><SPAN
style="FONT-WEIGHT: normal; FONT-SIZE: 11pt; FONT-FAMILY: Arial">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 face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoAutoSig><B><FONT face="Times New Roman" size=3><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 12pt">-------------------------------------------------------------------</SPAN></FONT></B><o:p></o:p></P>
<P class=MsoAutoSig><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoAutoSig><st1:PersonName w:st="on"><B><FONT face="Times New Roman"
size=3><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 12pt">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 face="Times New Roman" size=3><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 12pt">Systems Engineer
<o:p></o:p></SPAN></FONT></B></P>
<P class=MsoAutoSig><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">(919) 314-2546<o:p></o:p></SPAN></FONT></P>
<P class=MsoAutoSig><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">pshelfo@embrex.com<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>