Nagios File Does Not Exist Not Found On This Server

While I open the nagios
http://IPADDRESS/nagios i can’t open
So I try http://IPADDRESS/nagios/index.php
It will open the nagios portal But I can’t do the further operation I get
File does not exist The requested URL /nagios/< was not found on this server Not Found The requested URL /nagios/< was not found on this server. Then In the side bar menu Not shows like that # /tac.cgi" target="">Tactical Overview
# /statusmap.cgi?host=all" target="">Map
# /status.cgi?hostgroup=all&style=hostdetail" target="">Hosts
# /status.cgi?host=all" target="">Services
# /status.cgi?hostgroup=all&style=overview" target="">Host Groups
* /status.cgi?hostgroup=all&style=summary" target="">Summary
* /status.cgi?hostgroup=all&style=grid" target="">Grid
 /status.cgi?servicegroup=all&style=overview" target="">Service Groups
* /status.cgi?servicegroup=all&style=summary" target="">Summary
* /status.cgi?servicegroup=all&style=grid" target="">Grid
# /status.cgi?host=all&servicestatustypes=28" target="">Problems
* /status.cgi?host=all&servicestatustypes=28" target="">Services (/status.cgi?host=all&type=detail&hoststatustypes=3&serviceprops=42&servicestatustypes=28" target="">Unhandled)
* /status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12" target="">Hosts (/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12&hostprops=42" target="">Unhandled)

Log file Error message /var/log/httpd/error_log
Error Message :[Fri Jul 16 18:30:21 2010] [error] [client 61.11.75.40] File does not exist: /usr/local/nagios/share/<, referer: http://74.86.173.70/nagios/side.php
Solution : These means the VPS server it can’t read the php file . So install php #yum install php then try it. It will work perfectly.

What is Solution for That Problem Root cause For these problem is PHP file format it is not supporting because Nagios document Root document file format is php file.To resolve these issue you need to install php file #yum install php Then try it will work perfectly.

* Then try it # /tac.cgi" target="">Tactical Overview
# /statusmap.cgi?host=all" target="">Map
# /status.cgi?hostgroup=all&style=hostdetail" target="">Hosts
# /status.cgi?host=all" target="">Services
# /status.cgi?hostgroup=all&style=overview" target="">

Related post