安装emqx-5.0.11Required dependencies: openssl-1.1.1 (libcrypto), libncurses and libatomic1

错误报告

Version=5.0.11
Required dependencies: openssl-1.1.1 (libcrypto), libncurses and libatomic1
{“init terminating in do_boot”,{load_failed,[proc_lib,logger_config,logger_simple_h,application_master,supervisor,application,error_handler,logger_backend,logger_server,logger_filters,logger,kernel,heart,gen_server,file_server,gen_event,gen,file_io_server,filename,file,ets,error_logger,erl_parse,erl_lint,erl_eval,code_server,lists,application_controller,code]}}
init terminating in do_boot ({load_failed,[proc_lib,logger_config,logger_simple_h,application_master,supervisor,application,error_handler,logger_backend,logger_server,logger_filters,logger,kernel,heart,gen_server,file_server,gen_event,gen,file_io_server,filename,file,ets,error_logger,erl_parse,erl_lint,erl_eval,code_server,lists,application_controller,code]})
Please ensure it is running on the correct platform:
arch: “x86_64-pc-linux-gnu”
wordsize: 64
os: “debian11”
erlang: “24.3.4.2-1”
elixir: “none”
relform: “docker”
Version=5.0.11
Required dependencies: openssl-1.1.1 (libcrypto), libncurses and libatomic1

环境

  • EMQX 版本:5.0.11
  • 操作系统版本:
    LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
    Distributor ID: Ubuntu
    Description: Ubuntu 18.04.5 LTS
    Release: 18.04
    Codename: bionic

重现此问题的步骤

  1. xxx
  2. xxx
  3. xxx

预期行为

实际行为

安装腾讯云主机ubuntu18升级openssl 1.1.1l(libcrypto.so.1.1报错处理) - Hlixing - 博客园
root@iZbp1ikdou4b3d478xw1vxZ:~/vcs-docker# openssl version -a
OpenSSL 1.1.1l 24 Aug 2021 (Library: OpenSSL 1.1.1d 10 Sep 2019)
built on: Wed Jan 4 07:20:14 2023 UTC
platform: linux-x86_64
options: bn(64,64) rc4(16x,int) des(int) idea(int) blowfish(ptr)
compiler: gcc -fPIC -pthread -m64 -Wa,–noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DNDEBUG
OPENSSLDIR: “/usr/local/ssl”
ENGINESDIR: “/usr/local/lib/engines-1.1”
Seeding source: os-specific
root@iZbp1ikdou4b3d478xw1vxZ:~/vcs-

还是一样


功能请求

描述你需要的功能

为什么你需要这个功能


其他

libncurses 和 libatomic1 也需要安装的,你可以直接使用 deb 包来安装 EMQX,这样就会自动安装依赖的。

好的,谢谢

emqx:
container_name: emqx
image: emqx/emqx:5.0.11
restart: always
network_mode: “host”
environment:
- “EMQX_NODE__NAME=emqx@127.0.0.1
- “EMQX_CLUSTER__DISCOVERY=manual”

这样配置就能启动
如果加了
- “EMQX_node_process_limit=2097152”
- “EMQX_node_max_ports=1048576”
就不行,而且我的依赖都安装了还是不行

OpenSSL 1.1.1l 24 Aug 2021 (Library: OpenSSL 1.1.1d 10 Sep 2019)
built on: Wed Jan 4 07:20:14 2023 UTC
platform: linux-x86_64
options: bn(64,64) rc4(16x,int) des(int) idea(int) blowfish(ptr)
compiler: gcc -fPIC -pthread -m64 -Wa,–noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DNDEBUG
OPENSSLDIR: “/usr/local/ssl”
ENGINESDIR: “/usr/local/lib/engines-1.1”
Seeding source: os-specific

你需要按照正确的方式来设置:

EMQX_NODE__PROCESS__LIMIT=2097152
EMQX_NODE__MAX__PORTS=1048576

具体可以参考 EMQX Docker

  - "EMQX_NODE__PROCESS_LIMIT=2097152"
  - "EMQX_NODE__MAX_PORTS=1048576"

应该是这个,谢谢,现在好像可以了