Configuration & Administration

Expand all | Collapse all

zodbscan tool won't wokr

  • 1.  zodbscan tool won't wokr

    Posted 11-07-2019 09:02 PM
    Hi,

    I installed the toolbox on a zenoss master host I've.  But zodbscan won't work. It errors out with
    "No module named importlib".  It seems the toolbox use Python 2.6.  Not sure if that matters.

    Please advise.

    Thanks

    ------------------------------
    Sam
    ------------------------------


  • 2.  RE: zodbscan tool won't wokr

    Posted 11-08-2019 03:37 AM
    Hmm. See this one before. It isn't a Python incompatibility.  Are you running as the zenoss user? (you need to).
    Cheers,
    Jane

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



  • 3.  RE: zodbscan tool won't wokr

    Posted 11-08-2019 09:20 AM
    Edited by Sam Urai 11-08-2019 01:32 PM
    Yes, I ran it as "zenoss" user.
    Thanks

    Edit -  I take that back. The problem with zodbscan is below. The "importlib" error I get with  "findposkeyerror"

    zodbscan -

    File "/opt/zenoss/lib/python/ZConfig/schema.py", line 457, in error
    raise self.initerror(ZConfig.SchemaError(message))
    ZConfig.SchemaError: Unknown document type ▒▒▒▒▒▒▒ (line 2, column 0)


    findposkeyerror -

    File "/opt/zenoss/lib/python/celery/utils/imports.py", line 5, in <module>
    import importlib
    ImportError: No module named importlib


    ------------------------------
    Sam
    ------------------------------