Error: Could not read object configuration data!

Chantal Rosmuller chantal at antenna.nl
Thu Jun 5 16:09:24 CEST 2008


Yes it is, but I changed the permissions already and they are ok now, at least 
I think they should be okay:


servername:~# ls -la /etc/nagios2
total 192
drwxr-xr-x   4 nagios www-data  4096 2008-06-05 15:00 .
drwxr-xr-x 125 root   root      8192 2008-06-05 11:02 ..
-rw-r--r--   1 nagios www-data  1598 2008-05-13 13:18 apache2.conf
-rw-r--r--   1 nagios root     13261 2008-06-05 14:01 cgi.cfg
-rw-r--r--   1 nagios www-data  1830 2008-06-05 10:46 checkcommands.cfgd
drwxr-xr-x   2 nagios www-data  4096 2008-06-05 11:05 conf.d
-rw-r--r--   1 nagios www-data  1926 2008-06-05 10:46 contactgroups.cfg
-rw-r--r--   1 nagios www-data  3945 2008-06-05 10:46 contacts.cfg
-rw-r--r--   1 nagios www-data  1662 2008-06-05 10:46 dependencies.cfg
-rw-r--r--   1 nagios www-data  2256 2008-06-05 10:46 escalations.cfg
-rw-r--r--   1 nagios www-data  4585 2008-06-05 15:00 hostgroups.cfg
-rw-r--r--   1 nagios www-data 11072 2008-06-05 12:56 hosts.cfg
-rw-r--r--   1 nagios www-data 13544 2008-06-05 10:46 minimal.cfg
-rw-r--r--   1 nagios www-data  6542 2008-06-05 13:06 misccommands.cfg
-rw-r--r--   1 nagios www-data 21702 2008-06-05 12:35 nagios.cfg
-rw-r--r--   1 nagios www-data  4692 2008-06-05 10:46 nrpe.cfg
-rw-r--r--   1 nagios www-data     0 2008-06-05 10:46 nrpe_local.cfg
-rw-r-----   1 nagios www-data  3100 2008-06-05 10:46 resource.cfg
-rw-r--r--   1 nagios www-data  6363 2008-06-05 10:46 services.cfg
drwxr-xr-x   2 nagios www-data  4096 2007-03-04 23:56 stylesheets
-rw-r--r--   1 nagios www-data  1863 2008-06-05 10:46 timeperiods.cfg


On Thursday 05 June 2008 16:03:36 Frank J. Gómez wrote:
> Is it possible that the upgrader changed permissions/ownership of some
> config file(s) in /etc/nagios/?
>
> On Thu, Jun 5, 2008 at 8:02 AM, Chantal Rosmuller <chantal at antenna.nl>
>
> wrote:
> > On Thursday 05 June 2008 13:18:13 Chantal Rosmuller wrote:
> > > Hi list,
> > >
> > > after upgrading from 1.4 to 2.6 on a debian system the webinterface is
> >
> > not
> >
> > > working anymore, if I click on a menu link I get:
> > >
> > > Error: Could not read object configuration data!
> > >
> > > the nagios documentation says:
> > >
> > >    1. Verify configuration options using the -v command-line option to
> > > check for errors.
> > >    2. Check the Nagios log file for messages relating to startup or
> >
> > status
> >
> > > data errors.
> > >    3. Make sure you've compiled the main program and the CGIs to use
> > > the same object data storage options (i.e. default text file or
> >
> > template-based
> >
> > > file).
> > >
> > > I tried 1 but no errors
> > > same for option 2
> > > 3, I didn't compile but I used aptitude, so I guess that cannot be the
> > > problem?
> > >
> > >
> > > -----------------------------------------------------------------------
> > >-- Check out the new SourceForge.net Marketplace.
> > > It's the best place to buy or sell services for
> > > just about anything Open Source.
> > > http://sourceforge.net/services/buy/index.php
> > > _______________________________________________
> > > 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
> >
> > The nagios daemon is running by the way.
> >
> >
> >
> > -------------------------------------------------------------------------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________
> > 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



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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