emqx5.0.8无法启动

环境信息

  • EMQX 版本:5.0.8
  • 操作系统及版本:debian10
  • 其他 arm64

问题描述使用

apt安装后启动错误

root@localhost:~# sudo emqx start
!!!!!!
WARNING: Default (insecure) Erlang cookie is in use.
WARNING: Configure node.cookie in /etc/emqx/emqx.conf or override from environment variable EMQX_NODE__COOKIE
NOTE: Use the same config value for all nodes in the cluster.
!!!!!!
EMQX 5.0.8 failed to start in 120 seconds.
Please find more information in erlang.log.N
Or run 'env DEBUG=1 /usr/bin/emqx console' to have logs printed to console.

配置文件及日志

配置文件默认无修改
使用emqx console后如下所示

!!!!!!
WARNING: Default (insecure) Erlang cookie is in use.
WARNING: Configure node.cookie in /etc/emqx/emqx.conf or override from environment variable EMQX_NODE__COOKIE
NOTE: Use the same config value for all nodes in the cluster.
!!!!!!
log.file_handlers.default.enable = EMQX_LOG__FILE_HANDLERS__DEFAULT__ENABLE = false
log.console_handler.enable = EMQX_LOG__CONSOLE_HANDLER__ENABLE = true
Protocol 'ekka': register/listen error: eacces

看起来时没有权限访问?

刚刚使用tar.gz安装了4.49版本,可以正常启动使用

重新使用tar.gz安装包安装后依然报错

root@localhost:~# ./emqx/bin/emqx console
!!!!!!
WARNING: Default (insecure) Erlang cookie is in use.
WARNING: Configure node.cookie in /root/emqx/etc/emqx.conf or override from environment variable EMQX_NODE__COOKIE
NOTE: Use the same config value for all nodes in the cluster.
!!!!!!
log.file_handlers.default.enable = EMQX_LOG__FILE_HANDLERS__DEFAULT__ENABLE = false
log.console_handler.enable = EMQX_LOG__CONSOLE_HANDLER__ENABLE = true
Erlang/OTP 24 [erts-12.2.1] [emqx] [64-bit] [smp:8:6] [ds:8:6:8] [async-threads:4]

{"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{{shutdown,{failed_to_start_child,kernel_safe_sup,{on_load_function_failed,quicer_nif}}},{kernel,start,[normal,[]]}}}"}
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{{shutdown,{failed_to_start_child,kernel_safe_sup,{on_load_function_failed,quicer_nif}}},{kernel,start,[normal,[]]}}})

Crash dump is being written to: log/erl_crash.dump...done