emqx4.1.3启动失败

环境信息

  • EMQX 版本:4.1.3
  • 操作系统及版本:Centos7

问题描述

emqx4.1.3 集群,之前跑的都很正常。某一天这个节点down掉了,再次启动时就启动不起来了(另外一个节点都正常)。
输出如下:

[centos@xxx bin]$ sudo ./emqx start
EMQ X Broker v4.1.3 failed to start within 15 seconds,
see the output of './emqx console' for more information.
If you want to wait longer, set the environment variable
WAIT_FOR_ERLANG to the number of seconds to wait.

执行./emqx console没有任何输出。
清理data目录再启动也不行。
使用sudo journalctl -f查看系统日志输出如下:

 run_erl[30482]: Erlang closed the connection.
 sudo[30392]: pam_unix(sudo:session): session closed for user root

emqx log如下:

run_erl [30526] Mon Jul  1 06:48:08 2024
Args before exec of shell:
run_erl [30526] Mon Jul  1 06:48:08 2024
argv[0] = sh
run_erl [30526] Mon Jul  1 06:48:08 2024
argv[1] = -c
run_erl [30526] Mon Jul  1 06:48:08 2024
argv[2] = exec "/usr/apps/emqx4.1.3_cluster/bin/emqx" "console"