Hi i downloaded and installed nagios as per the documentation and i even configured apache correctly. I got up to the point where i viewed the welcome page but i cant go beyond that.
I get the following error message:
The requested URL /nagios/cgi-bin/tac.cgi was not found on this server.
Then when i restart nagios with the -v option i receive the following error:
Nagios 2.6 starting... (PID=4464)
Error: Unexpected token or statement in file '/usr/local/nagios/etc/hosts.cfg' o n line 2.
Bailing out due to one or more errors encountered in the configuration files. R un Nagios from the command line with the -v option to verify your config before restarting. (PID=4464)
I wasnt able to see what the problem was since i didnt see in the manual anywhere it states about editing the hosts.cfg file.
Kindly help me out.