@alex You stole my answer! ;)<div><br></div><div>But just in case, @<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; color: rgb(80, 0, 80); ">Ifeanyi</span></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>
<br></div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<font class="Apple-style-span" face="'courier new', monospace"># chown -R nagios:nagios /usr/local/nagios/</font></blockquote><div><font class="Apple-style-span" face="arial, sans-serif"><br clear="all"></font>Regards,<br>
<br>Justin Dorfman<br>Mahalo.com Inc. > Jr. Systems Engineer<br><a href="http://www.twitter.com/jdorfman" target="_blank">@jdorfman</a> | <a href="http://twitter.com/MahaloSysops" target="_blank">@MahaloSysops</a> | Blog: <a href="http://bit.ly/aNiWSk" target="_blank">http://bit.ly/aNiWSk</a><br>

<br><br><div class="gmail_quote">On Wed, Aug 25, 2010 at 9:48 AM, Alex Dehaini <span dir="ltr"><<a href="mailto:alexdehaini@gmail.com">alexdehaini@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Permission issue - have nagios user and group own the file; heck the entire directory, :)<div><div></div><div class="h5"><br><br>
<div class="gmail_quote">On Wed, Aug 25, 2010 at 11:42 AM, Ifeanyi Agu <span dir="ltr"><<a href="mailto:ifepet2002@yahoo.com" target="_blank">ifepet2002@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid">
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td valign="top">Hello Jim,<br><br>I used that command to test and there are 0 warnings and o errors. I also checked my Nagios log and this is what I got<br><br>[1282635168] Nagios 3.2.1 starting... (PID=4250)<br>[1282635168] Local time is Tue Aug 24 08:32:48 WAT 2010<br>

[1282635168] LOG VERSION: 2.0<br>[1282635168] Warning: Could not open object cache file '/usr/local/nagios/var/objects.cache' for writing!<br>[1282635168] Failed to obtain lock on file /usr/local/nagios/var/nagios.lock: Permission denied<br>

[1282635168] Bailing out due to errors encountered while attempting to daemonize... (PID=4250)<br><br>Please do you know why am not able to write to the file?<br><br>Thanks a lot for the support so far 
<div><br><br>Ifeanyi Agu<br>08063728802<br><br>--- On <b>Wed, 25/8/10, Jim Avery <i><<a href="mailto:jim@jimavery.me.uk" target="_blank">jim@jimavery.me.uk</a>></i></b> wrote:<br></div>
<blockquote style="padding-left:5px;margin-left:5px;border-left:rgb(16,16,255) 2px solid">
<div><br>From: Jim Avery <<a href="mailto:jim@jimavery.me.uk" target="_blank">jim@jimavery.me.uk</a>><br>Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser<br>
To: "Nagios Users List" <<a href="mailto:nagios-users@lists.sourceforge.net" target="_blank">nagios-users@lists.sourceforge.net</a>><br></div>Date: Wednesday, 25 August, 2010, 5:29 PM 
<div>
<div></div>
<div><br><br>
<div>On 25 August 2010 14:55, Ifeanyi Agu <<a href="http://mc/compose?to=ifepet2002@yahoo.com" target="_blank">ifepet2002@yahoo.com</a>> wrote:<br>><br>> Hello Jim,<br>><br>> Thanks for the help so far. I disabled SELinux and I tried starting Nagios again but I noticed that Nagios was not running. I am logged in as the root user in the Linux. Could that be the problem why my Nagios is not running?<br>

<br>I wouldn't have thought that would be the problem, no.<br><br>Take a look at the nagios log file which is probably<br>/usr/local/nagios/var/nagios.log<br><br>Don't forget my earlier recommendation to validate the Nagios config like so:<br>

<br>  /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg<br><br>Did you try that, and if so what did it say?<br><br>Cheers,<br><br>Jim<br><br>------------------------------------------------------------------------------<br>

Sell apps to millions through the Intel(R) Atom(Tm) Developer Program<br>Be part of this innovative community and reach millions of netbook users <br>worldwide. Take advantage of special opportunities to increase revenue and <br>

speed time-to-market. Join now, and jumpstart your future.<br><a href="http://p.sf.net/sfu/intel-atom-d2d" target="_blank">http://p.sf.net/sfu/intel-atom-d2d</a><br>_______________________________________________<br>Nagios-users mailing list<br>

<a href="http://mc/compose?to=Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>

::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <br>::: Messages without supporting info will risk being sent to /dev/null<br></div></div></div></blockquote></td></tr></tbody></table>

<br><br>------------------------------------------------------------------------------<br>Sell apps to millions through the Intel(R) Atom(Tm) Developer Program<br>Be part of this innovative community and reach millions of netbook users<br>

worldwide. Take advantage of special opportunities to increase revenue and<br>speed time-to-market. Join now, and jumpstart your future.<br><a href="http://p.sf.net/sfu/intel-atom-d2d" target="_blank">http://p.sf.net/sfu/intel-atom-d2d</a><br>

_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>

::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>
</div></div><br>------------------------------------------------------------------------------<br>
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program<br>
Be part of this innovative community and reach millions of netbook users<br>
worldwide. Take advantage of special opportunities to increase revenue and<br>
speed time-to-market. Join now, and jumpstart your future.<br>
<a href="http://p.sf.net/sfu/intel-atom-d2d" target="_blank">http://p.sf.net/sfu/intel-atom-d2d</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br></div>