|
From: Chris <ch...@ta...> - 2002-05-30 14:41:39
|
On Thu, 2002-05-30 at 16:25, Darren Gamble wrote: > Good day, > > Looking at my own configuration file, everything seems to be correct > (although everything here is installed into different locations, so it's > hard to compare the directories). > > I note that you don't have a url_html_path set. I don't think this would > cause your problem, but, this should be set (to / if the nagios root is the > web tree root). Changing it to / didn't make any difference. I am running nagios under a virtual host on an apache server > > And your HTTP server configuration should be right as well, as it says > you're logged in. > > Perhaps you could confirm that the .cgi config file that you've posted here > is the one that the .cgi's are reading in? Try to rename it, and see if the > .cgi's fail. Moving it to cgi.cfg.bak causes a 'Whoops' error, so I assume that it is reading it correctly. I tried the following commands: ------------------------ unix01#:/usr/local/nagios/sbin>export QUERYSTRING=host=all unix01#:/usr/local/nagios/sbin>export REQUEST_METHOD=GET unix01#:/usr/local/nagios/sbin>export REMOTE_USER=chrisp unix01#:/usr/local/nagios/sbin>./summary.cgi Cache-Control: no-store Pragma: no-cache Last-Modified: Thu, 30 May 2002 14:22:00 GMT Expires: Thu, 01 Jan 1970 00:00:00 GMT Content-type: text/html <html> <head> <title> Nagios Event Summary </title> <LINK REL='stylesheet' TYPE='text/css' HREF='/stylesheets/summary.css'> </head> <BODY CLASS='summary'> etc etc -------------------------- It outputs the correct web page. su nobody -c /usr/local/nagios/sbin/summary.cgi also outputs the correct web page (apache runs as nobody). Hmmmm It seems there may be some sort of apache config problem, but I really don't know where. > > -----Original Message----- > > From: Chris [mailto:ch...@ta...] > > Sent: Thursday, May 30, 2002 8:00 AM > > To: Nag...@li... > > Subject: [Nagios-users] Re: you do not have permission to view > > information > > > > > > Hi > > > > I sent a message last week regarding this problem, but have had no > > response. > > > > I have since upgraded to 1.0b2, and still have the same problem > > > > When I try access 'Service Detail' (or almost any other menu item), > > nagios reports that I am logged in: > > > > --------- > > Current Network Status > > Last Updated: Thu May 30 15:56:53 SAST 2002 > > Updated every 90 seconds > > NagiosTM - www.nagios.org > > Logged in as chrisp > > ------ > > > > appears in the small status box, But I get the error: > > > > -------- > > It appears as though you do not have permission to view > > information for > > any of the services 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. > > --------- > > > > I have the following in cgi.cfg: > > > > -------------- > > main_config_file=/usr/local/nagios/etc/nagios.cfg > > physical_html_path=/usr/local/nagios/share > > url_html_path= > > nagios_check_command=/usr/local/nagios/libexec/check_nagios > > /usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios' > > use_authentication=1 > > > > authorized_for_system_information=* > > authorized_for_configuration_information=* > > authorized_for_system_commands=* > > authorized_for_all_services=* > > authorized_for_all_hosts=* > > authorized_for_all_service_commands=* > > authorized_for_all_host_commands=* > > default_statusmap_layout=5 > > default_statuswrl_layout=4 > > refresh_rate=90 > > ------------ > > > > > > > > Can someone please point in the right direction to solving this. > > > > > > Thanks > > -- > > Chris Picton > > Tangent Systems > > ch...@ta... > > > > ______________________________________ > > > > > > _______________________________________________________________ > > > > Don't miss the 2002 Sprint PCS Application Developer's Conference > > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > > > _______________________________________________ > > Nagios-users mailing list > > Nag...@li... > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Nagios-users mailing list > Nag...@li... > https://lists.sourceforge.net/lists/listinfo/nagios-users -- Chris Picton Tangent Systems ch...@ta... <PRE> ______________________________________ </pre> |