Error: Cannot open main configuration file '/usr/local/nagios/etc/nagios.cfg' for reading!

Scott McCoy smccoy at mdah.state.ms.us
Thu Jan 24 17:41:05 CET 2008


When using the Fedora Quickstart, I get to step 7 and type 
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg and I 
get the following error

Error: Cannot open main configuration file 
'/usr/local/nagios/etc/nagios.cfg' for reading!

I have check the permissions on /usr/local/nagios/etc/nagios.cfg and 
nagios  owner's the file.

[root at server smccoy]# ls -l /usr/local/nagios/etc/
total 68
-rw-rw-r-- 1 nagios nagios 10459 Jan 24 09:47 cgi.cfg
-rw-r--r-- 1  root   root      26 Jan 24 09:34 htpasswd.users
-rw-r--r-- 1  nagios nagios 42466 Jan 24 09:54 nagios.cfg
drwxrwxr-x 2 nagios nagios  4096 Jan 24 09:47 objects
-rw-rw---- 1 nagios nagios  1341 Jan 24 09:47 resource.cfg

Thanks



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list