Error: Could not read object configuration data!

Marc Powell marc at ena.com
Wed Jan 30 00:48:17 CET 2008



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of doug fink
> Sent: Tuesday, January 29, 2008 5:08 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Error: Could not read object configuration
data!
> 
> 
> FAQ ID F0332 describes the problem I am having, but I do not
understand
> the meaning or how to check/verify the third item (3.)
> Specifically I do not understand  (default text file or template-based
> file)  Are these separate configure options?

It's a holdover from the Netsaint/Nagios-1 days. You're using
template-based.
 
> I am running Red Hat Enterprise Linux ES release 3    2.4.21-9.EL,
Nagios
> 2.10, Pluggins  1.4.11, and gd 2.0.36.

Is SELinux enabled? That could be a problem if you haven't given proper
access to the nagios files from httpd.


> 1. nagios -v looks good.     ( Total Warnings: 0 Total Errors:   0 )
> 2. log file shows   ( no errors )
> [1201628088] Nagios 2.10 starting... (PID=2331)
> [1201628088] LOG VERSION: 2.0
> [1201628088] Finished daemonizing... (New PID=2332)
> 
> ( daemon is running.)
> nagios    2332     1  0 11:34 ?        00:00:00
> /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
> 
> 3.   ?

PROFIT?!
 
> Everything seemed to install properly. The
directories/files/permissions
> all look good. I can successfully run the check_ping and check_http.
I

What are the permissions on /usr/local/nagios/var/objects.cache,
status.dat and directories above. They should be such that your web
server can read them. Typically the files are 644 and 664 nagios:nagios
respectively, directories 755. Again, SELinux could be getting you here
if you have the normal file permissions set correctly. Also, does
objects.cache have content fairly closely matching your config (all
templates expanded)?

--
Marc


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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