dgo184 [http://community.zenoss.org/people/dgo184] created the discussion
"Re: Unable to send alerts."
To view the discussion, visit: http://community.zenoss.org/message/71618#71618
--------------------------------------------------------------
Hi,
I reinstalled the os and zenoss 4.2.3 and after doing a zenrestore the zenhub deamon is not starting. When I run the command zenhub run -v10 this is the output i get.
*2013-02-21 14:12:50,368 DEBUG zen.PropertyManager: Property zRPCCommand is deprecated. It should be removed from the system.*
*2013-02-21 14:12:50,403 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/Products/DataCollector/plugins*
*2013-02-21 14:12:50,407 INFO zen.Relations: Ignoring unresolvable object '<persistent broken ZenPacks.zenoss.RPCMonitor.ZenPack instance '\x00\x00\x00\x00\x00\x01\xca\xd1'>'*
*2013-02-21 14:12:50,408 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.ActiveDirectory-2.1.0-py2.7.egg/ZenPacks/zenoss/ActiveDirectory/modeler/plugins*
*2013-02-21 14:12:50,410 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.ApacheMonitor-2.1.3-py2.7.egg/ZenPacks/zenoss/ApacheMonitor/modeler/plugins*
*2013-02-21 14:12:50,411 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.DellMonitor-2.2.0-py2.7.egg/ZenPacks/zenoss/DellMonitor/modeler/plugins*
*2013-02-21 14:12:50,412 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.DeviceSearch-1.2.0-py2.7.egg/ZenPacks/zenoss/DeviceSearch/modeler/plugins*
*2013-02-21 14:12:50,413 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.DigMonitor-1.1.0-py2.7.egg/ZenPacks/zenoss/DigMonitor/modeler/plugins*
*2013-02-21 14:12:50,414 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.DnsMonitor-2.1.0-py2.7.egg/ZenPacks/zenoss/DnsMonitor/modeler/plugins*
*2013-02-21 14:12:50,416 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.EsxTop-1.1.0-py2.7.egg/ZenPacks/zenoss/EsxTop/modeler/plugins*
*2013-02-21 14:12:50,417 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.FtpMonitor-1.1.0-py2.7.egg/ZenPacks/zenoss/FtpMonitor/modeler/plugins*
*2013-02-21 14:12:50,418 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.HPMonitor-2.1.0-py2.7.egg/ZenPacks/zenoss/HPMonitor/modeler/plugins*
*2013-02-21 14:12:50,420 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.HttpMonitor-2.1.0-py2.7.egg/ZenPacks/zenoss/HttpMonitor/modeler/plugins*
*2013-02-21 14:12:50,422 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.IISMonitor-2.0.2-py2.7.egg/ZenPacks/zenoss/IISMonitor/modeler/plugins*
*2013-02-21 14:12:50,423 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.IRCDMonitor-1.1.0-py2.7.egg/ZenPacks/zenoss/IRCDMonitor/modeler/plugins*
*2013-02-21 14:12:50,424 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.JabberMonitor-1.1.0-py2.7.egg/ZenPacks/zenoss/JabberMonitor/modeler/plugins*
*2013-02-21 14:12:50,425 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.LDAPMonitor-1.4.0-py2.7.egg/ZenPacks/zenoss/LDAPMonitor/modeler/plugins*
*2013-02-21 14:12:50,426 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.LinuxMonitor-1.2.0-py2.7.egg/ZenPacks/zenoss/LinuxMonitor/modeler/plugins*
*2013-02-21 14:12:50,427 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.MSExchange-2.0.4-py2.7.egg/ZenPacks/zenoss/MSExchange/modeler/plugins*
*2013-02-21 14:12:50,429 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.MSMQMonitor-1.2.1-py2.7.egg/ZenPacks/zenoss/MSMQMonitor/modeler/plugins*
*2013-02-21 14:12:50,431 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.MSSQLServer-2.0.3-py2.7.egg/ZenPacks/zenoss/MSSQLServer/modeler/plugins*
*2013-02-21 14:12:50,433 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.MySqlMonitor-2.2.0-py2.7.egg/ZenPacks/zenoss/MySqlMonitor/modeler/plugins*
*2013-02-21 14:12:50,434 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.NNTPMonitor-1.1.0-py2.7.egg/ZenPacks/zenoss/NNTPMonitor/modeler/plugins*
*2013-02-21 14:12:50,435 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.NtpMonitor-2.2.0-py2.7.egg/ZenPacks/zenoss/NtpMonitor/modeler/plugins*
*2013-02-21 14:12:50,436 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.PySamba-1.0.0-py2.7-linux-x86_64.egg/ZenPacks/zenoss/PySamba/modeler/plugins*
*2013-02-21 14:12:50,438 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.WindowsMonitor-1.0.5-py2.7.egg/ZenPacks/zenoss/WindowsMonitor/modeler/plugins*
*2013-02-21 14:12:50,440 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.XenMonitor-1.1.0-py2.7.egg/ZenPacks/zenoss/XenMonitor/modeler/plugins*
*2013-02-21 14:12:50,442 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.ZenAWS-1.1.0-py2.7.egg/ZenPacks/zenoss/ZenAWS/modeler/plugins*
*2013-02-21 14:12:50,443 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.ZenJMX-3.9.3-py2.7.egg/ZenPacks/zenoss/ZenJMX/modeler/plugins*
*2013-02-21 14:12:50,445 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.ZenossVirtualHostMonitor-2.4.0-py2.7.egg/ZenPacks/zenoss/ZenossVirtualHostMonitor/modeler/plugins*
*2013-02-21 14:12:50,446 INFO zen.HubService.RenderConfig: Starting graph retrieval listener on port 8090*
*2013-02-21 14:12:50,453 DEBUG zen.Events: =============== incoming event ===============*
*2013-02-21 14:12:50,455 DEBUG zen.queuepublisher: About to publish this event to the raw event queue:uuid: "64b32a12-7c28-11e2-81d5-00199997b946"*
*created_time: 1361452370453*
*event_class: "/App/Start"*
*actor {*
*Â element_type_id: DEVICE*
*Â element_identifier: "localhost"*
*Â element_sub_type_id: COMPONENT*
*Â element_sub_identifier: "zenhub"*
*}*
*summary: "zenhub started"*
*severity: SEVERITY_CLEAR*
*event_key: ""*
*first_seen_time: 1361452370453*
*, with this routing key: zenoss.zenevent.app.start*
*2013-02-21 14:12:53,459 CRITICAL zen.zenoss.protocols.amqp: Could not use exchange $RawZenEvents: [Errno 104] Connection reset by peer*
*2013-02-21 14:12:53,459 CRITICAL zen.Events: Unable to publish event: [Errno 104] Connection reset by peer*
*Exception socket.error: (107, 'Transport endpoint is not connected') in <bound method TCPTransport.__del__ of <amqplib.client_0_8.transport.TCPTransport object at 0x4e4fd90>> ignored*
*Traceback (most recent call last):*
*Â File "/opt/zenoss/Products/ZenHub/zenhub.py", line 985, in <module>*
*Â Â Â z = ZenHub()*
*Â File "/opt/zenoss/Products/ZenHub/zenhub.py", line 430, in __init__*
*Â Â Â self._initialize_invalidation_filters()*
*Â File "/opt/zenoss/Products/ZenHub/zenhub.py", line 513, in _initialize_invalidation_filters*
*Â Â Â fltr.initialize(self.dmd)*
*Â File "/opt/zenoss/Products/ZenHub/invalidationfilter.py", line 71, in initialize*
*Â Â Â results[brain.getPath()] = self.organizerChecksum(obj)*
*Â File "/opt/zenoss/Products/ZenHub/invalidationfilter.py", line 94, in organizerChecksum*
*Â Â Â self.generateChecksum(organizer, m)*
*Â File "/opt/zenoss/Products/ZenHub/invalidationfilter.py", line 141, in generateChecksum*
*Â Â Â tpl.exportXml(s)*
*Â File "/opt/zenoss/Products/ZenRelations/RelationshipManager.py", line 286, in exportXml*
*Â Â Â self.exportXmlRelationships(ofile, ignorerels)*
*Â File "/opt/zenoss/Products/ZenRelations/RelationshipManager.py", line 338, in exportXmlRelationships*
*Â Â Â rel.exportXml(ofile, ignorerels)*
*Â File "/opt/zenoss/Products/ZenRelations/ToOneRelationship.py", line 194, in exportXml*
*Â Â Â self.id, self.obj.getPrimaryId()))*
*AttributeError: 'ZenPack' object has no attribute 'getPrimaryId'*
Not sure if it is a zenpack error or something else. Can anyone help out.
Thanks in advance.

--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/71618#71618]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]