<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:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.E-MailFormatvorlage18
{mso-style-type:personal-reply;
font-family:"Courier New";
color:#365F91;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=DE-CH link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span lang=FR style='font-size:10.0pt;font-family:"Courier New";
color:#365F91'>Could you provide us more infos : like /etc/httpd/conf.d/nagios.conf,
or /etc/httpd/conf/httpd.conf.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR style='font-size:10.0pt;font-family:"Courier New";
color:#365F91'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#365F91'>It could be still have some problems!!!!!<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#365F91'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:#365F91'>First<o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR style='font-size:10.0pt;font-family:"Courier New";
color:#365F91'>======<o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR style='font-size:10.0pt;font-family:"Courier New";
color:#365F91'>You doesn’t have the right access on your directory or files located
at /usr/local/nagios/share<o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR style='font-size:10.0pt;font-family:"Courier New";
color:#365F91'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=FR style='font-size:10.0pt;font-family:"Courier New";
color:#365F91'>Second<o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR style='font-size:10.0pt;font-family:"Courier New";
color:#365F91'>======<o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR style='font-size:10.0pt;font-family:"Courier New";
color:#365F91'>On RedHat the’s a security enhancement called SELinux and you
must deactivate it or change it like :<o:p></o:p></span></p>
<p class=MsoNormal style='text-indent:35.4pt'><span lang=FR style='font-size:
10.0pt;font-family:"Courier New";color:#365F91'>chcon -R -t httpd_sys_content_t
/usr/local/nagios/sbin/<o:p></o:p></span></p>
<p class=MsoNormal style='text-indent:35.4pt'><span lang=FR style='font-size:
10.0pt;font-family:"Courier New";color:#365F91'>chcon -R -t httpd_sys_content_t
/usr/local/nagios/share<o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR style='font-size:10.0pt;font-family:"Courier New";
color:#365F91'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=FR style='font-size:9.0pt;font-family:"Courier New";
color:#365F91'>READ CAREFULLY the full guide at </span><span style='font-size:
9.0pt;font-family:"Courier New";color:#365F91'><a
href="http://nagios.sourceforge.net/docs/3_0/toc.html"><span lang=FR>http://nagios.sourceforge.net/docs/3_0/toc.html</span></a></span><span
lang=FR style='font-size:9.0pt;font-family:"Courier New";color:#365F91'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR style='font-size:9.0pt;font-family:"Courier New";
color:#365F91'>===============<o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR style='font-size:9.0pt;font-family:"Courier New";
color:#365F91'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=FR style='font-size:9.0pt;font-family:"Courier New";
color:#365F91'>THE VERSION 3.1.0 IS ON DEVELOPMENT (TEST), I ENCOURAGE YOU TO
USE THE STABLE ONE 3.0.6 !!! That’s my point of view…<o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR style='font-size:9.0pt;font-family:"Courier New";
color:#365F91'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=FR style='font-size:10.0pt;font-family:"Courier New";
color:#365F91'><o:p> </o:p></span></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span></b><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Sundar V S
[mailto:sunnywavez@in.com] <br>
<b>Gesendet:</b> Freitag, 24. April 2009 12:52<br>
<b>An:</b> nagios-users@lists.sourceforge.net<br>
<b>Betreff:</b> [Nagios-users] Nagios Web Interface not Accessible on RHEL 4 AS<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p><span style='font-family:"Arial","sans-serif"'>Hi Friends,</span><o:p></o:p></p>
<p><span style='font-family:"Arial","sans-serif"'>I am a newbie, installing
Nagios 3.1.0 on RHEL 4 AS . I have completed the basic installation of Nagios,
and now when i am trying to Access the url : </span><a
href="http://localhost/nagios/" target="\"><span style='font-family:"Arial","sans-serif";
color:#295DCC'>http://localhost/nagios/</span></a><span style='font-family:
"Arial","sans-serif"'> , and after giving the appropriate Username and
Password, it is giving following error.</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:"Courier New";color:red'>Forbidden<br>
You don't have permission to access /nagios/ on this server.<br>
Apache/2.0.52 (Red Hat) Server at localhost Port 80<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Below given is the
extract from the error logs after accessing the Web Page,</span> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:"Courier New";color:red'>[Thu Apr 23
19:45:39 2009] [error] [client 127.0.0.1] Directory index forbidden by rule:
/usr/local/nagios/share<br>
<br>
[Thu Apr 23 19:45:39 2009] [error] [client 127.0.0.1] File does not exist:
/var/www/html/favicon.ico</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:"Arial","sans-serif"'>Please help to resolve
this issue, as i am not able to see the Nagios Web Interface page</span><span
style='font-size:9.0pt;font-family:"Courier New"'>.</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:"Courier New"'>Thanks and Regards,<br>
Sundar</span><o:p></o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p>
<div style='border-top:dashed #CCCCCC 1.0pt;border-left:none;border-bottom:
dashed #CCCCCC 1.0pt;border-right:none;padding:4.0pt 0cm 4.0pt 0cm'>
<p class=MsoNormal><a
href="http://mail.in.com/mails/new_reg.php?utm_source=invite&utm_medium=outgoing"><span
style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1E56A1;
text-decoration:none'>Dear <b>nagios-users@lists.sourceforge.net !</b> Get
Yourself a cool, short <b>@in.com</b> Email ID now!</span></a><o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>