TECHZEN Zenoss User Community ARCHIVE  

zodbscan tool won't wokr

Subject: zodbscan tool won't wokr
Author: Sam Urai
Posted: 2019-11-07 22:02

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
------------------------------


Subject: RE: zodbscan tool won't wokr
Author: Jane Curry
Posted: 2019-11-08 04:37

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
------------------------------


Subject: RE: zodbscan tool won't wokr
Author: Sam Urai
Posted: 2019-11-08 10:20

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
------------------------------


< Previous
OID moniotring
  Next
API to get the list of devices handled by a collector
>