Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Warning

We do not support any modification of our config files (e.g. apache, .profile etc.). If you do that and the site is broken, you will run out of support, especially on the Checkmk Appliance.

We saw the bottom error several times especially when dealing with check_sql.


libpython3.9.so.1.0: cannot open shared object file: No such file or directory

Problem

The default for LD_LIBARY_PATH should be:

Code Block
languagebash
themeRDark

But for some reasons the .profile file of the site user seems to be broken and after the restart of the site you will face the following issue:

Code Block
languagebash
themeRDark
Starting apache...apache2: Syntax error on line 236 of /omd/sites/mysite/etc/apache/apache.conf: Syntax error on line 2 of /omd/sites/mysite/etc/apache/conf.d/01_wsgi.conf: Cannot load /omd/sites/mysite/lib/apache/modules/mod_wsgi.so into server: libpython3.9.so.1.0: cannot open shared object file: No such file or directory
..........ERROR

Solution

...

  1. Check if env is right

  2. Check if the libary is available

  3. restore the default variable

  4. set the LD_LIBARY_PATH the right way

Filter by label (Content by label)
showLabelsfalse
max5
spacesCON
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "apache" and type = "page" and space = "CON"
labelsapache

...