Problems running nagios tests after upgrading to Buster

0

since I updated to Buster, I always get the following error message when running nagios website tests with casperjs:

Auto configuration failed
139928113577600:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libssl_conf.so): libssl_conf.so: cannot open shared object file: No such file or directory
139928113577600:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
    139928113577600:error:0E07506E:configuration file routines:MODULE_LOAD_DSO:error loading dso:conf_mod.c:285:module=ssl_conf, path=ssl_conf
    139928113577600:error:0E076071:configuration file routines:MODULE_RUN:unknown module name:conf_mod.c:222:module=ssl_conf
    File does not exist: /tmp/check_casperjs/casper_1564130682_46639.tmp at ./check_casperjs.pl line 288.

After a long google search I get the hint again and again, that I should set a certain global system variable If I then write the following system variable to /etc/environment:

export OPENSSL_CONF=/etc/ssl/

I can run the nagiost tests in my own user context via the console as "sudo" without error message.

If I now make a "sudo -u nagios bash", I cannot find the system variable described above with a simple "printenv". The Nagios test throws then of course again an error. A simple new one:

export OPENSSL_CONF=/etc/ssl/

And I can also run the tests successfully on the console under the user nagios.

But why doesn't he pass the entered system variable system-wide when I put it into the /etc/evironment entry. Also, I didn't have the problem before the upgrade. If I run the tests in Nagios myself, I get the error message above again.

Please help! Or do I have a node in my head right now?

Thanks a lot

Bavramor

Posted 2019-07-26T14:30:59.867

Reputation: 1

No answers