Page 1 of 1

Could Not Open Config Directory Error

Posted: Sun Apr 26, 2015 5:35 am
by rlinux57
Getting below error while restarting:
================================================================================
service nagios restart
Running configuration check...

Nagios Core 4.0.8
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2014
License: GPL

Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Could not open config directory '/etc/nagios/servers' for reading.
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.
==========================================================================

Re: Could Not Open Config Directory Error

Posted: Mon Apr 27, 2015 10:34 am
by abrist
Does the folder exist? What permissions does it have and it's parent have?

Code: Select all

ls -lad /etc/nagios/servers
ls -lad /etc/nagios

Re: Could Not Open Config Directory Error

Posted: Sat Sep 12, 2015 2:01 am
by rlinux57
I have resolved the issue, please marked as close.