not found on this server

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Turbotronic
Posts: 1
Joined: Thu Jan 20, 2011 5:05 pm

not found on this server

Post by Turbotronic »

Hello,

Installed Nagios 3.2.3 and plugins 1.4.15 on Fedora 14.

Followed these instructions successfully:

http://nagios.sourceforge.net/docs/3_0/ ... edora.html

Start of the web interface as nagiosadmin is successful, but clicking on any of the links gives:

Code: Select all

Not Found

The requested URL /nagios/cgi-bin/tac.cgi was not found on this server.
for "Tactical Overview" for example.

These are informative:

http://nagios.sourceforge.net/docs/2_0/installweb.html
http://support.nagios.com/forum/viewtop ... criptalias
http://support.nagios.com/forum/viewtop ... criptalias

but didn't resolve the problem.

Relevant entries from my httpd.conf file:

Code: Select all

DocumentRoot "/usr/local/nagios/share"

Code: Select all

Alias /nagios "/usr/local/nagios/share"

<Directory "/usr/local/nagios/share">
    Options FollowSymLinks
    AllowOverride AuthConfig
    Order allow,deny
    Allow from all
    AuthName "Nagios Access"
    AuthType Basic
    AuthUserFile /usr/local/nagios/etc/htpasswd.users
    Require valid-user
</Directory>

Code: Select all

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

<Directory "/usr/local/nagios/sbin">
    Options ExecCGI
    AllowOverride AuthConfig
    Order allow,deny
    Allow from all
    AuthName "Nagios Access"
    AuthType Basic
    AuthUserFile /usr/local/nagios/etc/htpasswd.users
    Require valid-user
</Directory>
Authenication as nagiosadmin seems to be okay, but the web interface can't seem to find the CGI scripts. Any help you can provide will be appreciated.

Joel
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: not found on this server

Post by mguthrie »

Verify your directory locations and make sure they're actually where Apache is looking. Fedora 14 is new enough that the quickstart guide for it is probably out of date.

Did you use yum or a source install?

yum and source installs will give you different directory locations. The source installer puts everything in /usr/local/nagios while the yum installer puts everything in more typical RHEL/Fedora locations.
Locked