环境
- EMQX 版本:5.4.1
- 操作系统版本:centos7
重现此问题的步骤
通过文档安装:CentOS/RHEL | EMQX 文档
启动emqx start后出现以下问题
[root@localhost emqx]# 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
WARNING: NOTE: Use the same cookie for all nodes in the cluster.
ERROR: EMQX 5.4.1 using node name ‘emqx@127.0.0.1’ failed 120 probes.
Find more information in the latest log file: /var/log/emqx/erlang.log.*
[root@localhost emqx]# cat /var/log/emqx/erlang.log.1
=====
===== LOGGING STARTED Wed Jan 17 03:51:32 PST 2024
Erlang/OTP 25 [erts-13.2.2] [emqx] [64-bit] [smp:4:4] [ds:4:4:8] [async-threads:4]
{“Kernel pid terminated”,application_controller,“{application_start_failure,emqx_machine,{bad_return,{{emqx_machine_app,start,[normal,]},{‘EXIT’,{{badmatch,{error,{mria,{bad_return,{{mria_app,start,[normal,]},{‘EXIT’,{{badmatch,{error,{normal,{mnesia_app,start,[normal,]}}}},[{mria_mnesia,ensure_started,0,[{file,"mria_mnesia.erl"},{line,112}]},{mria_app,start,2,[{file,"mria_app.erl"},{line,36}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,293}]}]}}}}}}},[{mria,start,0,[{file,"mria.erl"},{line,125}]},{ekka,start,0,[{file,"ekka.erl"},{line,94}]},{emqx_machine,start,0,[{file,"emqx_machine.erl"},{line,54}]},{emqx_machine_app,start,2,[{file,"emqx_machine_app.erl"},{line,29}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,293}]}]}}}}}”}
Kernel pid terminated (application_controller) ({application_start_failure,emqx_machine,{bad_return,{{emqx_machine_app,start,[normal,]},{‘EXIT’,{{badmatch,{error,{mria,{bad_return,{{mria_app,start,[normal,]},{‘EXIT’,{{badmatch,{error,{normal,{mnesia_app,start,[normal,]}}}},[{mria_mnesia,ensure_started,0,[{file,“mria_mnesia.erl”},{line,112}]},{mria_app,start,2,[{file,“mria_app.erl”},{line,36}]},{application_master,start_it_old,4,[{file,“application_master.erl”},{line,293}]}]}}}}}}},[{mria,start,0,[{file,“mria.erl”},{line,125}]},{ekka,start,0,[{file,“ekka.erl”},{line,94}]},{emqx_machine,start,0,[{file,“emqx_machine.erl”},{line,54}]},{emqx_machine_app,start,2,[{file,“emqx_machine_app.erl”},{line,29}]},{application_master,start_it_old,4,[{file,“application_master.erl”},{line,293}]}]}}}}})
Crash dump is being written to: /var/log/emqx/erl_crash.dump…done
预期行为
实际行为
erl_crash_dump.zip (563.5 KB)