I had Check_MK Raw edition 1.5.0p16 on Ubuntu 14.04, i then built a new Ubuntu 18.04 and installed Check_MK Raw edition 1.5.0p16.
I imported the configurations from the Ubuntu 14.04 Check_MK into Ubuntu 18.04 Check_MK and everything was fine.
I then updated Check_MK on Ubuntu 18.04 to 1.6.0p8.
I had an error about mod_python.so not being available which i solved with:
apt-get install libapache2-mod-python
cd /omd/sites/site/lib/apache/modules
ln -s /usr/lib/apache2/modules/mod_python.so .
But now when i try to login i get:
# Authentication Problem
Either you’ve entered an invalid password or the authentication
configuration of your check_mk web pages is incorrect.
On the apache logs I found the following
"[Fri Jan 24 12:44:38.645397 2020] [autoindex:error] [pid 5137] [client 127.0.0.1:51222] AH01276: Cannot serve directory /omd/sites/site/share/check_mk/web/htdocs/: No matching DirectoryIndex (index.py) found, and server-generated directory index forbidden by Options directive
[Fri Jan 24 12:45:01.711632 2020] [:error] [pid 5137] make_obcallback: could not import mod_python.apache.\n
ImportError: No module named mod_python.apache
[Fri Jan 24 12:45:01.711699 2020] [:error] [pid 5137] make_obcallback: Python path being used “[‘/omd/sites/site/local/lib/python’, ‘/omd/sites/site/lib/python/_pdbpp_path_hack’, ‘/omd/sites/site/lib/python27.zip’, ‘/omd/sites/site/lib/python2.7’, ‘/omd/sites/site/lib/python2.7/plat-linux2’, ‘/omd/sites/site/lib/python2.7/lib-tk’, ‘/omd/sites/site/lib/python2.7/lib-old’, ‘/omd/sites/site/lib/python2.7/lib-dynload’, ‘/omd/sites/site/lib/python2.7/site-packages’, ‘/omd/sites/site/lib/python’]”.
[Fri Jan 24 12:45:01.711708 2020] [:error] [pid 5137] get_interpreter: no interpreter callback found.
[Fri Jan 24 12:45:01.711714 2020] [:error] [pid 5137] [client 127.0.0.1:51258] python_handler: Can’t get/create interpreter.
[Fri Jan 24 12:45:01.711958 2020] [:error] [pid 5137] make_obcallback: could not import mod_python.apache.\n
ImportError: No module named mod_python.apache "
Can someone help me with this one?