Internal Server Error Occuring when trying to access Nagios on the browser

Ifeanyi Agu ifepet2002 at yahoo.com
Wed Aug 25 18:42:46 CEST 2010


Hello Jim,

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

[1282635168] Nagios 3.2.1 starting... (PID=4250)
[1282635168] Local time is Tue Aug 24 08:32:48 WAT 2010
[1282635168] LOG VERSION: 2.0
[1282635168] Warning: Could not open object cache file '/usr/local/nagios/var/objects.cache' for writing!
[1282635168] Failed to obtain lock on file /usr/local/nagios/var/nagios.lock: Permission denied
[1282635168] Bailing out due to errors encountered while attempting to daemonize... (PID=4250)

Please do you know why am not able to write to the file?

Thanks a lot for the support so far

Ifeanyi Agu

08063728802

--- On Wed, 25/8/10, Jim Avery <jim at jimavery.me.uk> wrote:

From: Jim Avery <jim at jimavery.me.uk>
Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser
To: "Nagios Users List" <nagios-users at lists.sourceforge.net>
Date: Wednesday, 25 August, 2010, 5:29 PM

On 25 August 2010 14:55, Ifeanyi Agu <ifepet2002 at yahoo.com> wrote:
>
> Hello Jim,
>
> 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?

I wouldn't have thought that would be the problem, no.

Take a look at the nagios log file which is probably
/usr/local/nagios/var/nagios.log

Don't forget my earlier recommendation to validate the Nagios config like so:

  /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Did you try that, and if so what did it say?

Cheers,

Jim

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100825/b45fb1a9/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
-------------- 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