环境:AWS LINUX2
版本:emqx-5.0.1
emqx 使用rpm升级 从 [emqx-5.0.1-amzn2-amd64.rpm] 到 [emqx-5.4.0-amzn2-amd64.rpm] 升级显示成功后,开启emqx,报错:
[root@apsmqtt1 local]# 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.0 using node name ‘aps@mqtt1.ez’ failed 120 probes.
Find more information in the latest log file: /var/log/emqx/erlang.log.*
查看日志:
Kernel pid terminated (application_controller) ({application_start_failure,emqx_machine,{{shutdown,{failed_to_start_child,emqx_machine_boot,{‘EXIT’,{{failed_to_start_app,emqx_modules,{emqx_modules,{bad_return,{{emqx_modules_app,start,[normal,]},{‘EXIT’,{{badmatch,{error,{shutdown,{failed_to_start_child,emqx_trace,{{badmatch,{aborted,{“Bad transform function”,emqx_trace,#Fun<emqx_trace.12.116563785>,‘aps@mqtt2.ez’,{badfun,#Fun<emqx_trace.12.116563785>}}}},[{emqx_trace,maybe_migrate_trace,1,[{file,“emqx_trace.erl”},{line,630}]},{emqx_trace,init,1,[{file,“emqx_trace.erl”},{line,241}]},{gen_server,init_it,2,[{file,“gen_server.erl”},{line,851}]},{gen_server,init_it,6,[{file,“gen_server.erl”},{line,814}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,240}]}]}}}}},[{emqx_modules_app,start,2,[{file,“emqx_modules_app.erl”},{line,27}]},{application_master,start_it_old,4,[{file,“application_master.erl”},{line,293}]}]}}}}}},[{emqx_machine_boot,start_one_app,1,[{file,“emqx_machine_boot.erl”},{line,111}]},{li