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 <[email protected]> wrote:
From: Jim Avery <[email protected]>
Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to
access Nagios on the browser
To: "Nagios Users List" <[email protected]>
Date: Wednesday, 25 August, 2010, 5:29 PM
On 25 August 2010 14:55, Ifeanyi Agu <[email protected]> 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
[email protected]
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
------------------------------------------------------------------------------
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
[email protected]
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