Fresh installation nagios core - error
Posted: Tue Mar 13, 2012 1:25 pm
Dear All,
I've just installed Nagios core and when i issue the command to verify the main configuration file below error is displaying. If there is any issue with any of the configuration files usually it should give error on specific config file. With this error i'm not able to find what is the exact issue. Main config file permissions are given below. Need your suggestions to overcome this error.
-rw-rw-r-- 1 nagios nagios 43774 /opt/local/nagios/etc/nagios.cfg
_________________________________________________________________________________
# /opt/local/nagios/bin/nagios -v /opt/local/nagios/etc/nagios.cfg
Nagios Core 3.3.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 07-25-2011
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Unable to open main config file '/opt/local/nagios/etc/nagios.cfg'
Error processing object config files!
***> 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 regarding the config files, as well as the
'Whats New' section to find out what has changed.
I've just installed Nagios core and when i issue the command to verify the main configuration file below error is displaying. If there is any issue with any of the configuration files usually it should give error on specific config file. With this error i'm not able to find what is the exact issue. Main config file permissions are given below. Need your suggestions to overcome this error.
-rw-rw-r-- 1 nagios nagios 43774 /opt/local/nagios/etc/nagios.cfg
_________________________________________________________________________________
# /opt/local/nagios/bin/nagios -v /opt/local/nagios/etc/nagios.cfg
Nagios Core 3.3.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 07-25-2011
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Unable to open main config file '/opt/local/nagios/etc/nagios.cfg'
Error processing object config files!
***> 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 regarding the config files, as well as the
'Whats New' section to find out what has changed.