CGI Access Errors All Over The Place

Marc Powell marc at ena.com
Sun Aug 23 16:40:06 CEST 2009


On Aug 23, 2009, at 3:35 AM, Matt Baer wrote:

> It appears as though you do not have permission to view information  
> for this service...
> 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.
>
> I've gotten it many times before, but seem to have gotten those  
> resolved...or I can't replicate them, but this one is current.  My  
> set up is a bit unique.  My physical_html_path as defined in cgi.cfg  
> is /usr/share/nagios3/htdocs.  I cleared up some of those errors by  
> using 'chown nagios.nagios *' while in the directory.  Obviously,  
> the user and group are both "nagios", however, the username I log in  
> with is 'nagiosadmin'.  I do not see an .htaccess file in there and  
> I have checked the htpasswd.users file and it contains only one  
> entry for nagiosadmin.  Am I missing something or is it sitting  
> there punching me in the face?

physical html path doesn't matter for the purposes of htaccess  
authentication, only the sbin directory. I am assuming you are  
prompted to log in and are able to do so successfully.

If this error is intermittent with this service, make sure that you do  
not have multiple nagios daemons running at the same time. You may be  
experiencing over writing of the status.dat file or one may not know  
about this service while the other does.

If this error is happening all the time, make sure that nagiosadmin is  
authorized_for_all_* in cgi.cfg or is set as a contact for all hosts  
and services you want that user to view.

--
Marc


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list