I had the same/similar error in zeo.log just yesterday.
After machine was rebooted a few times, zenoss didn't come back the last time.
solaris 10. zenoss 2.1.3
Code:
2008-06-04T21:03:01 INFO ZEO.zrpc.Connection(S) (127.0.0.1:33679) loadEx()
raised exception: 0x00
Traceback (most recent call last):
File "usr/local/zenoss/lib/python/ZEO/zrpc/connection.py", line 421, in
handle_request
File "usr/local/zenoss/lib/python/ZEO/StorageServer.py", line 248, in loadEx
return self.storage.loadEx(oid, version)
File "usr/local/zenoss/lib/python/ZODB/FileStorage/FileStorage.py", line 523,
in loadEx
File "usr/local/zenoss/lib/python/ZODB/FileStorage/FileStorage.py", line 514,
in _lookup_pos
POSKeyError: 0x00
zenoss services half starting, zeoctl and zopectl reported started but zenhub
didn't start. Running zenhub in foreground showed it exited in an unexpected
place. I think the real problem was that zeo service was not really available
even though daemon was running.
Code:
[EMAIL PROTECTED]: /usr/local/zenoss $ zenhub run -v10
DEBUG:zen.James:james meh poollock <thread.lock object at 0x8197ad0>
DEBUG:zen.James:james getObjByPath <Application at > /zport/dmd
DEBUG:zen.Utils:james getObjByPath base <Application at > path /zport/dmd
DEBUG:zen.Utils:james getObjByPath base <Application at > path ['', 'zport',
'dmd']
DEBUG:zen.Utils:james bobo_traverse REQUEST {'TraversalRequestNameStack':
['dmd']} name zport
Traceback (most recent call last):
File "/usr/local/zenoss/Products/ZenHub/zenhub.py", line 395, in ?
z = ZenHub()
File "/usr/local/zenoss/Products/ZenHub/zenhub.py", line 185, in __init__
ZCmdBase.__init__(self)
File "/usr/local/zenoss/Products/ZenUtils/ZCmdBase.py", line 59, in __init__
self.getDataRoot()
File "/usr/local/zenoss/Products/ZenUtils/ZCmdBase.py", line 137, in
getDataRoot
self.dataroot = getObjByPath(self.app, self.options.dataroot)
File "/usr/local/zenoss/Products/ZenUtils/Utils.py", line 169, in getObjByPath
next = bobo_traverse(REQUEST, name)
File "usr/local/zenoss/lib/python/OFS/Application.py", line 113, in
__bobo_traverse__
File "usr/local/zenoss/lib/python/OFS/ObjectManager.py", line 710, in
__getitem__
AttributeError: 'str' object has no attribute 'get'
I backed up var/Disk.fs
Stop zenoss
Removed var/ze* and var/Disk.fs.*
Start zenoss
And happily all seems back more or less.
But it took me a long time to figure out the error might be corruption.
I also had errors in events.log and other logs which I thought might be the
problem.
I think zenbackup might be very useful to run regularily.
I think maybe Disk.fs.index might have been corrupted??
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=20914#20914
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users