Dec 7, 2009 5:10 PM
Zenstatus won't run on 2.5.1
- 
Like (0)
 
                I upgraded to 2.5.1 and it zenstatus won't run anymore. It appears to be missing an IPService which when I looked it was so I created one but still won't run. Following are the errors in the log, any help or input will be appreciated!
2009-12-07 17:06:45,010 ERROR zen.ZenStatus: Remote exception: Products.ZenHub.PBDaemon.RemoteException: Remote exception: zExceptions.NotFound: tcp_00080Traceback (most recent call last):
  File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 75, in inner
    return callable(*args, **kw)
  File "/usr/local/zenoss/zenoss/Products/ZenHub/services/StatusConfig.py", line 66, in remote_services
    for svc in dev.getMonitoredComponents(collector='zenstatus'):
  File "/usr/local/zenoss/zenoss/Products/ZenModel/Device.py", line 593, in getMonitoredComponents
    collector=collector, type=type)
  File "/usr/local/zenoss/zenoss/Products/ZenModel/Device.py", line 623, in getDeviceComponents
    return [c.getObject() for c in brains]
  File "/usr/local/zenoss/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py", line 92, in getObject
    target = parent.restrictedTraverse(path[-1])
  File "/usr/local/zenoss/zenoss/lib/python/OFS/Traversable.py", line 301, in restrictedTraverse
    return self.unrestrictedTraverse(path, default, restricted=True)
  File "/usr/local/zenoss/zenoss/lib/python/OFS/Traversable.py", line 284, in unrestrictedTraverse
    raise e
NotFound: tcp_00080
Traceback (most recent call last):
  File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 75, in inner
    return callable(*args, **kw)
  File "/usr/local/zenoss/zenoss/Products/ZenHub/zenhubworker.py", line 116, in remote_execute
    return runOnce()
  File "/usr/local/zenoss/zenoss/Products/ZenHub/zenhubworker.py", line 111, in runOnce
    res = m(*args, **kw)
  File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 83, in inner
    traceback.format_exc())
RemoteException: Remote exception: zExceptions.NotFound: tcp_00080Traceback (most recent call last):
  File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 75, in inner
    return callable(*args, **kw)
  File "/usr/local/zenoss/zenoss/Products/ZenHub/services/StatusConfig.py", line 66, in remote_services
    for svc in dev.getMonitoredComponents(collector='zenstatus'):
  File "/usr/local/zenoss/zenoss/Products/ZenModel/Device.py", line 593, in getMonitoredComponents
    collector=collector, type=type)
  File "/usr/local/zenoss/zenoss/Products/ZenModel/Device.py", line 623, in getDeviceComponents
    return [c.getObject() for c in brains]
  File "/usr/local/zenoss/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py", line 92, in getObject
    target = parent.restrictedTraverse(path[-1])
  File "/usr/local/zenoss/zenoss/lib/python/OFS/Traversable.py", line 301, in restrictedTraverse
    return self.unrestrictedTraverse(path, default, restricted=True)
  File "/usr/local/zenoss/zenoss/lib/python/OFS/Traversable.py", line 284, in unrestrictedTraverse
    raise e
NotFound: tcp_00080
Anybody else have this issue or any suggestions on how to resolve?
This is happening to my installation as well. Any thoughts?
there is a bug in the zenstatus.py file. it is documented at:
http://dev.zenoss.com/trac/ticket/5857
it is a one line fix:
I got it to run by deleting the offending tcp services and then reindexing. Still a little flaky on restarts with some not starting but everything is fine after manually starting the offenders.
zendmd
>>>reindex()
>>>commit()
| Follow Us On Twitter » | Latest from the Zenoss Blog » |   | Community | Products | Services Resources | Customers Partners | About Us | |
|  |   |   Copyright © 2005-2011 Zenoss, Inc. | ||||||
