You have to reinstall all the ZenPacks you had before blowing away your 
old database; the objects in the database are looking for code that 
isn't there anymore.

bezell wrote:
> I've had to restore the DB from backup to a new, clean instance of Zenoss 
> Core.  Now the following daemons will not start:
>
> zenping
> zenstatus
> zenperfsnmp
> zenstatus
> zencommand
> zenprocess
>
> This is a from the zenperfsnmp.log:
>
>
> Code:
> 2009-03-04 10:12:08 INFO zen.zenperfsnmp: Initializing daemon...
> 2009-03-04 10:12:08 INFO zen.zenperfsnmp: Connected to ZenHub
> 2009-03-04 10:12:08 INFO zen.zenperfsnmp: Fetching property items...
> 2009-03-04 10:12:08 INFO zen.zenperfsnmp: Getting threshold classes...
> 2009-03-04 10:12:08 ERROR zen.zenperfsnmp: [Failure instance: Traceback 
> (failure with no frames): Products.ZenHub.PBDaemon.RemoteException: Remote 
> exception: exceptions.AttributeError: 'ZenPack' object has no attribute 
> '__of__'Traceback (most recent call last):
>   File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 52, in 
> inner
>     return callable(*args, **kw)
>   File "/usr/local/zenoss/zenoss/Products/ZenHub/services/ThresholdMixin.py", 
> line 22, in remote_getThresholdClasses
>     for pack in self.dmd.ZenPackManager.packs():
>   File 
> "/usr/local/zenoss/zenoss/Products/ZenRelations/ToManyContRelationship.py", 
> line 67, in __call__
>     return [ob.__of__(self) for ob in self._objects.values()]
> AttributeError: 'ZenPack' object has no attribute '__of__'
>
> ]
> Traceback (most recent call last):
>   File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 49, in 
> _next
>     self.iter.next().addBoth(self._finish)
>   File "/usr/local/zenoss/zenoss/Products/ZenRRD/zenperfsnmp.py", line 469, 
> in startUpdateConfig
>     self.remote_updateThresholdClasses(driver.next())
>   File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 64, in 
> result
>     raise ex
> RemoteException: Remote exception: exceptions.AttributeError: 'ZenPack' 
> object has no attribute '__of__'Traceback (most recent call last):
>   File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 52, in 
> inner
>     return callable(*args, **kw)
>   File "/usr/local/zenoss/zenoss/Products/ZenHub/services/ThresholdMixin.py", 
> line 22, in remote_getThresholdClasses
>     for pack in self.dmd.ZenPackManager.packs():
>   File 
> "/usr/local/zenoss/zenoss/Products/ZenRelations/ToManyContRelationship.py", 
> line 67, in __call__
>     return [ob.__of__(self) for ob in self._objects.values()]
> AttributeError: 'ZenPack' object has no attribute '__of__'
>
> 2009-03-04 10:12:08 INFO zen.zenperfsnmp: delete pidfile 
> /usr/local/zenoss/zenoss/var/zenperfsnmp-localhost.pid
> 2009-03-04 10:12:08 INFO zen.zenperfsnmp: Daemon zenperfsnmp shutting down
> 2009-03-04 10:12:08 INFO zen.zenperfsnmp: zenperfsnmp shutting down
>
>
>
>
>
> I don't want to lose my collected data.  Any help is greatly appreciated.
>
>
>
>
> -------------------- m2f --------------------
>
> Read this topic online here:
> http://forums.zenoss.com/viewtopic.php?p=31898#31898
>
> -------------------- m2f --------------------
>
>
>
> _______________________________________________
> zenoss-users mailing list
> [email protected]
> http://lists.zenoss.org/mailman/listinfo/zenoss-users
>   

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to