authentication problem

Pascal Miquet p.miquet at hafiba.fr
Thu Dec 12 15:08:44 CET 2002


Hi,

I've got the -rwxrwxr-x    1 nagios   nagios     147984 nov 13 18:42
sbin/statusmap.cgi

According to the authentication, I would suggest to checks the cgi.cfg
file and see the authentication flag set to 1 and all users allowed into
all authorised_xxxx users.

HTH
Pascal Miquet


Le mer 11/12/2002 à 20:35, Master Brian a écrit :
> 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:
> 
> [Wed Dec 11 20:06:55 2002] [error] [client myip] script not found or unable to stat: /usr/local/nagios/sbin/statusmap.cgi, referer: http://myserver/nagios/side.html
> 
> Infact if I do a locate statusmap.cgi I couldn't locate it, it is normal?
> 
> And again, for outages.cgi I get:
> 
> It appears as though you do not have permission to view information you requested...
> 
> 
> If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI
> and check the authorization options in your CGI configuration file.
> 
> and in error log nothing of relevant.
> 
> This is another newbie error that I do? (sorry again ;))
> 
> ----- Original Message ----- 
>   From: Chris Losch 
>   To: 'Master Brian' 
>   Sent: Wednesday, December 11, 2002 5:57 PM
>   Subject: RE: [Nagios-users] authentication problem
> 
> 
>   Yup... 
>   htaccess: Invalid command 'uthName', perhaps mis-spelled or defined by a module
> 
>   Check the .htaccess file, the command should be "AuthName", not uthName....
>     -----Original Message-----
>     From: Master Brian [mailto:mangabbs at hotmail.com]
>     Sent: 11 December 2002 16:17
>     To: nagios-users at lists.sourceforge.net
>     Subject: [Nagios-users] authentication problem
> 
> 
>     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 http://mysite/nagios/ I get this error:
> 
>     Server error!
>       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. 
>       If you think this is a server error, please contact the webmaster 
>     Error 500
> 
>     If I read from error_log of my apache what's happen I find:
> 
>     [Wed Dec 11 16:51:23 2002] [alert] [client 10.10.1.40] /usr/local/nagios/share/.
>     htaccess: Invalid command 'uthName', perhaps mis-spelled or defined by a module
>     not included in the server configuration
> 
>     Can someone help me get out this problem pls?
>     Thank you
> 
> 
>   **********************************************************************
>   Important:
>   This e-mail is intended for the above named person only and should be
>   treated as confidential. If this has come to you in error you should take
>   no action based on it, nor should you copy or show it to anyone; 
>   please telephone us immediately.
>   **********************************************************************
> 
> 
> 
>   ---
>   Outgoing mail is certified Virus Free.
>   Checked by AVG anti-virus system (http://www.grisoft.com).
>   Version: 6.0.426 / Virus Database: 239 - Release Date: 07/12/2002




-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/




More information about the Users mailing list