-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Digest initialization failed #866
Comments
Drive by comment: A billion file descriptors sounds like a bit too many
…On Tue, Dec 3, 2024, 10:49 joshartman ***@***.***> wrote:
*Describe the bug*
LavinMQ fails to run as a docker image in Redhat 9.4 environment. It
produces the following error when run:
$ docker run -ti --rm cloudamqp/lavinmq:pr-766
2024-12-03T16:43:20.849667Z INFO lmq[level: "Info", target: "stdout"]
Logger settings
2024-12-03T16:43:20.850028Z INFO lmq.launcher LavinMQ 2.0.2
2024-12-03T16:43:20.850042Z INFO lmq.launcher Crystal 1.14.0 [dacd97b]
(2024-10-09)
2024-12-03T16:43:20.850049Z INFO lmq.launcher LLVM: 18.1.3
2024-12-03T16:43:20.850059Z INFO lmq.launcher Default target:
x86_64-pc-linux-gnu
2024-12-03T16:43:20.850083Z INFO lmq.launcher Build flags: --release
--debug
2024-12-03T16:43:20.850091Z INFO lmq.launcher Pid: 1
2024-12-03T16:43:20.850100Z INFO lmq.launcher Data directory:
/var/lib/lavinmq
2024-12-03T16:43:20.850195Z INFO lmq.launcher Max mmap count: 1000000
2024-12-03T16:43:20.850419Z INFO lmq.launcher FD limit: 1073741816
Unhandled exception: Digest initialization failed.: error:12800067:DSO
support routines::could not load the shared library (OpenSSL::Digest::Error)
from /usr/share/crystal/src/openssl/digest.cr:24:36 in 'new'
from /usr/share/crystal/src/digest/digest.cr:237:5 in 'hash_password'
from /tmp/src/lavinmq/user.cr:55:13 in 'create'
from /tmp/src/lavinmq/user_store.cr:124:9 in 'new'
from /tmp/src/lavinmq/server.cr:44:7 in '__crystal_main'
from /usr/share/crystal/src/crystal/main.cr:118:5 in 'main'
from /lib/x86_64-linux-gnu/libc.so.6 in '??'
from /lib/x86_64-linux-gnu/libc.so.6 in '__libc_start_main'
from /usr/bin/lavinmq in '_start'
from ???
However on an Almalinux 9.4 it is running without issues.
*Describe your setup*
Redhat 9.4 minimal installation.
Docker 27.3.1
LavinMq 2.0.2 and pr-766
*How to reproduce*
Install a Redhat 9.4 minimal and then lavinmq docker container with:
docker run -ti --rm cloudamqp/lavinmq:pr-766
*Expected behavior*
A clean startup of LavinMQ on any docker system irrespective of the host
operating system.
—
Reply to this email directly, view it on GitHub
<#866>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADQMUPYTNSXGALRVBPB3XL2DXOJBAVCNFSM6AAAAABS6HHKLWVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4YTKNJSGQZDOMI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Progress so far: When the redhat kernel boot with "fips=1", it fails with the error above. When booting without the "fips=1", then it starts normal as expected. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
LavinMQ fails to run as a docker image in Redhat 9.4 environment. It produces the following error when run:
$ docker run -ti --rm cloudamqp/lavinmq:pr-766
2024-12-03T16:43:20.849667Z INFO lmq[level: "Info", target: "stdout"] Logger settings
2024-12-03T16:43:20.850028Z INFO lmq.launcher LavinMQ 2.0.2
2024-12-03T16:43:20.850042Z INFO lmq.launcher Crystal 1.14.0 [dacd97b] (2024-10-09)
2024-12-03T16:43:20.850049Z INFO lmq.launcher LLVM: 18.1.3
2024-12-03T16:43:20.850059Z INFO lmq.launcher Default target: x86_64-pc-linux-gnu
2024-12-03T16:43:20.850083Z INFO lmq.launcher Build flags: --release --debug
2024-12-03T16:43:20.850091Z INFO lmq.launcher Pid: 1
2024-12-03T16:43:20.850100Z INFO lmq.launcher Data directory: /var/lib/lavinmq
2024-12-03T16:43:20.850195Z INFO lmq.launcher Max mmap count: 1000000
2024-12-03T16:43:20.850419Z INFO lmq.launcher FD limit: 1073741816
Unhandled exception: Digest initialization failed.: error:12800067:DSO support routines::could not load the shared library (OpenSSL::Digest::Error)
from /usr/share/crystal/src/openssl/digest.cr:24:36 in 'new'
from /usr/share/crystal/src/digest/digest.cr:237:5 in 'hash_password'
from /tmp/src/lavinmq/user.cr:55:13 in 'create'
from /tmp/src/lavinmq/user_store.cr:124:9 in 'new'
from /tmp/src/lavinmq/server.cr:44:7 in '__crystal_main'
from /usr/share/crystal/src/crystal/main.cr:118:5 in 'main'
from /lib/x86_64-linux-gnu/libc.so.6 in '??'
from /lib/x86_64-linux-gnu/libc.so.6 in '__libc_start_main'
from /usr/bin/lavinmq in '_start'
from ???
However on an Almalinux 9.4 it is running without issues.
Describe your setup
Redhat 9.4 minimal installation.
Docker 27.3.1
LavinMq 2.0.2 and pr-766
How to reproduce
Install a Redhat 9.4 minimal and then lavinmq docker container with:
docker run -ti --rm cloudamqp/lavinmq:pr-766
Expected behavior
A clean startup of LavinMQ on any docker system irrespective of the host operating system.
The text was updated successfully, but these errors were encountered: