Not Found ..... tac.cgi was not found on this server

Brad Clemmons Jr brad.clemmons at gmail.com
Thu May 11 20:30:56 CEST 2006


The problem starts when I click on any of the sidebar links that are
supposed to take me to things like the status maps etc.  I get the following
error in the browser:
Not Found
The requested URL /opt/nagios/cgi-bin/tac.cgi was not found on this
server.________________________________
Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-16
mod_perl/1.999.21 Perl/v5.8.4 Server at xxx.xxx.xxx.xxx Port XX


I didn't see any errors when I finished the configure and install.  I
navigated to the web site using Firefox and all appeared to be working.  I
have a basic Nagios welcome page with the side bar and links etc...

All of the faq's, and websites I have checked so far all point to not having
the GD libraries installed.  I have them installed though.  I don't see
anything missing here.

/opt/nagios/sbin$ ldd tac.cgi
        libc.so.6 => /lib/libc.so.6 (0x40026000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

/opt/nagios/sbin# ldd statusmap.cgi
        libgd.so.2 => /usr/lib/libgd.so.2 (0x40026000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40076000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4009b000)
        libz.so.1 => /usr/lib/libz.so.1 (0x400ba000)
        libm.so.6 => /lib/libm.so.6 (0x400cc000)
        libc.so.6 => /lib/libc.so.6 (0x400ee000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40221000)
        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40272000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40282000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x4034a000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40379000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libdl.so.2 => /lib/libdl.so.2 (0x403e6000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x403e9000)

Here is the alias related portion from my apache2.conf (httpd.conf):

       ScriptAlias /nagios/cgi-bin /opt/nagios/sbin
       <Directory "/opt/nagios/sbin">
        AllowOverride None
       Options ExecCGI
       Order allow,deny
       Allow from all
      </Directory>

      Alias /nagios /opt/nagios/share
     <Directory "/opt/nagios/share">
       AllowOverride None
       Options None
       Order allow,deny
       Allow from all
     </Directory>

Yes I know I don't have any auth stuff set in there yet.  I just want to get
the darn thing working first (plus I'm already on a fairly secure internal
network).  I also verified that the cgi's are actually there and both the
nagios user and the web server user have access to them.
Any help is greatly appreciated.
-Brad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060511/77093537/attachment.html>


More information about the Users mailing list