Page 1 of 1
Nagios map not found
Posted: Wed Apr 18, 2012 4:23 am
by chansl
I have just installed nagios core and when i click on Map, it show the error
Not Found
the requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server.
----------------------------------------------------------------------------------------------
Apache/2.2.15 (Red Hat) Server at localhost Port 80
Can anyone help me? I am using Redhat release 6.2
Thanks.
Re: Nagios map not found
Posted: Wed Apr 18, 2012 4:48 pm
by agriffin
Did you install Nagios from an RPM or from source? Does the file statusmap.cgi exist anywhere on your system?
Re: Nagios map not found
Posted: Wed Apr 18, 2012 8:00 pm
by chansl
Hi,
I download from source from nagios website
nagios-3.3.1.tar.gz. I checked the log and found that
[Wed Apr 18 17:24:15 2012] [error] [client ::1] script not found or unable to stat: /usr/local/nagios/sbin/statusmap.cgi, referer: http://localhost/nagios/side.php
which the statusmap.cgi file does not exist at the path mentioned above. If the file can exist somewhere else, where can it be?
Thanks
Re: Nagios map not found
Posted: Thu Apr 19, 2012 9:39 am
by mguthrie
I'm wondering if the issue is permissions, make sure the apache user can read that file and that it's executable.
Re: Nagios map not found
Posted: Thu Apr 19, 2012 8:56 pm
by chansl
The problem solved after i install the gd-devel and it dependencies.
Thanks.
Re: Nagios map not found
Posted: Fri Apr 20, 2012 9:27 am
by agriffin
Glad you got it figured out!