<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5659" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=114373419-25062009><FONT face=Arial
color=#0000ff size=2>I have made some progress. I removed the nagios.conf file
from the /etc/httpd/conf.d directory.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=114373419-25062009><FONT face=Arial
color=#0000ff size=2>Once that was done, I was able to get past the main screen.
My next step was to configure </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=114373419-25062009><FONT face=Arial
color=#0000ff size=2>the various cfg files fromt Nagios 2.6 to work with the
Nagios 3.1.2 application. I added several </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=114373419-25062009><FONT face=Arial
color=#0000ff size=2>lines to the </FONT></SPAN><SPAN
class=114373419-25062009><FONT face=Arial color=#0000ff size=2>nagios.cfg file
that pointed to the location of the files that I brought over.
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=114373419-25062009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=114373419-25062009><FONT face=Arial
color=#0000ff size=2>I ran the preflight check again, and now I have the
following appearing on-screen:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=114373419-25062009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=114373419-25062009><FONT face=Arial
color=#0000ff size=2>Checking services...<BR>Error: Contact group 'admins'
specified in service 'Current Load' for host 'localhost' is not defined
anywhere!<BR>Error: Contact group 'admins' specified in service 'Current Users'
for host 'localhost' is not defined anywhere!<BR>Error: Contact group 'admins'
specified in service 'HTTP' for host 'localhost' is not defined
anywhere!<BR>Error: Contact group 'admins' specified in service 'PING' for host
'localhost' is not defined anywhere!<BR>Error: Contact group 'admins' specified
in service 'Root Partition' for host 'localhost' is not defined
anywhere!<BR>Error: Service check command 'check_ssh' specified in service 'SSH'
for host 'localhost' not defined anywhere!<BR>Error: Contact group 'admins'
specified in service 'SSH' for host 'localhost' is not defined
anywhere!<BR>Error: Service check command 'check_local_swap' specified in
service 'Swap Usage' for host 'localhost' not defined anywhere!<BR>Error:
Contact group 'admins' specified in service 'Swap Usage' for host 'localhost' is
not defined anywhere!<BR>Error: Contact group 'admins' specified in service
'Total Processes' for host 'localhost' is not defined
anywhere!</FONT></SPAN></DIV>
<DIV><SPAN class=114373419-25062009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=114373419-25062009><FONT face=Arial color=#0000ff size=2>I
checked the /usr/local/nagios/etc/ and /usr/local/nagios/etc/objects
directories, and each has a localhost.cfg file</FONT></SPAN></DIV>
<DIV><SPAN class=114373419-25062009><FONT face=Arial color=#0000ff size=2>in it.
The nagios.cfg file points to the latter as the one that it looks to for
configuration settings. I checked through it,</FONT></SPAN></DIV>
<DIV><SPAN class=114373419-25062009><FONT face=Arial color=#0000ff size=2>and
there is no mention of admins anywhere. I also checked the services.cfg file in
the same directory as localhost,</FONT></SPAN></DIV>
<DIV><SPAN class=114373419-25062009><FONT face=Arial color=#0000ff size=2>with
the results being the same.</FONT></SPAN></DIV>
<DIV><SPAN class=114373419-25062009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=114373419-25062009><FONT face=Arial color=#0000ff size=2>Where
is this cause of complaint originating from, and how can I correct it?
Thanks.</FONT></SPAN></DIV>
<DIV><SPAN class=114373419-25062009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=114373419-25062009></SPAN><SPAN
class=114373419-25062009> </DIV>
<DIV><BR></DIV><FONT color=#0000ff size=2></FONT></SPAN><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Guy Waugh [mailto:guidosh@gmail.com]
<BR><B>Sent:</B> Thursday, June 25, 2009 10:57 AM<BR><B>To:</B> Kaplan, Andrew
H.<BR><B>Cc:</B> nagios-users@lists.sourceforge.net<BR><B>Subject:</B> Re:
[Nagios-users] Problem getting past main page<BR></FONT><BR></DIV>
<DIV></DIV>Hi again,<BR><BR>
<DIV class=gmail_quote>On Thu, Jun 25, 2009 at 3:39 PM, Kaplan, Andrew H. <SPAN
dir=ltr><<A
href="mailto:AHKAPLAN@partners.org">AHKAPLAN@partners.org</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Hi there
--</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>I can
answer your questions in the order they were asked:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>1. I made
sure to restart apache after the changes were made via the "sudo
/etc/init.d/httpd restart" command
syntax.</FONT></SPAN></DIV></DIV></BLOCKQUOTE>
<DIV><BR>OK, great. Just making sure :-)<BR> </DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>2. The
output of the apachectl configtest is the following:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2> [Thu
Jun 25 10:22:48 2009] [warn] The ScriptAlias directive in
/etc/httpd/conf/httpd.conf at line 566 will probably never match because it
overlaps an earlier
Alias.<BR>
[Thu Jun 25 10:22:48 2009] [warn] The Alias directive in
/etc/httpd/conf/httpd.conf at line 583 will probably never match because it
overlaps an earlier
Alias.<BR>
Syntax OK</FONT></SPAN></DIV></DIV></BLOCKQUOTE>
<DIV><BR>Right. This indicates that the configuration options for the
'ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin' and 'Alias /nagios
/usr/local/nagios/share' on lines 566 and 583 of your httpd.conf file aren't
taking effect. This is probably because there is a file in /etc/httpd/conf.d
(possibly 'nagios.conf'?) that is being loaded before apache parses those lines
in your httpd.conf file (see line 210 of your httpd.conf file: 'include
conf.d/*.conf'). Have a look at the file in /etc/httpd/conf.d and see what
ScriptAlias and Alias definitions exist in that file. It might in fact make more
sense to put the nagios web configuration in that file rather than in the
httpd.conf file... though it's up to you. There should only be one definition
for the nagios Alias and ScriptAlias definitions, and they should be as they
currently are in your httpd.conf file.<BR> </DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>3. The files that are located
in the /usr/local/nagios/sbin directory are the following:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN>
-rwxrwxr-x 1 nagios nagios 229964 Jun 24 15:48
avail.cgi<BR>
-rwxrwxr-x 1 nagios nagios 225272 Jun 24 15:48
cmd.cgi<BR>
-rwxrwxr-x 1 nagios nagios 193036 Jun 24 15:48
config.cgi<BR>
-rwxrwxr-x 1 nagios nagios 246284 Jun 24 15:48
extinfo.cgi<BR>
-rwxrwxr-x 1 nagios nagios 197292 Jun 24 15:48
histogram.cgi<BR>
-rwxrwxr-x 1 nagios nagios 176684 Jun 24 15:48
history.cgi<BR>
-rwxrwxr-x 1 nagios nagios 172812 Jun 24 15:48
notifications.cgi<BR>
-rwxrwxr-x 1 nagios nagios 168460 Jun 24 15:48
outages.cgi<BR>
-rwxrwxr-x 1 nagios nagios 172844 Jun 24 15:48
showlog.cgi<BR>
-rwxrwxr-x 1 nagios nagios 234156 Jun 24 15:48
status.cgi<BR>
-rwxrwxr-x 1 nagios nagios 190220 Jun 24 15:48
statusmap.cgi<BR>
-rwxrwxr-x 1 nagios nagios 188940 Jun 24 15:48
statuswml.cgi<BR>
-rwxrwxr-x 1 nagios nagios 172588 Jun 24 15:48
statuswrl.cgi<BR>
-rwxrwxr-x 1 nagios nagios 193100 Jun 24 15:48
summary.cgi<BR>
-rwxrwxr-x 1 nagios nagios 184940 Jun 24 15:48
tac.cgi<BR>
-rwxrwxr-x 1 nagios nagios 201388 Jun 24 15:48
trends.cgi</SPAN></FONT></FONT></FONT></DIV></DIV></BLOCKQUOTE>
<DIV><BR>That all looks good, because these files are executable by everybody,
so the apache user will be able to execute them.<BR> </DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN></SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN>4. The
permissions of the files would seem to indicate the apache user has read and
execute permissions. If necessary, I can change the
permissions</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN> to match those of the owner and
group.</SPAN></FONT></FONT></FONT></DIV></DIV></BLOCKQUOTE>
<DIV><BR>No, it looks fine.<BR> <BR></DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN></SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN>5. I ran the tail
-f command on the error_log file, and went through the motions of clicking on
the links of the main page. The error messages
appeared</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN>
on-screen, while the following entries appeared in the log
file:</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN></SPAN></FONT></FONT></FONT> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff
size=2> [Thu Jun 25 10:29:38 2009] [error]
[<nagios server>] File does not exist: /usr/local/nagios/share/cgi-bin,
referer: </FONT><A href="http://132.183.12.194/nagios/side.php"
target=_blank><FONT face=Arial size=2>http://<nagios
server>/nagios/side.php</FONT></A><BR><FONT face=Arial color=#0000ff
size=2> [Thu Jun 25 10:29:44 2009] [error]
[<nagios server>] File does not exist: /usr/local/nagios/share/cgi-bin,
referer: </FONT><A href="http://132.183.12.194/nagios/side.php"
target=_blank><FONT face=Arial size=2>http://<nagios
server>/nagios/side.php</FONT></A><BR><FONT face=Arial color=#0000ff
size=2> [Thu Jun 25 10:29:48 2009] [error]
[<nagios server>] File does not exist: /usr/local/nagios/share/cgi-bin,
referer: </FONT><A href="http://132.183.12.194/nagios/side.php"
target=_blank><FONT face=Arial size=2>http://<nagios
server>/nagios/side.php</FONT></A></SPAN></DIV></DIV></BLOCKQUOTE>
<DIV><BR>OK... you can see here that apache has been configured to look for the
CGIs in /usr/local/nagios/share/cgi-bin, not /usr/local/nagios/sbin. This must
be the definition in the apache configuration file in /etc/httpd/conf.d
.<BR> </DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV><SPAN><A href="http://132.183.12.194/nagios/side.php" target=_blank><FONT
face=Arial size=2></FONT></A><BR></SPAN></DIV>
<DIV dir=ltr align=left><SPAN></SPAN><FONT face=Arial color=#0000ff
size=2>6<SPAN>. When I go to the http://<nagioshost>/nagios page, I get
the splash screen for the Nagios application. The error occurs whenever I
click on any of the</SPAN></FONT></DIV>
<DIV dir=ltr align=left><SPAN></SPAN><SPAN></SPAN><FONT face=Arial
color=#0000ff size=2> <SPAN> links starting from the Current
Status group and going down the list.</SPAN></FONT></DIV></DIV></BLOCKQUOTE>
<DIV><BR>OK.<BR> </DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN>7. The host in question is a
CentOS 5.3 system running on the i386 architecture.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN>8. The original Nagios 2.6
directory was copied as a tar file and via sftp from the original Nagios
server to the new one. The tar file was extracted into the</SPAN></FONT></DIV>
<DIV><SPAN></SPAN><SPAN><FONT face=Arial color=#0000ff
size=2> /usr/local directory. The nagios user and group were
created, with the former being given a home directory and utilizing the
nologin shell. The Nagios </FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2> 3.1.2
application was compiled from source on the new server, with the following
arguments:</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN> <FONT face=Arial color=#0000ff size=2>configured
by ./configure, generated by GNU Autoconf 2.61, with options
\"'--prefix=/usr/local/nagios' '--with-nagios-user=nagios'
'--with-nagios-grp=nagios'\"</FONT></SPAN></DIV></DIV></BLOCKQUOTE>
<DIV><BR>OK. Provided nagios itself is running, that's probably
fine.<BR> </DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>What do you
think?</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV></DIV></BLOCKQUOTE>
<DIV><BR>Cheers,<BR>Guy.<BR><BR></DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV></DIV>
<DIV><SPAN></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><BR><BR></DIV><BR>
<DIV lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> Guy Waugh [mailto:<A
href="mailto:guidosh@gmail.com" target=_blank>guidosh@gmail.com</A>]
<BR><B>Sent:</B> Thursday, June 25, 2009 9:57 AM<BR><B>To:</B> Kaplan, Andrew
H.; <A href="mailto:nagios-users@lists.sourceforge.net"
target=_blank>nagios-users@lists.sourceforge.net</A>
<DIV class=im><BR><B>Subject:</B> Re: [Nagios-users] Problem getting past main
page<BR></DIV></FONT><BR></DIV>
<DIV></DIV>Hi again,<BR><BR>Strange...<BR><BR>Some questions:<BR><BR>You're
sure you restarted apache after editing httpd.conf?<BR>What is the output of
'apachectl configtest'?<BR>What files are in /usr/local/nagios/sbin -- are
they files like 'status.cgi', 'avail.cgi', 'cmd.cgi' etc.? Are they executable
by the user that apache is running as?<BR>Is there anything useful in the
apache error logs?<BR>What do you see when you go to
http://<nagioshost>/nagios with your web browser? Is that when you get
the error below?<BR>Is the nagios host a Linux or Unix host (sorry, can't
remember if you've specified this before)? If so, which
flavour/version?<BR>Did you compile nagios on this host, install it via a
package manager, or copy it from another host?<BR><BR>Cheers,<BR>Guy.<BR><BR>
<DIV class=gmail_quote>On Thu, Jun 25, 2009 at 2:35 PM, Kaplan, Andrew H.
<SPAN dir=ltr><<A href="mailto:AHKAPLAN@partners.org"
target=_blank>AHKAPLAN@partners.org</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Hi there
--</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Thanks
for your reply. I made the change that you suggested, and subsequently
restarted the Apache and Nagios applications.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2>Unfortunately, the problem still occurs. Here is the output that
I am seeing:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN>
<DIV class=im>
<DIV>
<H1><FONT face=Arial size=2>Not Found</FONT></H1>
<P><FONT face=Arial size=2>The requested URL /nagios/cgi-bin/status.cgi was
not found on this server.</FONT></P></DIV></DIV>
<P><SPAN><FONT face=Arial color=#0000ff size=2>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.</FONT></SPAN></P>
<P><SPAN><FONT face=Arial color=#0000ff size=2>I am desperate at this
point...</FONT></SPAN></P>
<P><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </P>
<P><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </P><FONT
face=Arial size=2> </FONT></SPAN></DIV><BR>
<DIV lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> Guy Waugh [mailto:<A
href="mailto:guidosh@gmail.com" target=_blank>guidosh@gmail.com</A>]
<BR><B>Sent:</B> Thursday, June 25, 2009 4:15 AM<BR><B>To:</B> Kaplan,
Andrew H.; <A href="mailto:nagios-users@lists.sourceforge.net"
target=_blank>nagios-users@lists.sourceforge.net</A>
<DIV class=im><BR><B>Subject:</B> Re: [Nagios-users] Problem getting past
main page<BR></DIV></FONT><BR></DIV>
<DIV></DIV>Hi Andrew,<BR><BR>
<DIV class=gmail_quote>
<DIV class=im>
<DIV>On Thu, Jun 25, 2009 at 12:24 AM, Kaplan, Andrew H. <SPAN
dir=ltr><<A href="mailto:AHKAPLAN@partners.org"
target=_blank>AHKAPLAN@partners.org</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<P><FONT face="Courier New" size=2>This issue is an offshoot of the
Problem in preflight check with commands.cfg.</FONT> </P>
<P><FONT face="Courier New" size=2>I went ahead and copied the nagios
directory from our original server to the new</FONT> <BR><FONT
face="Courier New" size=2>one. Once that was done, I did the upgrade to
version 3.1.2 of nagios. The main page</FONT> <BR><FONT face="Courier New"
size=2>of the application appears without a problem. However, whenever I
try to go to any one</FONT> <BR><FONT face="Courier New" size=2>of the
links from the main page, an error message similar to the one below
appears</FONT> <BR><FONT face="Courier New" size=2>on-screen:</FONT> </P>
<P><B><FONT face="Courier New" size=2>Not Found</FONT></B> <BR><B><FONT
face="Courier New" size=2>The requested URL /nagios/cgi-bin/status.cgi was
not found on this server.</FONT></B></P></DIV></BLOCKQUOTE></DIV></DIV>
<DIV><BR>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:<BR><BR>ScriptAlias /nagios/cgi-bin
"/usr/local/nagios/sbin"<BR><BR>Cheers,<BR>Guy.<BR> </DIV>
<DIV class=im>
<DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<P><B><FONT face="Courier New" size=2></FONT></B></P><BR>
<P><FONT face="Courier New" size=2>I noticed that after I inserted the
snippets from the nagios.conf file into the </FONT><BR><FONT
face="Courier New" size=2>httpd.conf file, and subsequently restarted the
Apache server, the following</FONT> <BR><FONT face="Courier New"
size=2>errors appeared on-screen:</FONT> </P>
<P><B><FONT face="Courier New" size=2>Starting httpd: The ScriptAlias
directive in /etc/httpd/conf/httpd.conf at line</FONT></B> <BR><B><FONT
face="Courier New" size=2>566 will probably never match because it
overlaps an earlier ScriptAlias.</FONT></B> <BR><B><FONT
face="Courier New" size=2>[warn] The Alias directive in
/etc/httpd/conf/httpd.conf at line 583 will</FONT></B> <BR><B><FONT
face="Courier New" size=2>probably never match because it overlaps an
earlier Alias.</FONT></B> </P>
<P><FONT face="Courier New" size=2>I have enclosed a copy of the
httpd.conf file in its present version. I am at a</FONT> <BR><FONT
face="Courier New" size=2>lossas to why the error message is occurring,
and I would really appreciate help on</FONT> <BR><FONT face="Courier New"
size=2>this. </FONT></P>
<P><FONT face=Arial color=#000000 size=2><<httpd.conf>>
</FONT></P><PRE>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
<A href="http://www.partners.org/complianceline" target=_blank>http://www.partners.org/complianceline</A> . 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.
</PRE></DIV><BR>------------------------------------------------------------------------------<BR><BR>_______________________________________________<BR>Nagios-users
mailing list<BR><A href="mailto:Nagios-users@lists.sourceforge.net"
target=_blank>Nagios-users@lists.sourceforge.net</A><BR><A
href="https://lists.sourceforge.net/lists/listinfo/nagios-users"
target=_blank>https://lists.sourceforge.net/lists/listinfo/nagios-users</A><BR>:::
Please include Nagios version, plugin version (-v) and OS when reporting
any issue.<BR>::: Messages without supporting info will risk being sent to
/dev/null<BR></BLOCKQUOTE></DIV></DIV></DIV><BR></DIV></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></DIV><BR></BODY></HTML>