Hi Ifeanyi,

The issue points to a permission issue - how did you install nagios? Did you
compile it or you used a package manager to install. What environment are
you using? Redhat - Centos? What version of nagios did you install/

Alex

On Wed, Aug 25, 2010 at 12:15 PM, Ifeanyi Agu <ifepet2...@yahoo.com> wrote:

>   Hello Alex,
>
> I have the changed the owner and group of the file to nagios but I still
> get the same error in nagios.log file when I try to start nagios. I tried
> this when logged in as the root user. I then logged in as nagios user and I
> could not even start apache or nagios. It was telling me that service is not
> a command it recognises. Please, please, please help me. Am running outta
> time
>
> Ifeanyi Agu
> 08063728802
>
> --- On *Wed, 25/8/10, Alex Dehaini <alexdeha...@gmail.com>* wrote:
>
>
> From: Alex Dehaini <alexdeha...@gmail.com>
>
> Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to
> access Nagios on the browser
> To: "Nagios Users List" <nagios-users@lists.sourceforge.net>
> Date: Wednesday, 25 August, 2010, 5:48 PM
>
>
> Permission issue - have nagios user and group own the file; heck the entire
> directory, :)
>
> On Wed, Aug 25, 2010 at 11:42 AM, Ifeanyi Agu 
> <ifepet2...@yahoo.com<http://mc/compose?to=ifepet2...@yahoo.com>
> > wrote:
>
>   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 
> <j...@jimavery.me.uk<http://mc/compose?to=...@jimavery.me.uk>
> >* wrote:
>
>
> From: Jim Avery <j...@jimavery.me.uk<http://mc/compose?to=...@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@lists.sourceforge.net<http://mc/compose?to=nagios-us...@lists.sourceforge.net>
> >
> Date: Wednesday, 25 August, 2010, 5:29 PM
>
>
> On 25 August 2010 14:55, Ifeanyi Agu 
> <ifepet2...@yahoo.com<http://mc/compose?to=ifepet2...@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@lists.sourceforge.net<http://mc/compose?to=nagios-us...@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
>
>
>
>
> ------------------------------------------------------------------------------
> 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@lists.sourceforge.net<http://mc/compose?to=nagios-us...@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
>
>
>
> -----Inline Attachment Follows-----
>
>
>
> ------------------------------------------------------------------------------
> 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
>
> -----Inline Attachment Follows-----
>
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net<http://mc/compose?to=nagios-us...@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
>
>
>
>
> ------------------------------------------------------------------------------
> 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@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
>
------------------------------------------------------------------------------
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@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

Reply via email to