Internal Server Error

Good Day All

I updated my Ubuntu from version 20.04 to 21.10
After the update I am getting the following Error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at nobody@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

I tried to update from 2.0.0p12 to 2.0.0p13 (Raw Edition) and get the following message:

"2021-11-02 13:52:50 - Updating site ‘sd’ from version 2.0.0p12.cre to 2.0.0p13.cre…

Creating temporary filesystem /omd/sites/sd/tmp…OK
Executing update-pre-hooks script “01_mkp-disable-outdated”…OK
Executing update-pre-hooks script “02_cmk-update-config”…
-| Traceback (most recent call last):
-| File “/omd/sites/sd/bin/cmk-update-config”, line 9, in
-| from cmk.update_config import main
-| File “/omd/sites/sd/lib/python3/cmk/update_config.py”, line 46, in
-| from cmk.utils.bi.bi_legacy_config_converter import BILegacyPacksConverter
-| File “/omd/sites/sd/lib/python3/cmk/utils/bi/bi_legacy_config_converter.py”, line 25, in
-| import cmk.gui.watolib as watolib # pylint: disable=cmk-module-layer-violation
-| File “/omd/sites/sd/lib/python3/cmk/gui/watolib/init.py”, line 58, in
-| import cmk.gui.userdb as userdb
-| File “/omd/sites/sd/lib/python3/cmk/gui/userdb.py”, line 43, in
-| import cmk.gui.plugins.userdb
-| File “/omd/sites/sd/lib/python3/cmk/gui/plugins/userdb/init.py”, line 38, in
-| load_plugins(file, package)
-| File “/omd/sites/sd/lib/python3/cmk/utils/plugin_loader.py”, line 69, in load_plugins
-| importlib.import_module(“%s.%s” % (package_name, plugin_name))
-| File “/omd/sites/sd/lib/python3.8/importlib/init.py”, line 127, in import_module
-| return _bootstrap._gcd_import(name[level:], package, level)
-| File “/omd/sites/sd/lib/python3/cmk/gui/plugins/userdb/ldap_connector.py”, line 44, in
-| import ldap # type: ignore[import]
-| File “/omd/sites/sd/lib/python3/ldap/init.py”, line 34, in
-| import _ldap
-| ImportError: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
ERROR (exit code: 1)
Updating core configuration…
Generating configuration for core (type nagios)…Precompiling host checks…OK
OK
Finished update."

Any clues as to what I have done wrong and how to get back into my site will be much appreciated.

There is no CMK version available for 21.10 what version do you use?

1 Like

So Check_mk will not work on Ubuntu 21.10

Until now you don’t have a download package available.
I don’t ask why you upgrade from an LTS release to the short living version on the server :wink:

If there is an version available for 21.10 then you can use CMK on 21.10

I had a look at the github repo and there was some build files added for 21.10 the last days.
It is possible that the next patch release will be available for 21.10.
Or only with CMK 2.1 release.

1 Like

Thank you - Much appreciated
The system works and am getting my notifications
Just cannot login.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.