<html xmlns:v="urn:schemas-microsoft-com:vml" 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)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Batang;
        panose-1:2 3 6 0 0 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@Batang";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* 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;}
tt
        {font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@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 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi:<o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks for the info. I have followed all
the instructions (AFAIK) and now I am getting the following error:<o:p></o:p></span></font></p>

<p class=MsoNormal><strong><b><font size=3 color=red face="Times New Roman"><span
style='font-size:12.0pt;color:red'>Error: Could not read host and service
status information<o:p></o:p></span></font></b></strong></p>

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

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>This happen when after I authenticate. The
nagios service is running.<o:p></o:p></span></font></p>

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

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

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

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

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Aditya Ivaturi<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, June 14, 2005 11:03
AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Nagios-users@lists.sourceforge.net</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Nagios-users] Newbie
question</span></font><o:p></o:p></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>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br>
</span></font><tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>nagios-users-admin@lists.sourceforge.net
wrote on 06/14/2005 12:42:32 PM:</span></font></tt><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<br>
<tt><font face="Courier New">> Hi:</font></tt></span></font> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>  </span></font></tt>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> I
installed Nagios using the Linux RPM for EL4. </span></font></tt><br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>  </span></font></tt>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>
Followed all the instructions to setup apache and get basic auth </span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">> configured. When I go to the web UI and
authenticate – I get an </font></tt><br>
<tt><font face="Courier New">> internal server error. The apache log file
says the following:</font></tt></span></font> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>  </span></font></tt>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> [Tue
Jun 14 10:21:16 2005] [error] [client 192.168.1.115] (13)</span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">> Permission denied: exec of
'/usr/lib/nagios/cgi/status.cgi' failed, referer: </font></tt><br>
<tt><font face="Courier New">> http://192.168.1.107:8888/nagios/side.html</font></tt></span></font>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> [Tue
Jun 14 10:21:16 2005] [error] [client 192.168.1.115] Premature </span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">> end of script headers: status.cgi, referer:
http://192.168.1.107:</font></tt><br>
<tt><font face="Courier New">> 8888/nagios/side.html</font></tt></span></font>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>  </span></font></tt>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> Just
wondering if I need to change the ownership of the cgi files in</span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">> anyway. I have httpd running as root and the
cgi scripts are owned </font></tt><br>
<tt><font face="Courier New">> by root and part of the root group.</font></tt></span></font>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>  </span></font></tt>
<br>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>http://www.siliconvalleyccie.com/linux-hn/apachebasic.htm.
Read that.</span></font></tt> <br>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>--Turi</span></font></tt>
<o:p></o:p></p>

</div>

</body>

</html>