Erlang fails to load crypto library
zextras@mail:~$ erl
Erlang/OTP 26 [erts-14.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit:ns]
Eshell V14.1 (press Ctrl+G to abort, type help(). for help)
1> crypto:version().
=ERROR REPORT==== 26-Jul-2024::12:03:28.984633 ===
Unable to load crypto library. Failed with error:
"load, Library load-call unsuccessful (227)."
Crashing;
- mongooseimctl
- rabbitmq-server
Hard to say what exactly is causing this issue without recompiling, it could be fips support related.
I agree with zottel, carbonio uses its own Erlang package so proably best to wait for an updated version which resolves this issue.
The package with broken crypto library is;
carbonio-erlang/jammy,now 26.1.1-2jammy amd64
When I logger into the server (SSH) to do the update, it warned me about 22 zombie processes.
But that's another "bug" than the update issue with rabbitmq.
I managed to make Carbonio CE 24.7 on my Ubuntu 22.04 running after I subscribed to Ubuntu Pro ( with free 5 machines ). I enabled fips-updates and switch to fips kernel.
After that i make copy of fips.so from /usr/lib/x86_64-linux-gnu/ossl-modules-3/ to /opt/zextras/common/lib/ossl-modules/ then restart all carbonio services.
Maybe Carbonio CE 24.7 was compiled with fips.so ?
Tell me how to solve the problem with the carbonio-message-broker note?
Subject: Unit process exited
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- An ExecStart= process belonging to unit carbonio-message-broker.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Jul 29 10:34:20 mail.testinfo.com systemd[1]: carbonio-message-broker.service: Failed with result '>
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit carbonio-message-broker.service has entered the 'failed' state with result 'exit-code'.
Jul 29 10:34:20 mail.testinfo.com systemd[1]: Failed to start Carbonio message broker daemon.
-- Subject: Unit error carbonio-message-broker.service
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The carbonio-message-broker.service unit failed.
--
-- Result: failed.
I hope there is a quick solution, my mail server is currently out of order. If I was sure that no schema changes had been made in the databases, I would downgrade. But the risk is a bit too high for me. What do you think?
I managed to make Carbonio CE 24.7 on my Ubuntu 22.04 running after I subscribed to Ubuntu Pro ( with free 5 machines ). I enabled fips-updates and switch to fips kernel.
After that i make copy of fips.so from /usr/lib/x86_64-linux-gnu/ossl-modules-3/ to /opt/zextras/common/lib/ossl-modules/ then restart all carbonio services.
Maybe Carbonio CE 24.7 was compiled with fips.so ?
It worked for me too.
Once the fips.so library is copied to the /opt/zextras/common/lib/ossl-modules/ directory, the carbonio-message-broker service starts and install completes successfully.