Web interface errors

Deborah Martin Deborah.Martin at kognitio.com
Wed Sep 14 12:47:20 CEST 2011



Check that /usr/local/nagios/var/rw/nagios.cmd is owned / exectuable by the nagios user.  



-----Original Message-----
From: mail at catsnest.co.uk [mailto:mail at catsnest.co.uk] 
Sent: 14 September 2011 11:42
To: Nagios Users List
Subject: Re: [Nagios-users] Web interface errors

On Tue, Sep 13, 2011 at 7:27 PM, Jim Nachlin <jim.nachlin at gawker.com> wrote:
> Hi,
>
> I'm receiving the most common, dreaded "Error: Could not read object 
> configuration data!" message on all of my cgi-generated web interface 
> pages.
>
> My configuration files have no warnings in them.
>
> /var/log/nagios/nagios.log does not give me any hints.  There are no 
> errors in the Apache logs.
>
> Checks are actually working - so the non-web part of Nagios is OK.
>
> I am running the RPM version on RHEL6: nagios-3.2.3-8.el6.x86_64 and 
> nagios-common-3.2.3-8.el6.x86_64, plus a number of plugins, also from 
> RPM.
>
> SELinux is set to "permissive".
>
> I am about at my wit's end.  Since there are no errors in any log 
> file, I don't know what to try next.  Is there some file ownership or 
> permissions settings I could change?  Most of what's under /etc/nagios 
> is owned by nagios:nagios, with the exception of the passwd file, 
> group apache.  The nagios process itself is also owned by nagios user.
>  /usr/share/nagios/ is chowned -R nagios.
>
> Thanks in advance for any suggestions.
>

Try adding apache to the nagios group...
As Apache needs to be able to read the object file thats where the cgis get there data from.

Ritchie,
--
<-- http://23.me.uk/2 -->
<--Time flies like an arrow; fruit flies like a banana.  -->


> -Jim
>
> ----------------------------------------------------------------------
> -------- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, 
> CA Learn about the latest advances in developing for the 
> BlackBerry® mobile platform with sessions, labs & more.
> See new tools and technologies. Register for BlackBerry® DevCon today!
> http://p.sf.net/sfu/rim-devcon-copy1
> _______________________________________________
> 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
>

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1
_______________________________________________
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
Attend complimentary seminar in New York City. Stop Dreaming make virtual cubes a reality, for those who face OLAP cube nightmares Register Now at http://www.kognitio.com/stopdreaming

This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.  If you are not the intended recipient, please delete this e-mail immediately.  Any unauthorised distribution or copying is strictly prohibited.

Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused



------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
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