<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=031314110-12122002><FONT face=Arial color=#0000ff size=2>Well
it sounds as though you have two different issues here, (not that I am a Nagios
Expert or anything - except in my building ;) )</FONT></SPAN></DIV>
<DIV><SPAN class=031314110-12122002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=031314110-12122002><FONT face=Arial color=#0000ff size=2>I
would suggest you disable the authentication side of things for the moment and
fix below the error first,</FONT></SPAN></DIV>
<DIV><SPAN class=031314110-12122002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=031314110-12122002><FONT face=Arial size=2>[Wed Dec 11 20:06:55
2002] [error] [client myip] script not found or unable to stat:
/usr/local/nagios/sbin/statusmap.cgi, referer: </FONT><A
href="http://myserver/nagios/side.html"><FONT face=Arial
size=2>http://myserver/nagios/side.html</FONT></A><BR></SPAN></DIV>
<DIV><SPAN class=031314110-12122002><FONT face=Arial color=#0000ff size=2>My
first thoughts on this is that it could be a apache httpd.conf misconfiguration
(check you have the entries as described in the <A
href="http://<nagiosserver>/nagios/docs/installweb.html">http://<nagiosserver>/nagios/docs/installweb.html</A>
)</FONT></SPAN></DIV>
<DIV><SPAN class=031314110-12122002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=031314110-12122002><FONT face=Arial color=#0000ff size=2>But if
you cant find the cgi's on your filesystem (which is what I think you are
saying), reinstall nagios following the steps described in the documentation.
The cgis, by default, should be in /usr/local/nagios/sbin.</FONT></SPAN></DIV>
<DIV><SPAN class=031314110-12122002></SPAN><SPAN class=031314110-12122002><FONT
face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=031314110-12122002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=031314110-12122002><FONT face=Arial color=#0000ff size=2>As for
the outages.cgi permissions issue, ask yourself some Q's! Is this the only cgi
you get this problem with? are you actually managing to be recognised by
nagios, logged in user = <username> or do you have '?'
?</FONT></SPAN></DIV>
<DIV><SPAN class=031314110-12122002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=031314110-12122002><FONT face=Arial color=#0000ff size=2>If you
are Authenticated - that is, logged in username=<username>, are you
authorised to view that information? </FONT></SPAN></DIV>
<DIV><SPAN class=031314110-12122002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=031314110-12122002><FONT face=Arial color=#0000ff size=2>The
best advice is to read, re-read and read again all the relevant documentation,
it describes it pretty well - although it assumes things everything works as
expected.</FONT></SPAN></DIV>
<DIV><SPAN class=031314110-12122002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=031314110-12122002><FONT face=Arial color=#0000ff size=2>If you
are 99% sure that you are correctly configured, and that all necessary files are
on your system ;) then re-post a querie preferably with the relevant parts of
you config files - you will know what is relevant when you read the
documentation. :)</FONT></SPAN></DIV>
<DIV><SPAN class=031314110-12122002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=031314110-12122002><FONT face=Arial color=#0000ff size=2>Don't
worry about being a newbie, we were all newbies once.</FONT></SPAN></DIV>
<DIV><SPAN class=031314110-12122002><FONT face=Arial color=#0000ff size=2>Hope
this steers you in the right direction</FONT></SPAN></DIV>
<DIV><SPAN class=031314110-12122002><FONT face=Arial color=#0000ff
size=2>Chris</FONT></SPAN></DIV>
<DIV><SPAN class=031314110-12122002><FONT face=Arial color=#0000ff
size=2></FONT> </DIV></SPAN>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Master Brian
[mailto:mangabbs@hotmail.com]<BR><B>Sent:</B> 11 December 2002
19:35<BR><B>To:</B> nagios-users@lists.sourceforge.net<BR><B>Subject:</B> Re:
[Nagios-users] authentication problem<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Thank you... hem sorry, I feel so lamer... BTW
now nagios work, but still I'm having the same server error on some cgi. For
example for status.cgi I get:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[Wed Dec 11 20:06:55 2002] [error] [client myip]
script not found or unable to stat: /usr/local/nagios/sbin/statusmap.cgi,
referer: <A
href="http://myserver/nagios/side.html">http://myserver/nagios/side.html</A><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Infact if I do a locate statusmap.cgi I couldn't
locate it, it is normal?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>And again, for outages.cgi I get:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
<DIV class=errorMessage>It appears as though you do not have permission to
view information you requested...</DIV>
<P></P>
<P>
<DIV class=errorDescription>If you believe this is an error, check the HTTP
server authentication requirements for accessing this CGI<BR>and check the
authorization options in your CGI configuration file.</DIV>
<DIV class=errorDescription> </DIV>
<DIV class=errorDescription>and in error log nothing of relevant.</DIV>
<DIV class=errorDescription> </DIV>
<DIV class=errorDescription>This is another newbie error that I do? (sorry
again ;))</DIV></DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=Chris.Losch@newham.gov.uk
href="mailto:Chris.Losch@newham.gov.uk">Chris Losch</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=mangabbs@hotmail.com
href="mailto:mangabbs@hotmail.com">'Master Brian'</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, December 11, 2002 5:57
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Nagios-users]
authentication problem</DIV>
<DIV><BR></DIV>
<DIV><SPAN class=468275816-11122002><FONT face=Arial color=#0000ff
size=2>Yup... </FONT></SPAN></DIV>
<DIV><SPAN class=468275816-11122002><FONT face=Arial size=2>htaccess:
Invalid command 'uthName', perhaps mis-spelled or defined by a
module</FONT><BR><FONT face=Arial color=#0000ff size=2></FONT></SPAN></DIV>
<DIV><SPAN class=468275816-11122002><FONT face=Arial color=#0000ff
size=2>Check the .htaccess file, the command should be "AuthName", not
uthName....</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Master Brian
[mailto:mangabbs@hotmail.com]<BR><B>Sent:</B> 11 December 2002
16:17<BR><B>To:</B> <A
href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</A><BR><B>Subject:</B>
[Nagios-users] authentication problem<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Thank you for plugin's help. Now finally I've
setup (and verified with -v) my .cfg files. Setup my apache for /nagios
alias, and created my .htaccess and htpassword as from documentation, but
now I cannot access to nagios. When I try to go to <A
href="http://mysite/nagios/">http://mysite/nagios/</A> I get this
error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<H1>Server error!</H1>
<DL>
<DD>The server encountered an internal error and was unable to complete
your request. Either the server is overloaded or there was an error in a
CGI script. </DD></DL>
<DL>
<DD>If you think this is a server error, please contact the <A
href="mailto:root@localhost"><FONT color=#0000cc>webmaster</FONT></A>
</DD></DL>
<H2>Error 500</H2>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If I read from error_log of my apache what's
happen I find:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[Wed Dec 11 16:51:23 2002] [alert] [client
10.10.1.40] /usr/local/nagios/share/.<BR>htaccess: Invalid command
'uthName', perhaps mis-spelled or defined by a module<BR>not included in
the server configuration</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Can someone help me get out this problem
pls?</FONT></DIV>
<DIV><FONT face=Arial size=2>Thank you</FONT></DIV></DIV></BLOCKQUOTE>
<DIV><CODE><FONT
size=3><BR><BR>**********************************************************************<BR>Important:<BR>This
e-mail is intended for the above named person only and should be<BR>treated
as confidential. If this has come to you in error you should take<BR>no
action based on it, nor should you copy or show it to anyone; <BR>please
telephone us
immediately.<BR>**********************************************************************<BR></FONT></CODE></DIV>
<DIV> </DIV>
<DIV><CODE><FONT size=3><BR>---<BR>Outgoing mail is certified Virus
Free.<BR>Checked by AVG anti-virus system (<A
href="http://www.grisoft.com">http://www.grisoft.com</A>).<BR>Version:
6.0.426 / Virus Database: 239 - Release Date:
07/12/2002</DIV></BLOCKQUOTE></BLOCKQUOTE></FONT></CODE></BODY></HTML>