Configuration & Administration

Expand all | Collapse all

POSkey error

  • 1.  POSkey error

    Posted 18 days ago
    Dear All,

    Im getting an error on zenoss as below, i can login by command line but its unable via GUI. please help me to fix this.

    thanks,
    pasan,

    Type: <class 'ZODB.POSException.POSKeyError'>
    Value: 0x394173

    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 161, 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: 0x394173

    ------------------------------
    pasan jayarathna
    sri lanka telecom
    ------------------------------


  • 2.  RE: POSkey error

    Posted 15 days ago
    See the wiki item here -    http://wiki.zenoss.org/Troubleshooting_Zenoss_PosKey_Errors

    See the hint almost at the end about throwing away the zodb_session database.  It usually works.

    Cheers,
    Jane

    ------------------------------
    Jane Curry
    Skills 1st United Kingdom
    jane.curry@skills-1st.co.uk
    ------------------------------