Problem getting past main page

Kaplan, Andrew H. AHKAPLAN at PARTNERS.ORG
Thu Jun 25 15:35:37 CEST 2009


Hi there --
 
Thanks for your reply. I made the change that you suggested, and subsequently
restarted the Apache and Nagios applications.
 
Unfortunately, the problem still occurs. Here is the output that I am seeing:
 

Not Found


The requested URL /nagios/cgi-bin/status.cgi was not found on this server.

I can't figure out what is going on with this. Enclosed is the updated version
of the httpd.conf with the changes that were suggested.

I am desperate at this point...

 

 

 

________________________________

From: Guy Waugh [mailto:guidosh at gmail.com] 
Sent: Thursday, June 25, 2009 4:15 AM
To: Kaplan, Andrew H.; nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Problem getting past main page


Hi Andrew,


On Thu, Jun 25, 2009 at 12:24 AM, Kaplan, Andrew H. <AHKAPLAN at partners.org>
wrote:


	This issue is an offshoot of the Problem in preflight check with
commands.cfg. 

	I went ahead and copied the nagios directory from our original server to
the new 
	one. Once that was done, I did the upgrade to version 3.1.2 of nagios.
The main page 
	of the application appears without a problem. However, whenever I try to
go to any one 
	of the links from the main page, an error message similar to the one
below appears 
	on-screen: 

	Not Found 
	The requested URL /nagios/cgi-bin/status.cgi was not found on this
server.


Looking at your attached httpd.conf file, you seem to have configured the URL
'/cgi-bin/nagios' to be the ScriptAlias for the nagios CGIs, but then you are
trying to access them with the URL '/nagios/cgi-bin'. Provided the Nagios CGI
scripts are in /usr/local/nagios/sbin, as they are by default, you should
probably define your ScriptAlias like this:

ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"

Cheers,
Guy.
 

	


	I noticed that after I inserted the snippets from the nagios.conf file
into the 
	httpd.conf file, and subsequently restarted the Apache server, the
following 
	errors appeared on-screen: 

	Starting httpd: The ScriptAlias directive in /etc/httpd/conf/httpd.conf
at line 
	566 will probably never match because it overlaps an earlier
ScriptAlias. 
	[warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 583
will 
	probably never match because it overlaps an earlier Alias. 

	I have enclosed a copy of the httpd.conf file in its present version. I
am at a 
	lossas to why the error message is occurring, and I would really
appreciate help on 
	this. 

	<<httpd.conf>> 

	The information in this e-mail is intended only for the person to whom
it is
	addressed. If you believe this e-mail was sent to you in error and the
e-mail
	contains patient information, please contact the Partners Compliance
HelpLine at
	http://www.partners.org/complianceline . If the e-mail was sent to you
in error
	but does not contain patient information, please contact the sender and
properly
	dispose of the e-mail.

	
------------------------------------------------------------------------------
	
	_______________________________________________
	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
	


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090625/2dfdd3f3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: httpd.conf
Type: application/octet-stream
Size: 34428 bytes
Desc: httpd.conf
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090625/2dfdd3f3/attachment.obj>
-------------- next part --------------
------------------------------------------------------------------------------
-------------- next part --------------
_______________________________________________
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