Discussion:
Zenhub will not start on 3.2.1
Sean Mueller
2012-09-11 15:17:34 UTC
Permalink
Sean Mueller [http://community.zenoss.org/people/smueller] created the discussion

"Zenhub will not start on 3.2.1"

To view the discussion, visit: http://community.zenoss.org/message/68506#68506

--------------------------------------------------------------
Having an issue getting Zenhub to start.  I've searched thru the posts here and verified its stopped, there's no extra pids that needs to be removed, the .zec persistent cache file isnt there, mysql is running, but still no luck.  This is the output when trying to start it.

[***@zenoss etc]$ zenhub run -v10
2012-09-11 10:11:54,207 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/Products/DataCollector/plugins
2012-09-11 10:11:54,217 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/Products/ZenWin/modeler/plugins
2012-09-11 10:11:54,253 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.ApacheMonitor-2.1.2-py2.6.egg/ZenPacks/zenoss/ApacheMonitor/modeler/plugins
2012-09-11 10:11:54,255 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.DellMonitor-2.1.0-py2.6.egg/ZenPacks/zenoss/DellMonitor/modeler/plugins
2012-09-11 10:11:54,257 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.DigMonitor-1.0.2-py2.6.egg/ZenPacks/zenoss/DigMonitor/modeler/plugins
2012-09-11 10:11:54,258 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.DnsMonitor-2.0.2-py2.6.egg/ZenPacks/zenoss/DnsMonitor/modeler/plugins
2012-09-11 10:11:54,260 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.EsxTop-1.0.3-py2.6.egg/ZenPacks/zenoss/EsxTop/modeler/plugins
2012-09-11 10:11:54,263 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.FtpMonitor-1.0.2-py2.6.egg/ZenPacks/zenoss/FtpMonitor/modeler/plugins
2012-09-11 10:11:54,264 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.HPMonitor-2.1.0-py2.6.egg/ZenPacks/zenoss/HPMonitor/modeler/plugins
2012-09-11 10:11:54,266 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.HttpMonitor-2.0.3-py2.6.egg/ZenPacks/zenoss/HttpMonitor/modeler/plugins
2012-09-11 10:11:54,267 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.IRCDMonitor-1.0.2-py2.6.egg/ZenPacks/zenoss/IRCDMonitor/modeler/plugins
2012-09-11 10:11:54,269 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.JabberMonitor-1.0.2-py2.6.egg/ZenPacks/zenoss/JabberMonitor/modeler/plugins
2012-09-11 10:11:54,270 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.LDAPMonitor-1.2.3-py2.6.egg/ZenPacks/zenoss/LDAPMonitor/modeler/plugins
2012-09-11 10:11:54,272 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.LinuxMonitor-1.1.5-py2.6.egg/ZenPacks/zenoss/LinuxMonitor/modeler/plugins
2012-09-11 10:11:54,274 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.MySqlMonitor-2.1.2-py2.6.egg/ZenPacks/zenoss/MySqlMonitor/modeler/plugins
2012-09-11 10:11:54,276 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.NNTPMonitor-1.0.2-py2.6.egg/ZenPacks/zenoss/NNTPMonitor/modeler/plugins
2012-09-11 10:11:54,277 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.NtpMonitor-2.0.3-py2.6.egg/ZenPacks/zenoss/NtpMonitor/modeler/plugins
2012-09-11 10:11:54,279 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.RPCMonitor-1.0.2-py2.6.egg/ZenPacks/zenoss/RPCMonitor/modeler/plugins
2012-09-11 10:11:54,281 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.XenMonitor-1.0.3-py2.6.egg/ZenPacks/zenoss/XenMonitor/modeler/plugins
2012-09-11 10:11:54,283 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.ZenAWS-1.0.3-py2.6.egg/ZenPacks/zenoss/ZenAWS/modeler/plugins
2012-09-11 10:11:54,285 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.ZenJMX-3.5.3-py2.6.egg/ZenPacks/zenoss/ZenJMX/modeler/plugins
2012-09-11 10:11:54,287 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.ZenossVirtualHostMonitor-2.3.6-py2.6.egg/ZenPacks/zenoss/ZenossVirtualHostMonitor/modeler/plugins
2012-09-11 10:11:54,289 DEBUG zen.Events: ===============  incoming event  ===============
2012-09-11 10:11:54,289 DEBUG zen.Events: Event info: {'firstTime': 1347376314.2889659, 'severity': 0, 'component': 'zenhub', 'summary': 'zenhub started', 'eventKey': '', 'device': 'localhost', 'eventClass': '/App/Start', 'lastTime': 1347376314.2889659, 'message': 'zenhub started'}
2012-09-11 10:11:54,355 DEBUG zen.Events: Looking up IP localhost
2012-09-11 10:11:54,463 DEBUG zen.Events: Looking for event class named in event: /App/Start
2012-09-11 10:11:54,496 DEBUG zen.Events: Per transform/mapping, using severity 0, action 'status' and clear classes ['/App/Stop']
2012-09-11 10:11:54,498 DEBUG zen.Events: Created deupid of localhost|zenhub|/App/Start||0|zenhub started
2012-09-11 10:11:54,498 DEBUG zen.Events: Clear event found with event data {'firstTime': 1347376314.2889659, 'severity': 0, 'component': 'zenhub', 'summary': 'zenhub started', 'dedupid': 'localhost|zenhub|/App/Start||0|zenhub started', 'eventKey': '', 'device': 'localhost', 'eventClass': '/App/Start', 'lastTime': 1347376314.2889659, 'message': 'zenhub started'}
2012-09-11 10:11:54,501 DEBUG zen.DbConnectionPool: Creating a new connection; Pool size: 0
2012-09-11 10:11:54,509 DEBUG zen.Events: Clear command: update status set clearid = '3b5f8f98-aa5f-43d1-a312-1fca8fefcae3' where device='localhost' and component='zenhub' and eventKey='' and (eventClass='/App/Stop' or eventClass='/App/Start')
2012-09-11 10:11:54,510 DEBUG zen.Events: update status set clearid = '3b5f8f98-aa5f-43d1-a312-1fca8fefcae3' where device='localhost' and component='zenhub' and eventKey='' and (eventClass='/App/Stop' or eventClass='/App/Start'): --> 0
2012-09-11 10:11:54,511 DEBUG zen.Events: 0 events matched clear criteria
2012-09-11 10:11:54,511 DEBUG zen.DbConnectionPool: Returned a connection; Pool size: 1
2012-09-11 10:11:54,511 DEBUG zen.Events: Duplicate event, updated database.
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenHub/zenhub.py", line 657, in <module>
    z = ZenHub()
  File "/opt/zenoss/Products/ZenHub/zenhub.py", line 275, in __init__
    self.rrdStats = self.getRRDStats()
  File "/opt/zenoss/Products/ZenHub/zenhub.py", line 287, in getRRDStats
    threshs = perfConf.getThresholdInstances(BuiltInDS.sourcetype)
AttributeError: 'NoneType' object has no attribute 'getThresholdInstances'
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68506#68506]

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]
Loading...