Problem getting past main page

Guy Waugh guidosh at gmail.com
Thu Jun 25 10:14:40 CEST 2009


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 athttp://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/1b7add0a/attachment.html>
-------------- 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