Page 1 of 1

The requested URL /nagios/cgi-bin/statusmap.cgi was not foun

Posted: Thu Dec 12, 2013 11:38 am
by vinothsethuram
The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server.

Could anyone please help me to debug and fix?

Re: The requested URL /nagios/cgi-bin/statusmap.cgi was not

Posted: Thu Dec 12, 2013 11:43 am
by abrist
Do you have your compile log for nagios? You may have not had all the necessary prerequisites for the compilation of the statusmap cgi.

Re: The requested URL /nagios/cgi-bin/statusmap.cgi was not

Posted: Thu Dec 12, 2013 12:33 pm
by vinothsethuram
How to take compile logs?

Re: The requested URL /nagios/cgi-bin/statusmap.cgi was not

Posted: Thu Dec 12, 2013 3:31 pm
by vinothsethuram
-bash-4.1# make-cgis
-bash: make-cgis: command not found

Re: The requested URL /nagios/cgi-bin/statusmap.cgi was not

Posted: Thu Dec 12, 2013 5:00 pm
by abrist
The command you are looking for is:

Code: Select all

make install-cgis
The command above must be run from the nagios source directory, but do understand that it will not fix your problem if the statusmap cgi was not compiled to begin with.
Lets re-compile and check the logs:

Code: Select all

cd /path/to/nagios/source
make clean > /tmp/compile.log
make all 2>&1 >> /tmp/compile.log
Post /tmp/compile.log here in code wraps.