Having a problem installing Nagios 1.2 on Fedora Core 4. I'm following the documention step by step in the documentation on Nagios site. When I get to the step to run /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg to check my config file. I get the following feedback:
Copyright (c) 1999-2004 Ethan Galstad (firstname.lastname@example.org)
Last Modified: 02-02-2004
Reading configuration data...
Error: Unexpected token or statement in file '/usr/local/nagios/etc/nagios.cfg' on line 19.
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation on the main and host config files, as well as the
'Whats New' section to find out what has changed.
Line #19 in my config file is:
The log file is in the correct place so it does exist, I don't know what else to check for. Then, if I comment out that line in the config file, it just stops at the next line\file that's not commented out (cfg_file=/usr/local/nagios/etc/checkcommands.cfg) and gives me the same message, then if I comment that line out, its stops at the next line\file that's not commented and gives me the same thing.....so it looks as though its going to see some sort of issue with every single uncommented line in the config file for some reason.
Anyone have any ideas on what could be wrong???