Hello,
I am running CentOS 7 and OMD from the <labs.consol.de> YUM repo. When I first installed, OMD 1.20 was installed, and it worked fine. I just did an upgrade fromt he same repo to version 1.30, and now when I try to go to my site, I get a "500 Internal Error".
I checked the Apache error_log for the site in question, and the following comes up when I go to the site:
--- START error_log ---
[Thu Jan 14 16:12:52.938571 2016] [auth_basic:error] [pid 7492] [client 127.0.0.1:40314] AH01617: user omdadmin: authentication failure for "/RCAV/omd/": Password Mismatch
[Thu Jan 14 16:12:56.952802 2016] [:error] [pid 7493] make_obcallback: could not import mod_python.apache.\n
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 "/omd/versions/1.30/lib/python/hashlib.py", line 115, in <module>
f()
TypeError: 'frozenset' object is not callable
[Thu Jan 14 16:12:56.953093 2016] [:error] [pid 7493] make_obcallback: Python path being used "['/omd/versions/1.30/lib/python', '/omd/sites/RCAV/lib/python/pyasn1-0.1.7-py2.7.egg', '/omd/sites/RCAV/lib/python/pysnmp-4.2.4-py2.7.egg', '/omd/sites/RCAV/lib/python/pycrypto-2.6.1-py2.7-linux-x86_64.egg', '/omd/sites/RCAV/lib/python/pysphere-0.1.7-py2.7.egg', '/omd/sites/RCAV/lib/python/setuptools-0.6c11-py2.7.egg', '/omd/sites/RCAV/lib/python/Pyro4-4.18-py2.7.egg', '/omd/sites/RCAV/lib/python/multiprocessing-2.6.2.1-py2.7-linux-x86_64.egg', '/omd/sites/RCAV/lib/python/pymongo-2.5.2-py2.7-linux-x86_64.egg', '/omd/sites/RCAV/lib/python', '/omd/sites/RCAV/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/lib/python2.7/site-packages']".
[Thu Jan 14 16:12:56.953110 2016] [:error] [pid 7493] get_interpreter: no interpreter callback found.
[Thu Jan 14 16:12:56.953125 2016] [:error] [pid 7493] [client 127.0.0.1:40315] python_handler: Can't get/create interpreter.
--- END error_log ---
The first line about the password mismatch is a bit confusing, because I was logging in with the same password I always have. I even tried resetting the password using 'htpasswd' and restarting the OMD site, but I still get that.
What is more worrying though (and I don;t know if it is at all related to the password mismatch issue) are the Pythin errors about getting "no interpreter callback".
Any ideas what the issue could be? I could try uninstalling the RPM I installed from the repo and download the "official" RPM from the OMDDistro site?
Thanks! ![]()
-Alan