<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi all,<BR>
<BR>
I installed Nagios on a 32-bit system (CentOS 5.3) following the directions given here: <A href="http://docs.cslabs.clarkson.edu/wiki/Install_Nagios_on_CentOS_5">http://docs.cslabs.clarkson.edu/wiki/Install_Nagios_on_CentOS_5</A> <BR>
<BR>
Everything went well and I ran <FONT face="Bitstream Vera Sans Mono">nagios -v /etc/nagios/nagios.cfg</FONT> and got no errors or warnings. But when I tried to start Nagios, it failed. <BR>
<BR>
Checked the log file and it reads:<BR>
<BR>[1277993818] Error in configuration file '/etc/nagios/nagios.cfg' - Line 466 (Check result path is not a valid directory)<BR>[1277993818] Nagios 3.2.1 starting... (PID=27996)<BR>[1277993818] Local time is Thu Jul 01 10:16:58 EDT 2010<BR>[1277993818] LOG VERSION: 2.0<BR>[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)<BR>
<BR>
Then I opened nagios.cfg file and found this: <BR>check_result_path=/var/nagios/spool/checkresults<BR>
<BR>
I am pretty sure it's a permission error, but can't seem to fix it. I tried the followings:<BR>
<BR>
chmod 777 /var/nagios/spool/checkresults<BR>chown -R nagios apache /var/nagios/spool/checkresults<BR>
./usermod nagios apache<BR>chown -R apache:nagios checkresults<BR>
<BR>
And some more permission commands, but no luck. I would really appreciate it if someone could please help me with this.<BR>
<BR>
Thanks,<BR>
h<BR>
<BR>
<BR>
<BR> <BR>
<DIV><FONT color=#ff0000><STRONG>
<DIV><FONT color=#ff0000><STRONG></STRONG></FONT> </DIV></STRONG></FONT></DIV><BR><BR> <br /><hr />Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. <a href='http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1' target='_new'>Learn more.</a></body>
</html>