Discussion:
how can i fix a ZODB.POSException.POSKeyError ?
jaime franco
2013-05-28 21:37:55 UTC
Permalink
jaime franco [http://community.zenoss.org/people/jaimefranco] created the discussion

"how can i fix a ZODB.POSException.POSKeyError ?"

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

--------------------------------------------------------------
hi


after review my zenoss server i got a window message in loggin page :

*Type: <class 'ZODB.POSException.POSKeyError'>*
*Value: 0x0379c7*
Traceback (most recent call last): File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 126, in publish request, bind=1) File "/opt/zenoss/lib/python/ZPublisher/mapply.py", line 77, in mapply if debug is not None: return debug(object,args,context) File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 46, in call_object result=apply(object,args) # Type s<cr> to step into published object. File "/opt/zenoss/Products/ZenUtils/patches/pasmonkey.py", line 153, in login pas_instance.updateCredentials(request, response, login, password) File "/opt/zenoss/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 1100, in updateCredentials updater.updateCredentials(request, response, login, new_password) File "/opt/zenoss/lib/python/Products/PluggableAuthService/plugins/SessionAuthHelper.py", line 102, in updateCredentials request.SESSION.set('__ac_name', login) File "/opt/zenoss/lib/python/ZPublisher/HTTPRequest.py", line 1379, in __getattr__ v = self.get(key, default, returnTaints=returnTaints) File "/opt/zenoss/lib/python/ZPublisher/HTTPRequest.py", line 1336, in get v = v() File "/opt/zenoss/lib/python/Products/Sessions/SessionDataManager.py", line 101, in getSessionData return self._getSessionDataObject(key) File "/opt/zenoss/lib/python/Products/Sessions/SessionDataManager.py", line 188, in _getSessionDataObject ob = container.new_or_existing(key) File "/opt/zenoss/lib/python/Products/Transience/Transience.py", line 839, in new_or_existing item = self.get(key, _marker) File "/opt/zenoss/lib/python/Products/Transience/Transience.py", line 495, in get item = self._move_item(k, current_ts, default) File "/opt/zenoss/lib/python/Products/Transience/Transience.py", line 285, in _move_item self._housekeep(current_ts) File "/opt/zenoss/lib/python/Products/Transience/Transience.py", line 934, in _housekeep self._finalize(now) File "/opt/zenoss/lib/python/Products/Transience/Transience.py", line 574, in _finalize self._do_finalize_work(now, max_ts, start_finalize) File "/opt/zenoss/lib/python/Products/Transience/Transience.py", line 598, in _do_finalize_work values = list(self._data[key].values()) File "/opt/zenoss/lib/python/ZODB/Connection.py", line 860, in setstate self._setstate(obj) File "/opt/zenoss/lib/python/ZODB/Connection.py", line 901, in _setstate p, serial = self._storage.load(obj._p_oid, '') File "/opt/zenoss/lib/python/relstorage/storage.py", line 476, in load raise POSKeyError(oid) POSKeyError: 0x0379c7

how can i solve this?
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Chris Smith
2013-06-05 19:24:27 UTC
Permalink
Chris Smith [http://community.zenoss.org/people/csmith] created the discussion

"Re: how can i fix a ZODB.POSException.POSKeyError ?"

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

--------------------------------------------------------------
This looks similar to the issue I encountered with my new Zenoss install. My issue turned out to be from me changing the system time after installing Zenoss. Once I tried to log back into Zenoss did not like that the new system time was in the past and threw similar errors...I don't think mine said POSException but it definitely was similar.

Walking through the steps in Fixing ZODB Integrity from the Wiki resolved my issue http://wiki.zenoss.org/Fixing_ZODB_Integrity_Issues http://wiki.zenoss.org/Fixing_ZODB_Integrity_Issues
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...