Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 4 Next »

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:

LD_LIBRARY_PATH=$OMD_ROOT/local/lib:$OMD_ROOT/lib

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:

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

    su - test  
    OMD[test]:~$ echo $LD_LIBRARY_PATH
    /omd/sites/test/local/lib:/omd/sites/test/lib
  2. Check if the libary is available

  3. restore the default variable

  4. set the LD_LIBARY_PATH the right way

Filter by label

There are no items with the selected labels at this time.



  • No labels