Web interface errors

mail at catsnest.co.uk mail at catsnest.co.uk
Wed Sep 14 12:42:00 CEST 2011


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


More information about the Users mailing list