[Hallo,
wir haben unsere Server geupdated danach ging erstmal die Wato Seite oder /<site>/omd nicht mehr.
Grund ist scheinbar die hashlib:
Fehler :
Als Lösung habe ich die hashlib vom OS kopiert :
Danach funktioniert die Seite erstmal wieder.
Mfg
Marcel
wir haben unsere Server geupdated danach ging erstmal die Wato Seite oder /<site>/omd nicht mehr.
Grund ist scheinbar die hashlib:
Fehler :
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
Traceback (most recent call last): File "/omd/versions/1.30/lib/python/mod_python/apache.py", line 29, in <module> import cgi File "/usr/lib64/python2.7/cgi.py", line 50, in <module> import mimetools File "/usr/lib64/python2.7/mimetools.py", line 6, in <module> import tempfile File "/usr/lib64/python2.7/tempfile.py", line 35, in <module> from random import Random as _Random File "/usr/lib64/python2.7/random.py", line 49, in <module> import hashlib as _hashlib File "/opt/projects/omd/rpm.topdir/BUILD/omd-1.30/destdir/omd/versions/1.30/lib/python/hashlib.py", line 115, in <module> try: TypeError: 'frozenset' object is not callable [Fri Nov 27 12:22:30.625410 2015] [:error] [pid 22493] make_obcallback: Python path being used "['/omd/versions/1.30/lib/python', '/omd/versions/1.30/lib/python', '/omd/sites/prod/lib/python/pyasn1-0.1.7-py2.7.egg', '/omd/sites/prod/lib/python/pysnmp-4.2.4-py2.7.egg', '/omd/sites/prod/lib/python/pycrypto-2.6.1-py2.7-linux-x86_64.egg', '/omd/sites/prod/lib/python/pysphere-0.1.7-py2.7.egg', '/omd/sites/prod/lib/python/setuptools-0.6c11-py2.7.egg', '/omd/sites/prod/lib/python/Pyro4-4.18-py2.7.egg', '/omd/sites/prod/lib/python/multiprocessing-2.6.2.1-py2.7-linux-x86_64.egg', '/omd/sites/prod/lib/python/pymongo-2.5.2-py2.7-linux-x86_64.egg', '/omd/sites/prod/lib/python', '/omd/sites/prod/local/lib/python', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/gtk-2.0', '/usr/lib/python2.7/site-packages']". [Fri Nov 27 12:22:30.625429 2015] [:error] [pid 22493] get_interpreter: no interpreter callback found. [Fri Nov 27 12:22:30.625437 2015] [:error] [pid 22493] [client 127.0.0.1:37336] python_handler: Can't get/create interpreter. |
Als Lösung habe ich die hashlib vom OS kopiert :
![]() |
Quellcode |
1 |
cp /usr/lib64/python2.7/hashlib.py /omd/versions/1.30/lib/python/hashlib.py |
Danach funktioniert die Seite erstmal wieder.
Mfg
Marcel