heck result path is not a valid directory

Honia A honia2002 at hotmail.com
Thu Jul 1 16:28:59 CEST 2010


Hi all,

 

I installed Nagios on a 32-bit system (CentOS 5.3) following the directions given here: http://docs.cslabs.clarkson.edu/wiki/Install_Nagios_on_CentOS_5 

 

Everything went well and I ran nagios -v /etc/nagios/nagios.cfg and got no errors or warnings. But when I tried to start Nagios, it failed. 

 

Checked the log file and it reads:


[1277993818] Error in configuration file '/etc/nagios/nagios.cfg' - Line 466 (Check result path is not a valid directory)
[1277993818] Nagios 3.2.1 starting... (PID=27996)
[1277993818] Local time is Thu Jul 01 10:16:58 EDT 2010
[1277993818] LOG VERSION: 2.0
[1277993818] Bailing out due to one or more errors encountered in the configuration files. Run Nagios from the command line with the -v option to verify your config before restarting. (PID=27996)

 

Then I opened nagios.cfg file and found this: 
check_result_path=/var/nagios/spool/checkresults

 

I am pretty sure it's a permission error, but can't seem to fix it. I tried the followings:

 

chmod 777 /var/nagios/spool/checkresults
chown -R  nagios apache /var/nagios/spool/checkresults

./usermod nagios apache
chown -R apache:nagios checkresults

 

And some more permission commands, but no luck. I would really appreciate it if someone could please help me with this.

 

Thanks,

h

 

 


 


 

 		 	   		  
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100701/ec967499/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
-------------- next part --------------
_______________________________________________
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