11月 18 09:11:06 wk-ThinkPad systemd[1]: emqx.service: Service hold-off time over, scheduling restart.
11月 18 09:11:06 wk-ThinkPad systemd[1]: Stopped emqx daemon.
11月 18 09:11:06 wk-ThinkPad systemd[1]: Started emqx daemon.
11月 18 09:11:06 wk-ThinkPad bash[19074]: !!!
11月 18 09:11:06 wk-ThinkPad bash[19074]: WARNING: Default (insecure) Erlang cookie is in use.
11月 18 09:11:06 wk-ThinkPad bash[19074]: WARNING: Configure node.cookie in /etc/emqx/emqx.conf or override from environment variable EMQX_NODE__COOKIE
11月 18 09:11:06 wk-ThinkPad bash[19074]: NOTE: Use the same config value for all nodes in the cluster.
11月 18 09:11:06 wk-ThinkPad bash[19074]: !!!
11月 18 09:11:07 wk-ThinkPad bash[19074]: Listener ssl:default on 0.0.0.0:8883 started.
11月 18 09:11:07 wk-ThinkPad bash[19074]: Listener tcp:default on 0.0.0.0:1883 started.
11月 18 09:11:07 wk-ThinkPad bash[19074]: Listener ws:default on 0.0.0.0:8083 started.
11月 18 09:11:07 wk-ThinkPad bash[19074]: Listener wss:default on 0.0.0.0:8084 started.
11月 18 09:11:07 wk-ThinkPad bash[19074]: Listener ssl:default on 0.0.0.0:8883 stopped.
11月 18 09:11:07 wk-ThinkPad bash[19074]: Listener tcp:default on 0.0.0.0:1883 stopped.
11月 18 09:11:07 wk-ThinkPad bash[19074]: Listener ws:default on 0.0.0.0:8083 stopped.
11月 18 09:11:07 wk-ThinkPad bash[19074]: Listener wss:default on 0.0.0.0:8084 stopped.
11月 18 09:11:07 wk-ThinkPad bash[19074]: [os_mon] memory supervisor port (memsup): Erlang has closed
11月 18 09:11:07 wk-ThinkPad bash[19074]: [os_mon] cpu supervisor port (cpu_sup): Erlang has closed
11月 18 09:11:09 wk-ThinkPad bash[19074]: {“Kernel pid terminated”,application_controller,"{application_start_failure,emqx_machine,{{shutdown,{failed_to_start_child,emqx_machine_boot,{’
11月 18 09:11:09 wk-ThinkPad bash[19074]: Kernel pid terminated (application_controller) ({application_start_failure,emqx_machine,{{shutdown,{failed_to_start_child,emqx_machine_boot,{'E
11月 18 09:11:09 wk-ThinkPad systemd[1]: emqx.service: Main process exited, code=exited, status=1/FAILURE
11月 18 09:11:09 wk-ThinkPad systemd[1]: emqx.service: Unit entered failed state.
11月 18 09:11:09 wk-ThinkPad systemd[1]: emqx.service: Failed with result ‘exit-code’.
root@wk-ThinkPad:/home/wk# emqx console
access control disabled, clients can connect from any host
!!!
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
Erlang/OTP 24 [erts-12.3.2.2] [emqx] [64-bit] [smp:8:8] [ds:8:8:8] [async-threads:4]
Listener ssl:default on 0.0.0.0:8883 started.
Listener tcp:default on 0.0.0.0:1883 started.
Listener ws:default on 0.0.0.0:8083 started.
Listener wss:default on 0.0.0.0:8084 started.
2024-11-18T09:22:07.976542+08:00 [error] Generic server emqx_telemetry terminating. Reason: {{badmatch,{aborted,{bad_type,{telemetry,‘emqx@127.0.0.1’,<<“871D88E6-A54B-11EF-9837-EB6BEBEDA707”>>}}}},[{emqx_telemetry,ensure_uuids,0,[{file,“emqx_telemetry.erl”},{line,538}]},{emqx_telemetry,handle_continue,2,[{file,“emqx_telemetry.erl”},{line,150}]},{gen_server,try_dispatch,4,[{file,“gen_server.erl”},{line,695}]},{gen_server,loop,7,[{file,“gen_server.erl”},{line,437}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]}. Last message: {continue,init}. State: undefined.
2024-11-18T09:22:07.976752+08:00 [error] crasher: initial call: emqx_telemetry:init/1, pid: <0.2272.0>, registered_name: emqx_telemetry, error: {{badmatch,{aborted,{bad_type,{telemetry,‘emqx@127.0.0.1’,<<“871D88E6-A54B-11EF-9837-EB6BEBEDA707”>>}}}},[{emqx_telemetry,ensure_uuids,0,[{file,“emqx_telemetry.erl”},{line,538}]},{emqx_telemetry,handle_continue,2,[{file,“emqx_telemetry.erl”},{line,150}]},{gen_server,try_dispatch,4,[{file,“gen_server.erl”},{line,695}]},{gen_server,loop,7,[{file,“gen_server.erl”},{line,437}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]}, ancestors: [emqx_modules_sup,<0.2270.0>], message_queue_len: 0, messages: , links: [<0.2271.0>], dictionary: , trap_exit: false, status: running, heap_size: 4185, stack_size: 28, reductions: 9567; neighbours:
2024-11-18T09:22:07.988109+08:00 [error] Supervisor: {local,emqx_modules_sup}. Context: child_terminated. Reason: {{badmatch,{aborted,{bad_type,{telemetry,‘emqx@127.0.0.1’,<<“871D88E6-A54B-11EF-9837-EB6BEBEDA707”>>}}}},[{emqx_telemetry,ensure_uuids,0,[{file,“emqx_telemetry.erl”},{line,538}]},{emqx_telemetry,handle_continue,2,[{file,“emqx_telemetry.erl”},{line,150}]},{gen_server,try_dispatch,4,[{file,“gen_server.erl”},{line,695}]},{gen_server,loop,7,[{file,“gen_server.erl”},{line,437}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]}. Offender: id=emqx_telemetry,pid=<0.2272.0>.
2024-11-18T09:22:07.989507+08:00 [error] Generic server emqx_telemetry terminating. Reason: {{badmatch,{aborted,{bad_type,{telemetry,‘emqx@127.0.0.1’,<<“871F8092-A54B-11EF-BDE1-FDD2D1EB6EA0”>>}}}},[{emqx_telemetry,ensure_uuids,0,[{file,“emqx_telemetry.erl”},{line,538}]},{emqx_telemetry,handle_continue,2,[{file,“emqx_telemetry.erl”},{line,150}]},{gen_server,try_dispatch,4,[{file,“gen_server.erl”},{line,695}]},{gen_server,loop,7,[{file,“gen_server.erl”},{line,437}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]}. Last message: {continue,init}. State: undefined.
2024-11-18T09:22:07.990193+08:00 [error] crasher: initial call: emqx_telemetry:init/1, pid: <0.2290.0>, registered_name: emqx_telemetry, error: {{badmatch,{aborted,{bad_type,{telemetry,‘emqx@127.0.0.1’,<<“871F8092-A54B-11EF-BDE1-FDD2D1EB6EA0”>>}}}},[{emqx_telemetry,ensure_uuids,0,[{file,“emqx_telemetry.erl”},{line,538}]},{emqx_telemetry,handle_continue,2,[{file,“emqx_telemetry.erl”},{line,150}]},{gen_server,try_dispatch,4,[{file,“gen_server.erl”},{line,695}]},{gen_server,loop,7,[{file,“gen_server.erl”},{line,437}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]}, ancestors: [emqx_modules_sup,<0.2270.0>], message_queue_len: 0, messages: , links: [<0.2271.0>], dictionary: , trap_exit: false, status: running, heap_size: 6772, stack_size: 28, reductions: 8933; neighbours:
2024-11-18T09:22:07.991122+08:00 [error] Supervisor: {local,emqx_modules_sup}. Context: child_terminated. Reason: {{badmatch,{aborted,{bad_type,{telemetry,‘emqx@127.0.0.1’,<<“871F8092-A54B-11EF-BDE1-FDD2D1EB6EA0”>>}}}},[{emqx_telemetry,ensure_uuids,0,[{file,“emqx_telemetry.erl”},{line,538}]},{emqx_telemetry,handle_continue,2,[{file,“emqx_telemetry.erl”},{line,150}]},{gen_server,try_dispatch,4,[{file,“gen_server.erl”},{line,695}]},{gen_server,loop,7,[{file,“gen_server.erl”},{line,437}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]}. Offender: id=emqx_telemetry,pid=<0.2290.0>.
2024-11-18T09:22:07.991385+08:00 [error] crasher: initial call: application_master:init/4, pid: <0.2269.0>, registered_name: , exit: {{bad_return,{{emqx_modules_app,start,[normal,]},{‘EXIT’,{{{badmatch,{aborted,{bad_type,{telemetry,‘emqx@127.0.0.1’,<<“871F8092-A54B-11EF-BDE1-FDD2D1EB6EA0”>>}}}},[{emqx_telemetry,ensure_uuids,0,[{file,“emqx_telemetry.erl”},{line,538}]},{emqx_telemetry,handle_continue,2,[{file,“emqx_telemetry.erl”},{line,150}]},{gen_server,try_dispatch,4,[{file,“gen_server.erl”},{line,695}]},{gen_server,loop,7,[{file,“gen_server.erl”},{line,437}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]},{gen_server,call,[emqx_telemetry,enable,15000]}}}}},[{application_master,init,4,[{file,“application_master.erl”},{line,142}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]}, ancestors: [<0.2268.0>], message_queue_len: 1, messages: [{‘EXIT’,<0.2270.0>,normal}], links: [<0.2268.0>,<0.1689.0>], dictionary: , trap_exit: true, status: running, heap_size: 610, stack_size: 28, reductions: 221; neighbours:
2024-11-18T09:22:07.992980+08:00 [critical] app: emqx_modules, line: 88, mfa: emqx_machine_boot:start_one_app/1, msg: failed_to_start_app, reason: {emqx_modules,{bad_return,{{emqx_modules_app,start,[normal,]},{‘EXIT’,{{{badmatch,{aborted,{bad_type,{telemetry,‘emqx@127.0.0.1’,<<“871F8092-A54B-11EF-BDE1-FDD2D1EB6EA0”>>}}}},[{emqx_telemetry,ensure_uuids,0,[{file,“emqx_telemetry.erl”},{line,538}]},{emqx_telemetry,handle_continue,2,[{file,“emqx_telemetry.erl”},{line,150}]},{gen_server,try_dispatch,4,[{file,“gen_server.erl”},{line,695}]},{gen_server,loop,7,[{file,“gen_server.erl”},{line,437}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]},{gen_server,call,[emqx_telemetry,enable,15000]}}}}}}
2024-11-18T09:22:07.993685+08:00 [error] Supervisor: {local,emqx_machine_sup}. Context: start_error. Reason: {‘EXIT’,{{failed_to_start_app,emqx_modules,{emqx_modules,{bad_return,{{emqx_modules_app,start,[normal,]},{‘EXIT’,{{{badmatch,{aborted,{bad_type,{telemetry,‘emqx@127.0.0.1’,<<“871F8092-A54B-11EF-BDE1-FDD2D1EB6EA0”>>}}}},[{emqx_telemetry,ensure_uuids,0,[{file,“emqx_telemetry.erl”},{line,538}]},{emqx_telemetry,handle_continue,2,[{file,“emqx_telemetry.erl”},{line,150}]},{gen_server,try_dispatch,4,[{file,“gen_server.erl”},{line,695}]},{gen_server,loop,7,[{file,“gen_server.erl”},{line,437}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]},{gen_server,call,[emqx_telemetry,enable,15000]}}}}}}},[{emqx_machine_boot,start_one_app,1,[{file,“emqx_machine_boot.erl”},{line,89}]},{lists,foreach,2,[{file,“lists.erl”},{line,1342}]},{emqx_machine_boot,post_boot,0,[{file,“emqx_machine_boot.erl”},{line,38}]},{supervisor,do_start_child_i,3,[{file,“supervisor.erl”},{line,414}]},{supervisor,do_start_child,2,[{file,“supervisor.erl”},{line,400}]},{supervisor,‘-start_children/2-fun-0-’,3,[{file,“supervisor.erl”},{line,384}]},{supervisor,children_map,4,[{file,“supervisor.erl”},{line,1250}]},{supervisor,init_children,2,[{file,“supervisor.erl”},{line,350}]},{gen_server,init_it,2,[{file,“gen_server.erl”},{line,423}]},{gen_server,init_it,6,[{file,“gen_server.erl”},{line,390}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]}}. Offender: id=emqx_machine_boot,pid=undefined.
2024-11-18T09:22:07.994522+08:00 [error] crasher: initial call: application_master:init/4, pid: <0.1940.0>, registered_name: , exit: {{{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,{aborted,{bad_type,{telemetry,‘emqx@127.0.0.1’,<<“871F8092-A54B-11EF-BDE1-FDD2D1EB6EA0”>>}}}},[{emqx_telemetry,ensure_uuids,0,[{file,“emqx_telemetry.erl”},{line,538}]},{emqx_telemetry,handle_continue,2,[{file,“emqx_telemetry.erl”},{line,150}]},{gen_server,try_dispatch,4,[{file,“gen_server.erl”},{line,695}]},{gen_server,loop,7,[{file,“gen_server.erl”},{line,437}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]},{gen_server,call,[emqx_telemetry,enable,15000]}}}}}}},[{emqx_machine_boot,start_one_app,1,[{file,“emqx_machine_boot.erl”},{line,89}]},{lists,foreach,2,[{file,“lists.erl”},{line,1342}]},{emqx_machine_boot,post_boot,0,[{file,“emqx_machine_boot.erl”},{line,38}]},{supervisor,do_start_child_i,3,[{file,“supervisor.erl”},{line,414}]},{supervisor,do_start_child,2,[{file,“supervisor.erl”},{line,400}]},{supervisor,‘-start_children/2-fun-0-’,3,[{file,“supervisor.erl”},{line,384}]},{supervisor,children_map,4,[{file,“supervisor.erl”},{line,1250}]},{supervisor,init_children,2,[{file,“supervisor.erl”},{line,350}]},{gen_server,init_it,2,[{file,“gen_server.erl”},{line,423}]},{gen_server,init_it,6,[{file,“gen_server.erl”},{line,390}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]}}}},{emqx_machine_app,start,[normal,]}},[{application_master,init,4,[{file,“application_master.erl”},{line,142}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]}, ancestors: [<0.1939.0>], message_queue_len: 1, messages: [{‘EXIT’,<0.1942.0>,normal}], links: [<0.1939.0>,<0.1689.0>], dictionary: , trap_exit: true, status: running, heap_size: 1598, stack_size: 28, reductions: 276; neighbours:
Listener ssl:default on 0.0.0.0:8883 stopped.
Listener tcp:default on 0.0.0.0:1883 stopped.
Listener ws:default on 0.0.0.0:8083 stopped.
Listener wss:default on 0.0.0.0:8084 stopped.
[os_mon] memory supervisor port (memsup): Erlang has closed
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
{“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,{aborted,{bad_type,{telemetry,‘emqx@127.0.0.1’,<<"871F8092-A54B-11EF-BDE1-FDD2D1EB6EA0">>}}}},[{emqx_telemetry,ensure_uuids,0,[{file,"emqx_telemetry.erl"},{line,538}]},{emqx_telemetry,handle_continue,2,[{file,"emqx_telemetry.erl"},{line,150}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,695}]},{gen_server,loop,7,[{file,"gen_server.erl"},{line,437}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]},{gen_server,call,[emqx_telemetry,enable,15000]}}}}}}},[{emqx_machine_boot,start_one_app,1,[{file,"emqx_machine_boot.erl"},{line,89}]},{lists,foreach,2,[{file,"lists.erl"},{line,1342}]},{emqx_machine_boot,post_boot,0,[{file,"emqx_machine_boot.erl"},{line,38}]},{supervisor,do_start_child_i,3,[{file,"supervisor.erl"},{line,414}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,400}]},{supervisor,‘-start_children/2-fun-0-’,3,[{file,"supervisor.erl"},{line,384}]},{supervisor,children_map,4,[{file,"supervisor.erl"},{line,1250}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,350}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,423}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,390}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]}}}},{emqx_machine_app,start,[normal,]}}}”}
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,{aborted,{bad_type,{telemetry,‘emqx@127.0.0.1’,<<“871F8092-A54B-11EF-BDE1-FDD2D1EB6EA0”>>}}}},[{emqx_telemetry,ensure_uuids,0,[{file,“emqx_telemetry.erl”},{line,538}]},{emqx_telemetry,handle_continue,2,[{file,“emqx_telemetry.erl”},{line,150}]},{gen_server,try_dispatch,4,[{file,“gen_server.erl”},{line,695}]},{gen_server,loop,7,[{file,“gen_server.erl”},{line,437}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]},{gen_server,call,[emqx_telemetry,enable,15000]}}}}}}},[{emqx_machine_boot,start_one_app,1,[{file,“emqx_machine_boot.erl”},{line,89}]},{lists,foreach,2,[{file,“lists.erl”},{line,1342}]},{emqx_machine_boot,post_boot,0,[{file,“emqx_machine_boot.erl”},{line,38}]},{supervisor,do_start_child_i,3,[{file,“supervisor.erl”},{line,41
Crash dump is being written to: log/erl_crash.dump…root@wk-ThinkPad:/home/wk#
把以前旧的 data (可能是 v4 的?)删掉。
您好,麻烦问一下怎么删除“以前旧的data”呢
删掉了 /var/lib/emqx/目录下的所有文件,启动emqx正常了,多谢多谢