centos8部署emqx5.5启动成功但是dashboard无法访问

[root@VM-8-2-centos bin]# ./emqx start

EMQX 5.5.0 is started successfully!
启动成功但是dashboard访问不了,报错如下:
Listener tcp:default on 0.0.0.0:18880 started.

Listener tcp:internal on 10.2.8.2:11902 started.

Listener ssl:default on 0.0.0.0:8883 started.

Listener ws:default on 0.0.0.0:8399 started.

Listener wss:default on 0.0.0.0:8084 started.

2024-10-31T11:08:01.352409+08:00 [error] Failed to start Ranch listener ‘http:dashboard’ in ranch_tcp:listen([{cacerts,‘…’},{key,‘…’},{cert,‘…’},inet,{backlog,1024},{ip,{82,156,129,129}},{send_timeout,

10000},{port,18126}]) for reason eaddrnotavail (can’t assign requested address)

2024-10-31T11:08:01.352897+08:00 [error] crasher: initial call: supervisor:ranch_acceptors_sup/1, pid: <0.2882.0>, registered_name: , exit: {{listen_error,‘http:dashboard’,eaddrnotavail},[{ranch_acceptors_

sup,listen_error,5,[{file,“ranch_acceptors_sup.erl”},{line,66}]},{supervisor,init,1,[{file,“supervisor.erl”},{line,330}]},{gen_server,init_it,2,[{file,“gen_server.erl”},{line,980}]},{gen_server,init_it,6,[{f

ile,“gen_server.erl”},{line,935}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,241}]}]}, ancestors: [<0.2880.0>,ranch_sup,<0.2463.0>], message_queue_len: 0, messages: , links: [<0.2880.0>], di

ctionary: [{logger,error_logger}], trap_exit: true, status: running, heap_size: 2586, stack_size: 28, reductions: 7794; neighbours:

2024-10-31T11:08:01.353891+08:00 [error] Supervisor: {<0.2880.0>,ranch_listener_sup}. Context: start_error. Reason: {listen_error,‘http:dashboard’,eaddrnotavail}. Offender: id=ranch_acceptors_sup,pid=undefin

ed.

2024-10-31T11:08:01.355119+08:00 [error] msg: started_listener_failed, mfa: minirest:log_start_result/2(114), name: ‘http:dashboard’, port: 18126, reason: {listen_error,‘http:dashboard’,eaddrnotavail}, descr

iption: cannot_assign_requested_address

2024-10-31T11:08:01.355466+08:00 [error] crasher: initial call: application_master:init/4, pid: <0.2865.0>, registered_name: , exit: {{[‘http:dashboard’],{emqx_dashboard_app,start,[normal,]}},[{applicati

on_master,init,4,[{file,“application_master.erl”},{line,142}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,241}]}]}, ancestors: [<0.2864.0>], message_queue_len: 1, messages: [{‘EXIT’,<0.2866.0>,

normal}], links: [<0.2864.0>,<0.2021.0>], dictionary: , trap_exit: true, status: running, heap_size: 376, stack_size: 28, reductions: 168; neighbours:

2024-10-31T11:08:01.356142+08:00 [critical] msg: failed_to_start_app, mfa: emqx_machine_boot:start_one_app/1(110), reason: {emqx_dashboard,{[‘http:dashboard’],{emqx_dashboard_app,start,[normal,]}}}, app: e

mqx_dashboard

2024-10-31T11:08:01.356549+08:00 [error] Supervisor: {local,emqx_machine_sup}. Context: start_error. Reason: {‘EXIT’,{{failed_to_start_app,emqx_dashboard,{emqx_dashboard,{[‘http:dashboard’],{emqx_dashboard_a

pp,start,[normal,]}}}},[{emqx_machine_boot,start_one_app,1,[{file,“emqx_machine_boot.erl”},{line,111}]},{lists,foreach_1,2,[{file,“lists.erl”},{line,1686}]},{emqx_machine_boot,ensure_apps_started,0,[{file,

“emqx_machine_boot.erl”},{line,101}]},{emqx_machine_boot,post_boot,0,[{file,“emqx_machine_boot.erl”},{line,44}]},{supervisor,do_start_child_i,3,[{file,“supervisor.erl”},{line,420}]},{supervisor,do_start_chil

d,2,[{file,“supervisor.erl”},{line,406}]},{supervisor,‘-start_children/2-fun-0-’,3,[{file,“supervisor.erl”},{line,390}]},{supervisor,children_map,4,[{file,“supervisor.erl”},{line,1258}]},{supervisor,init_chi

ldren,2,[{file,“supervisor.erl”},{line,350}]},{gen_server,init_it,2,[{file,“gen_server.erl”},{line,980}]},{gen_server,init_it,6,[{file,“gen_server.erl”},{line,935}]},{proc_lib,init_p_do_apply,3,[{file,"proc_

lib.erl"},{line,241}]}]}}. Offender: id=emqx_machine_boot,pid=undefined.

2024-10-31T11:08:01.357192+08:00 [error] crasher: initial call: application_master:init/4, pid: <0.2188.0>, registered_name: , exit: {{{shutdown,{failed_to_start_child,emqx_machine_boot,{‘EXIT’,{{failed_to

_start_app,emqx_dashboard,{emqx_dashboard,{[‘http:dashboard’],{emqx_dashboard_app,start,[normal,]}}}},[{emqx_machine_boot,start_one_app,1,[{file,“emqx_machine_boot.erl”},{line,111}]},{lists,foreach_1,2,[{f

ile,“lists.erl”},{line,1686}]},{emqx_machine_boot,ensure_apps_started,0,[{file,“emqx_machine_boot.erl”},{line,101}]},{emqx_machine_boot,post_boot,0,[{file,“emqx_machine_boot.erl”},{line,44}]},{supervisor,do_

start_child_i,3,[{file,“supervisor.erl”},{line,420}]},{supervisor,do_start_child,2,[{file,“supervisor.erl”},{line,406}]},{supervisor,‘-start_children/2-fun-0-’,3,[{file,“supervisor.erl”},{line,390}]},{superv

isor,children_map,4,[{file,“supervisor.erl”},{line,1258}]},{supervisor,init_children,2,[{file,“supervisor.erl”},{line,350}]},{gen_server,init_it,2,[{file,“gen_server.erl”},{line,980}]},{gen_server,init_it,6,

[{file,“gen_server.erl”},{line,935}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,241}]}]}}}},{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,241}]}]}, ancestors: [<0.2187.0>], message_queue_len: 1, messages: [{‘EXIT’,<0.2189.0>,normal}], links: [<0.2187.0>,<0.2021.0>], dictionar

y: , trap_exit: true, status: running, heap_size: 987, stack_size: 28, reductions: 249; neighbours:

Listener tcp:default on 0.0.0.0:18880 stopped.

Listener tcp:internal on 10.2.8.2:11902 stopped.

Listener ssl:default on 0.0.0.0:8883 stopped.

Listener ws:default on 0.0.0.0:8399 stopped.

Listener wss:default on 0.0.0.0:8084 stopped.

Kernel pid terminated (application_controller) ("{application_start_failure,emqx_machine,{{shutdown,{failed_to_start_child,emqx_machine_boot,{‘EXIT’,{{failed_to_start_app,emqx_dashboard,{emqx_dashboard,{['ht

tp:dashboard’],{emqx_dashboard_app,start,[normal,]}}}},[{emqx_machine_boot,start_one_app,1,[{file,"emqx_machine_boot.erl"},{line,111}]},{lists,foreach_1,2,[{file,"lists.erl"},{line,1686}]},{emqx_machin

e_boot,ensure_apps_started,0,[{file,"emqx_machine_boot.erl"},{line,101}]},{emqx_machine_boot,post_boot,0,[{file,"emqx_machine_boot.erl"},{line,44}]},{supervisor,do_start_child_i,3,[{file,"supervisor.erl

"},{line,420}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,406}]},{supervisor,‘-start_children/2-fun-0-’,3,[{file,"supervisor.erl"},{line,390}]},{supervisor,children_map,4,[{file,"supe

rvisor.erl"},{line,1258}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,350}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,980}]},{gen_server,init_it,6,[{file,"gen_se

Crash dump is being written to: /root/emqx/log/erl_crash.dump…Segmentation fault (core dumped)

dashboard 没有启动成功:
你的 http 的 bind ip 不是一个合法有效IP(就是不是这台机器的 IP),你直接bind=18126 就行了,不需要填 IP 也行的。

dashboard {
    listeners {
        http {
            ## Comment out 'bind' (or set bind=0) to disable listener.
            bind = 18126
...

那怎么访问dashboard呢?按照你说的改了,还是没用
dashboard {
listeners.http {
bind = 18126
}
访问截图如下图所示:

你是在本机部署的emqx 么,虽然你没有用那个 IP,但是他默认用的是 0.0.0.0 ,

如果你访问的 emqx是本机,他还是不行,就需要发一下日志,看还有什么其它的问题。
如果你访问的 emqx 是远程的机器,就把 127.0.0.1改成他的 IP,再试试。

是本机的,查看日志就是我最上面发的那一部分
[root@VM-8-2-centos bin]# ./emqx start

EMQX 5.5.0 is started successfully!

[root@VM-8-2-centos bin]# cd …
[root@VM-8-2-centos log]# cat emqx.log.1
2024-10-31T11:14:58.266566+08:00 [error] Failed to start Ranch listener ‘http:dashboard’ in ranch_tcp:listen([{cacerts,‘…’},{key,‘…’},{cert,‘…’},inet,{backlog,1024},{ip,{82,156,129,129}},{send_timeout,10000},{port,18126}]) for reason eaddrnotavail (can’t assign requested address)
2024-10-31T11:14:58.266970+08:00 [error] crasher: initial call: supervisor:ranch_acceptors_sup/1, pid: <0.2882.0>, registered_name: , exit: {{listen_error,‘http:dashboard’,eaddrnotavail},[{ranch_acceptors_sup,listen_error,5,[{file,“ranch_acceptors_sup.erl”},{line,66}]},{supervisor,init,1,[{file,“supervisor.erl”},{line,330}]},{gen_server,init_it,2,[{file,“gen_server.erl”},{line,980}]},{gen_server,init_it,6,[{file,“gen_server.erl”},{line,935}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,241}]}]}, ancestors: [<0.2880.0>,ranch_sup,<0.2463.0>], message_queue_len: 0, messages: , links: [<0.2880.0>], dictionary: [{logger,error_logger}], trap_exit: true, status: running, heap_size: 2586, stack_size: 28, reductions: 7795; neighbours:
2024-10-31T11:14:58.267765+08:00 [error] Supervisor: {<0.2880.0>,ranch_listener_sup}. Context: start_error. Reason: {listen_error,‘http:dashboard’,eaddrnotavail}. Offender: id=ranch_acceptors_sup,pid=undefined.
2024-10-31T11:14:58.268146+08:00 [error] msg: started_listener_failed, mfa: minirest:log_start_result/2(114), name: ‘http:dashboard’, port: 18126, reason: {listen_error,‘http:dashboard’,eaddrnotavail}, description: cannot_assign_requested_address
2024-10-31T11:14:58.268546+08:00 [error] crasher: initial call: application_master:init/4, pid: <0.2865.0>, registered_name: , exit: {{[‘http:dashboard’],{emqx_dashboard_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,241}]}]}, ancestors: [<0.2864.0>], message_queue_len: 1, messages: [{‘EXIT’,<0.2866.0>,normal}], links: [<0.2864.0>,<0.2021.0>], dictionary: , trap_exit: true, status: running, heap_size: 376, stack_size: 28, reductions: 168; neighbours:
2024-10-31T11:14:58.269253+08:00 [notice] Application: emqx_dashboard. Exited: {[‘http:dashboard’],{emqx_dashboard_app,start,[normal,]}}. Type: temporary.
2024-10-31T11:14:58.269368+08:00 [critical] msg: failed_to_start_app, mfa: emqx_machine_boot:start_one_app/1(110), reason: {emqx_dashboard,{[‘http:dashboard’],{emqx_dashboard_app,start,[normal,]}}}, app: emqx_dashboard
2024-10-31T11:14:58.269585+08:00 [error] Supervisor: {local,emqx_machine_sup}. Context: start_error. Reason: {‘EXIT’,{{failed_to_start_app,emqx_dashboard,{emqx_dashboard,{[‘http:dashboard’],{emqx_dashboard_app,start,[normal,]}}}},[{emqx_machine_boot,start_one_app,1,[{file,“emqx_machine_boot.erl”},{line,111}]},{lists,foreach_1,2,[{file,“lists.erl”},{line,1686}]},{emqx_machine_boot,ensure_apps_started,0,[{file,“emqx_machine_boot.erl”},{line,101}]},{emqx_machine_boot,post_boot,0,[{file,“emqx_machine_boot.erl”},{line,44}]},{supervisor,do_start_child_i,3,[{file,“supervisor.erl”},{line,420}]},{supervisor,do_start_child,2,[{file,“supervisor.erl”},{line,406}]},{supervisor,‘-start_children/2-fun-0-’,3,[{file,“supervisor.erl”},{line,390}]},{supervisor,children_map,4,[{file,“supervisor.erl”},{line,1258}]},{supervisor,init_children,2,[{file,“supervisor.erl”},{line,350}]},{gen_server,init_it,2,[{file,“gen_server.erl”},{line,980}]},{gen_server,init_it,6,[{file,“gen_server.erl”},{line,935}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,241}]}]}}. Offender: id=emqx_machine_boot,pid=undefined.
2024-10-31T11:14:58.270103+08:00 [error] crasher: initial call: application_master:init/4, pid: <0.2188.0>, registered_name: , exit: {{{shutdown,{failed_to_start_child,emqx_machine_boot,{‘EXIT’,{{failed_to_start_app,emqx_dashboard,{emqx_dashboard,{[‘http:dashboard’],{emqx_dashboard_app,start,[normal,]}}}},[{emqx_machine_boot,start_one_app,1,[{file,“emqx_machine_boot.erl”},{line,111}]},{lists,foreach_1,2,[{file,“lists.erl”},{line,1686}]},{emqx_machine_boot,ensure_apps_started,0,[{file,“emqx_machine_boot.erl”},{line,101}]},{emqx_machine_boot,post_boot,0,[{file,“emqx_machine_boot.erl”},{line,44}]},{supervisor,do_start_child_i,3,[{file,“supervisor.erl”},{line,420}]},{supervisor,do_start_child,2,[{file,“supervisor.erl”},{line,406}]},{supervisor,‘-start_children/2-fun-0-’,3,[{file,“supervisor.erl”},{line,390}]},{supervisor,children_map,4,[{file,“supervisor.erl”},{line,1258}]},{supervisor,init_children,2,[{file,“supervisor.erl”},{line,350}]},{gen_server,init_it,2,[{file,“gen_server.erl”},{line,980}]},{gen_server,init_it,6,[{file,“gen_server.erl”},{line,935}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,241}]}]}}}},{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,241}]}]}, ancestors: [<0.2187.0>], message_queue_len: 1, messages: [{‘EXIT’,<0.2189.0>,normal}], links: [<0.2187.0>,<0.2021.0>], dictionary: , trap_exit: true, status: running, heap_size: 987, stack_size: 28, reductions: 249; neighbours:
2024-10-31T11:14:58.271170+08:00 [notice] Application: emqx_machine. Exited: {{shutdown,{failed_to_start_child,emqx_machine_boot,{‘EXIT’,{{failed_to_start_app,emqx_dashboard,{emqx_dashboard,{[‘http:dashboard’],{emqx_dashboard_app,start,[normal,]}}}},[{emqx_machine_boot,start_one_app,1,[{file,“emqx_machine_boot.erl”},{line,111}]},{lists,foreach_1,2,[{file,“lists.erl”},{line,1686}]},{emqx_machine_boot,ensure_apps_started,0,[{file,“emqx_machine_boot.erl”},{line,101}]},{emqx_machine_boot,post_boot,0,[{file,“emqx_machine_boot.erl”},{line,44}]},{supervisor,do_start_child_i,3,[{file,“supervisor.erl”},{line,420}]},{supervisor,do_start_child,2,[{file,“supervisor.erl”},{line,406}]},{supervisor,‘-start_children/2-fun-0-’,3,[{file,“supervisor.erl”},{line,390}]},{supervisor,children_map,4,[{file,“supervisor.erl”},{line,1258}]},{supervisor,init_children,2,[{file,“supervisor.erl”},{line,350}]},{gen_server,init_it,2,[{file,“gen_server.erl”},{line,980}]},{gen_server,init_it,6,[{file,“gen_server.erl”},{line,935}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,241}]}]}}}},{emqx_machine_app,start,[normal,]}}. Type: permanent.
2024-10-31T11:14:58.293990+08:00 [info] msg: exhook_mgr_terminated, mfa: emqx_exhook_mgr:terminate/2(359), reason: shutdown, servers: #{}
2024-10-31T11:14:58.340312+08:00 [notice] tcp:default stopped on 0.0.0.0:18880
2024-10-31T11:14:58.340903+08:00 [notice] tcp:internal stopped on 10.2.8.2:11902
2024-10-31T11:14:58.341492+08:00 [notice] ssl:default stopped on 0.0.0.0:8883
2024-10-31T11:14:58.382708+08:00 [debug] msg: Mria is preparing to stop, mfa: mria_app:prep_stop/1(41)
2024-10-31T11:14:58.382994+08:00 [debug] msg: mria_worker_terminate, mfa: mria_rlog_server:terminate/2(200), process: mria_rlog_server, callback: terminate
2024-10-31T11:14:58.383168+08:00 [debug] msg: mria_worker_terminate, mfa: mria_rlog_server:terminate/2(200), process: mria_rlog_server, callback: terminate
2024-10-31T11:14:58.383365+08:00 [debug] msg: mria_worker_terminate, mfa: mria_rlog_server:terminate/2(200), process: mria_rlog_server, callback: terminate
2024-10-31T11:14:58.383522+08:00 [debug] msg: mria_worker_terminate, mfa: mria_rlog_server:terminate/2(200), process: mria_rlog_server, callback: terminate
2024-10-31T11:14:58.383676+08:00 [debug] msg: mria_worker_terminate, mfa: mria_rlog_server:terminate/2(200), process: mria_rlog_server, callback: terminate
2024-10-31T11:14:58.383906+08:00 [debug] msg: mria_worker_terminate, mfa: mria_rlog_server:terminate/2(200), process: mria_rlog_server, callback: terminate
2024-10-31T11:14:58.384126+08:00 [debug] msg: mria_worker_terminate, mfa: mria_rlog_server:terminate/2(200), process: mria_rlog_server, callback: terminate
2024-10-31T11:14:58.384311+08:00 [debug] msg: mria_worker_terminate, mfa: mria_rlog_server:terminate/2(200), process: mria_rlog_server, callback: terminate
2024-10-31T11:14:58.384467+08:00 [debug] msg: mria_worker_terminate, mfa: mria_rlog_server:terminate/2(200), process: mria_rlog_server, callback: terminate
2024-10-31T11:14:58.385009+08:00 [debug] msg: mria_worker_terminate, mfa: mria_node_monitor:terminate/2(219), process: mria_node_monitor, callback: terminate
2024-10-31T11:14:58.385579+08:00 [debug] msg: mria_worker_terminate, mfa: mria_membership:terminate/2(459), process: mria_membership, callback: terminate
2024-10-31T11:14:58.385870+08:00 [debug] msg: mria_worker_terminate, mfa: mria_status:terminate/2(329), process: mria_status, callback: terminate
2024-10-31T11:14:58.403011+08:00 [notice] msg: Mria is stopped, mfa: mria_app:stop/1(47)
2024-10-31T15:28:21.007360+08:00 [info] event=server_setup_successfully driver=tcp port=5370 socket=“#Port<0.5>”
2024-10-31T15:28:21.007636+08:00 [info] msg: gen_rpc_dispatcher_start, mfa: gen_rpc_dispatcher:init/0(52)
2024-10-31T15:28:21.009248+08:00 [notice] msg: Starting mria, mfa: mria_app:start/2(30)
2024-10-31T15:28:21.009964+08:00 [notice] msg: Starting mnesia, mfa: mria_app:start/2(33)
2024-10-31T15:28:21.010089+08:00 [debug] msg: Ensure mnesia schema, mfa: mria_mnesia:ensure_schema/0(106)
2024-10-31T15:28:21.012202+08:00 [notice] msg: Creating new mnesia schema, mfa: mria_mnesia:init_schema/0(436), result: {error,{‘emqxlin@82.156.129.129’,{already_exists,‘emqxlin@82.156.129.129’}}}
2024-10-31T15:28:21.038824+08:00 [notice] msg: Starting shards, mfa: mria_app:start/2(37)
2024-10-31T15:28:21.039144+08:00 [debug] msg: rlog_schema_init, mfa: mria_schema:init/0(185)
2024-10-31T15:28:21.049210+08:00 [info] msg: Setting RLOG shard config, mfa: mria_config:load_shard_config/2(207), tables: [‘$mria_rlog_sync’,mria_schema], shard: ‘$mria_meta_shard’
2024-10-31T15:28:21.049419+08:00 [info] msg: Converging schema, mfa: mria_schema:init/0(189)
2024-10-31T15:28:21.049623+08:00 [info] msg: Setting RLOG shard config, mfa: mria_config:load_shard_config/2(207), tables: [‘$mria_rlog_sync’,mria_schema], shard: ‘$mria_meta_shard’
2024-10-31T15:28:21.049925+08:00 [info] msg: starting_rlog_shard, mfa: mria_rlog_server:init/1(122), shard: ‘$mria_meta_shard’
2024-10-31T15:28:21.050285+08:00 [info] msg: Shard fully up, mfa: mria_rlog_server:handle_continue/2(133), node: ‘emqxlin@82.156.129.129’, shard: ‘$mria_meta_shard’
2024-10-31T15:28:21.050376+08:00 [notice] msg: Mria is running, mfa: mria_sup:post_init/1(43)
2024-10-31T15:28:21.050583+08:00 [info] msg: Starting ekka, mfa: ekka:start/0(95)
2024-10-31T15:28:21.050926+08:00 [info] msg: Ekka is running, mfa: ekka:start/0(98)
2024-10-31T15:28:21.054501+08:00 [debug] msg: mria_mnesia_create_table, mfa: mria:create_table/2(292), name: emqx_psk, options: [{rlog_shard,emqx_psk_shard},{type,ordered_set},{storage,disc_copies},{record_name,psk_entry},{attributes,[psk_id,shared_secret,extra]},{storage_properties,[{ets,[{read_concurrency,true}]}]}]
2024-10-31T15:28:21.054806+08:00 [info] msg: Adding table to a shard, mfa: mria_schema:add_entry/1(261), table: emqx_psk, shard: emqx_psk_shard
2024-10-31T15:28:21.054973+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_psk, ‘$span’: start
2024-10-31T15:28:21.055248+08:00 [info] msg: Setting RLOG shard config, mfa: mria_config:load_shard_config/2(207), tables: [emqx_psk], shard: emqx_psk_shard
2024-10-31T15:28:21.055382+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_psk, ‘$span’: {complete,true}
2024-10-31T15:28:21.055543+08:00 [debug] msg: mria_mnesia_create_table, mfa: mria:create_table/2(292), name: emqx_delayed, options: [{type,ordered_set},{storage,disc_copies},{local_content,true},{record_name,delayed_message},{attributes,[key,delayed,msg]}]
2024-10-31T15:28:21.055895+08:00 [info] msg: Adding table to a shard, mfa: mria_schema:add_entry/1(261), table: emqx_delayed, shard: undefined
2024-10-31T15:28:21.056062+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_delayed, ‘$span’: start
2024-10-31T15:28:21.056265+08:00 [info] msg: Setting RLOG shard config, mfa: mria_config:load_shard_config/2(207), tables: [emqx_delayed], shard: undefined
2024-10-31T15:28:21.056463+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_delayed, ‘$span’: {complete,true}
2024-10-31T15:28:21.056558+08:00 [debug] msg: mria_mnesia_create_table, mfa: mria:create_table/2(292), name: emqx_app, options: [{type,set},{rlog_shard,emqx_common_shard},{storage,disc_copies},{record_name,emqx_app},{attributes,[name,api_key,api_secret_hash,enable,extra,expired_at,created_at]}]
2024-10-31T15:28:21.056810+08:00 [info] msg: Adding table to a shard, mfa: mria_schema:add_entry/1(261), table: emqx_app, shard: emqx_common_shard
2024-10-31T15:28:21.056950+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_app, ‘$span’: start
2024-10-31T15:28:21.057119+08:00 [info] msg: Setting RLOG shard config, mfa: mria_config:load_shard_config/2(207), tables: [emqx_app], shard: emqx_common_shard
2024-10-31T15:28:21.057261+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_app, ‘$span’: {complete,true}
2024-10-31T15:28:21.057324+08:00 [debug] msg: mria_mnesia_create_table, mfa: mria:create_table/2(292), name: emqx_admin_jwt, options: [{type,set},{rlog_shard,emqx_dashboard_shard},{storage,disc_copies},{record_name,emqx_admin_jwt},{attributes,[token,username,exptime,extra]},{storage_properties,[{ets,[{read_concurrency,true},{write_concurrency,true}]}]}]
2024-10-31T15:28:21.057567+08:00 [info] msg: Adding table to a shard, mfa: mria_schema:add_entry/1(261), table: emqx_admin_jwt, shard: emqx_dashboard_shard
2024-10-31T15:28:21.057709+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_admin_jwt, ‘$span’: start
2024-10-31T15:28:21.057882+08:00 [info] msg: Setting RLOG shard config, mfa: mria_config:load_shard_config/2(207), tables: [emqx_admin_jwt], shard: emqx_dashboard_shard
2024-10-31T15:28:21.058004+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_admin_jwt, ‘$span’: {complete,true}
2024-10-31T15:28:21.058067+08:00 [debug] msg: mria_mnesia_create_table, mfa: mria:create_table/2(292), name: emqx_dashboard_monitor, options: [{type,set},{local_content,true},{storage,disc_copies},{record_name,emqx_monit},{attributes,[time,data]}]
2024-10-31T15:28:21.058262+08:00 [info] msg: Adding table to a shard, mfa: mria_schema:add_entry/1(261), table: emqx_dashboard_monitor, shard: undefined
2024-10-31T15:28:21.058420+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_dashboard_monitor, ‘$span’: start
2024-10-31T15:28:21.058610+08:00 [info] msg: Setting RLOG shard config, mfa: mria_config:load_shard_config/2(207), tables: [emqx_dashboard_monitor,emqx_delayed], shard: undefined
2024-10-31T15:28:21.058777+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_dashboard_monitor, ‘$span’: {complete,true}
2024-10-31T15:28:21.058856+08:00 [debug] msg: mria_mnesia_create_table, mfa: mria:create_table/2(292), name: emqx_admin, options: [{type,set},{rlog_shard,emqx_dashboard_shard},{storage,disc_copies},{record_name,emqx_admin},{attributes,[username,pwdhash,description,role,extra]},{storage_properties,[{ets,[{read_concurrency,true},{write_concurrency,true}]}]}]
2024-10-31T15:28:21.059077+08:00 [info] msg: Adding table to a shard, mfa: mria_schema:add_entry/1(261), table: emqx_admin, shard: emqx_dashboard_shard
2024-10-31T15:28:21.059240+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_admin, ‘$span’: start
2024-10-31T15:28:21.059463+08:00 [info] msg: Setting RLOG shard config, mfa: mria_config:load_shard_config/2(207), tables: [emqx_admin,emqx_admin_jwt], shard: emqx_dashboard_shard
2024-10-31T15:28:21.060273+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_admin, ‘$span’: {complete,true}
2024-10-31T15:28:21.060360+08:00 [debug] msg: mria_mnesia_create_table, mfa: mria:create_table/2(292), name: cluster_rpc_mfa, options: [{type,ordered_set},{rlog_shard,emqx_cluster_rpc_shard},{storage,disc_copies},{record_name,cluster_rpc_mfa},{attributes,[tnx_id,mfa,created_at,initiator]}]
2024-10-31T15:28:21.060597+08:00 [info] msg: Adding table to a shard, mfa: mria_schema:add_entry/1(261), table: cluster_rpc_mfa, shard: emqx_cluster_rpc_shard
2024-10-31T15:28:21.060749+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: cluster_rpc_mfa, ‘$span’: start
2024-10-31T15:28:21.060960+08:00 [info] msg: Setting RLOG shard config, mfa: mria_config:load_shard_config/2(207), tables: [cluster_rpc_mfa], shard: emqx_cluster_rpc_shard
2024-10-31T15:28:21.062009+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: cluster_rpc_mfa, ‘$span’: {complete,true}
2024-10-31T15:28:21.062164+08:00 [debug] msg: mria_mnesia_create_table, mfa: mria:create_table/2(292), name: cluster_rpc_commit, options: [{type,set},{rlog_shard,emqx_cluster_rpc_shard},{storage,disc_copies},{record_name,cluster_rpc_commit},{attributes,[node,tnx_id]}]
2024-10-31T15:28:21.062420+08:00 [info] msg: Adding table to a shard, mfa: mria_schema:add_entry/1(261), table: cluster_rpc_commit, shard: emqx_cluster_rpc_shard
2024-10-31T15:28:21.062612+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: cluster_rpc_commit, ‘$span’: start
2024-10-31T15:28:21.062875+08:00 [info] msg: Setting RLOG shard config, mfa: mria_config:load_shard_config/2(207), tables: [cluster_rpc_commit,cluster_rpc_mfa], shard: emqx_cluster_rpc_shard
2024-10-31T15:28:21.063116+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: cluster_rpc_commit, ‘$span’: {complete,true}
2024-10-31T15:28:21.063244+08:00 [debug] msg: mria_mnesia_create_table, mfa: mria:create_table/2(292), name: emqx_acl, options: [{type,ordered_set},{rlog_shard,emqx_acl_sharded},{storage,disc_copies},{attributes,[who,rules]},{storage_properties,[{ets,[{read_concurrency,true}]}]}]
2024-10-31T15:28:21.063550+08:00 [info] msg: Adding table to a shard, mfa: mria_schema:add_entry/1(261), table: emqx_acl, shard: emqx_acl_sharded
2024-10-31T15:28:21.063679+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_acl, ‘$span’: start
2024-10-31T15:28:21.063906+08:00 [info] msg: Setting RLOG shard config, mfa: mria_config:load_shard_config/2(207), tables: [emqx_acl], shard: emqx_acl_sharded
2024-10-31T15:28:21.064671+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_acl, ‘$span’: {complete,true}
2024-10-31T15:28:21.064761+08:00 [debug] msg: mria_mnesia_create_table, mfa: mria:create_table/2(292), name: emqx_authn_scram_mnesia, options: [{rlog_shard,emqx_authn_shard},{type,ordered_set},{storage,disc_copies},{record_name,user_info},{attributes,[user_id,stored_key,server_key,salt,is_superuser]},{storage_properties,[{ets,[{read_concurrency,true}]}]}]
2024-10-31T15:28:21.065004+08:00 [info] msg: Adding table to a shard, mfa: mria_schema:add_entry/1(261), table: emqx_authn_scram_mnesia, shard: emqx_authn_shard
2024-10-31T15:28:21.065134+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_authn_scram_mnesia, ‘$span’: start
2024-10-31T15:28:21.065385+08:00 [info] msg: Setting RLOG shard config, mfa: mria_config:load_shard_config/2(207), tables: [emqx_authn_scram_mnesia], shard: emqx_authn_shard
2024-10-31T15:28:21.065946+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_authn_scram_mnesia, ‘$span’: {complete,true}
2024-10-31T15:28:21.066030+08:00 [debug] msg: mria_mnesia_create_table, mfa: mria:create_table/2(292), name: emqx_authn_mnesia, options: [{rlog_shard,emqx_authn_shard},{type,ordered_set},{storage,disc_copies},{record_name,user_info},{attributes,[user_id,password_hash,salt,is_superuser]},{storage_properties,[{ets,[{read_concurrency,true}]}]}]
2024-10-31T15:28:21.066268+08:00 [info] msg: Adding table to a shard, mfa: mria_schema:add_entry/1(261), table: emqx_authn_mnesia, shard: emqx_authn_shard
2024-10-31T15:28:21.066404+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_authn_mnesia, ‘$span’: start
2024-10-31T15:28:21.066643+08:00 [info] msg: Setting RLOG shard config, mfa: mria_config:load_shard_config/2(207), tables: [emqx_authn_mnesia,emqx_authn_scram_mnesia], shard: emqx_authn_shard
2024-10-31T15:28:21.066861+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_authn_mnesia, ‘$span’: {complete,true}
2024-10-31T15:28:21.066982+08:00 [debug] msg: mria_mnesia_create_table, mfa: mria:create_table/2(292), name: emqx_trie, options: [{rlog_shard,route_shard},{record_name,emqx_trie},{attributes,[key,count]},{type,ordered_set},{storage_properties,[{ets,[{read_concurrency,true},{write_concurrency,true}]}]}]
2024-10-31T15:28:21.067263+08:00 [info] msg: Adding table to a shard, mfa: mria_schema:add_entry/1(261), table: emqx_trie, shard: route_shard
2024-10-31T15:28:21.067400+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_trie, ‘$span’: start
2024-10-31T15:28:21.067624+08:00 [info] msg: Setting RLOG shard config, mfa: mria_config:load_shard_config/2(207), tables: [emqx_trie], shard: route_shard
2024-10-31T15:28:21.068948+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_trie, ‘$span’: {complete,true}
2024-10-31T15:28:21.069084+08:00 [debug] msg: mria_mnesia_create_table, mfa: mria:create_table/2(292), name: emqx_shared_subscription, options: [{type,bag},{rlog_shard,emqx_shared_sub_shard},{storage,ram_copies},{record_name,emqx_shared_subscription},{attributes,[group,topic,subpid]}]
2024-10-31T15:28:21.069341+08:00 [info] msg: Adding table to a shard, mfa: mria_schema:add_entry/1(261), table: emqx_shared_subscription, shard: emqx_shared_sub_shard
2024-10-31T15:28:21.069508+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_shared_subscription, ‘$span’: start
2024-10-31T15:28:21.069696+08:00 [info] msg: Setting RLOG shard config, mfa: mria_config:load_shard_config/2(207), tables: [emqx_shared_subscription], shard: emqx_shared_sub_shard
2024-10-31T15:28:21.070378+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_shared_subscription, ‘$span’: {complete,true}
2024-10-31T15:28:21.070494+08:00 [debug] msg: mria_mnesia_create_table, mfa: mria:create_table/2(292), name: emqx_routing_node, options: [{type,set},{rlog_shard,route_shard},{storage,ram_copies},{record_name,routing_node},{attributes,[name,const]},{storage_properties,[{ets,[{read_concurrency,true}]}]}]
2024-10-31T15:28:21.070726+08:00 [info] msg: Adding table to a shard, mfa: mria_schema:add_entry/1(261), table: emqx_routing_node, shard: route_shard
2024-10-31T15:28:21.070867+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_routing_node, ‘$span’: start
2024-10-31T15:28:21.071109+08:00 [info] msg: Setting RLOG shard config, mfa: mria_config:load_shard_config/2(207), tables: [emqx_routing_node,emqx_trie], shard: route_shard
2024-10-31T15:28:21.071986+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_routing_node, ‘$span’: {complete,true}
2024-10-31T15:28:21.072338+08:00 [debug] msg: mria_mnesia_create_table, mfa: mria:create_table/2(292), name: emqx_route, options: [{type,bag},{rlog_shard,route_shard},{storage,ram_copies},{record_name,route},{attributes,[topic,dest]},{storage_properties,[{ets,[{read_concurrency,true},{write_concurrency,true}]}]}]
2024-10-31T15:28:21.072628+08:00 [info] msg: Adding table to a shard, mfa: mria_schema:add_entry/1(261), table: emqx_route, shard: route_shard
2024-10-31T15:28:21.072787+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_route, ‘$span’: start
2024-10-31T15:28:21.073000+08:00 [info] msg: Setting RLOG shard config, mfa: mria_config:load_shard_config/2(207), tables: [emqx_route,emqx_routing_node,emqx_trie], shard: route_shard
2024-10-31T15:28:21.073830+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_route, ‘$span’: {complete,true}
2024-10-31T15:28:21.073910+08:00 [debug] msg: mria_mnesia_create_table, mfa: mria:create_table/2(292), name: emqx_route_filters, options: [{type,ordered_set},{rlog_shard,route_shard},{storage,ram_copies},{record_name,routeidx},{attributes,[entry,unused]},{storage_properties,[{ets,[{read_concurrency,true},{write_concurrency,true},{decentralized_counters,true}]}]}]
2024-10-31T15:28:21.074139+08:00 [info] msg: Adding table to a shard, mfa: mria_schema:add_entry/1(261), table: emqx_route_filters, shard: route_shard
2024-10-31T15:28:21.074319+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_route_filters, ‘$span’: start
2024-10-31T15:28:21.074518+08:00 [info] msg: Setting RLOG shard config, mfa: mria_config:load_shard_config/2(207), tables: [emqx_route,emqx_route_filters,emqx_routing_node,emqx_trie], shard: route_shard
2024-10-31T15:28:21.075338+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_route_filters, ‘$span’: {complete,true}
2024-10-31T15:28:21.075418+08:00 [debug] msg: mria_mnesia_create_table, mfa: mria:create_table/2(292), name: emqx_exclusive_subscription, options: [{rlog_shard,emqx_exclusive_shard},{type,set},{storage,ram_copies},{record_name,exclusive_subscription},{attributes,[topic,clientid]},{storage_properties,[{ets,[{read_concurrency,true},{write_concurrency,true}]}]}]
2024-10-31T15:28:21.075646+08:00 [info] msg: Adding table to a shard, mfa: mria_schema:add_entry/1(261), table: emqx_exclusive_subscription, shard: emqx_exclusive_shard
2024-10-31T15:28:21.075773+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_exclusive_subscription, ‘$span’: start
2024-10-31T15:28:21.075942+08:00 [info] msg: Setting RLOG shard config, mfa: mria_config:load_shard_config/2(207), tables: [emqx_exclusive_subscription], shard: emqx_exclusive_shard
2024-10-31T15:28:21.076861+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_exclusive_subscription, ‘$span’: {complete,true}
2024-10-31T15:28:21.077024+08:00 [info] msg: starting_rlog_shard, mfa: mria_rlog_server:init/1(122), shard: emqx_exclusive_shard
2024-10-31T15:28:21.077404+08:00 [debug] msg: mria_mnesia_create_table, mfa: mria:create_table/2(292), name: emqx_banned, options: [{type,set},{rlog_shard,emqx_common_shard},{storage,disc_copies},{record_name,banned},{attributes,[who,by,reason,at,until]},{storage_properties,[{ets,[{read_concurrency,true}]}]}]
2024-10-31T15:28:21.077482+08:00 [info] msg: Shard fully up, mfa: mria_rlog_server:handle_continue/2(133), node: ‘emqxlin@82.156.129.129’, shard: emqx_exclusive_shard
2024-10-31T15:28:21.077698+08:00 [info] msg: Adding table to a shard, mfa: mria_schema:add_entry/1(261), table: emqx_banned, shard: emqx_common_shard
2024-10-31T15:28:21.077819+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_banned, ‘$span’: start
2024-10-31T15:28:21.078023+08:00 [info] msg: Setting RLOG shard config, mfa: mria_config:load_shard_config/2(207), tables: [emqx_app,emqx_banned], shard: emqx_common_shard
2024-10-31T15:28:21.078899+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_banned, ‘$span’: {complete,true}
2024-10-31T15:28:21.079007+08:00 [debug] msg: mria_mnesia_create_table, mfa: mria:create_table/2(292), name: emqx_activated_alarm, options: [{type,ordered_set},{storage,disc_copies},{local_content,true},{record_name,activated_alarm},{attributes,[name,details,message,activate_at]}]
2024-10-31T15:28:21.079297+08:00 [info] msg: Adding table to a shard, mfa: mria_schema:add_entry/1(261), table: emqx_activated_alarm, shard: undefined
2024-10-31T15:28:21.079456+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_activated_alarm, ‘$span’: start
2024-10-31T15:28:21.079680+08:00 [info] msg: Setting RLOG shard config, mfa: mria_config:load_shard_config/2(207), tables: [emqx_activated_alarm,emqx_dashboard_monitor,emqx_delayed], shard: undefined
2024-10-31T15:28:21.080530+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_activated_alarm, ‘$span’: {complete,true}
2024-10-31T15:28:21.080635+08:00 [debug] msg: mria_mnesia_create_table, mfa: mria:create_table/2(292), name: emqx_deactivated_alarm, options: [{type,ordered_set},{storage,disc_copies},{local_content,true},{record_name,deactivated_alarm},{attributes,[activate_at,name,details,message,deactivate_at]}]
2024-10-31T15:28:21.080857+08:00 [info] msg: Adding table to a shard, mfa: mria_schema:add_entry/1(261), table: emqx_deactivated_alarm, shard: undefined
2024-10-31T15:28:21.080977+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_deactivated_alarm, ‘$span’: start
2024-10-31T15:28:21.081194+08:00 [info] msg: Setting RLOG shard config, mfa: mria_config:load_shard_config/2(207), tables: [emqx_activated_alarm,emqx_dashboard_monitor,emqx_deactivated_alarm,emqx_delayed], shard: undefined
2024-10-31T15:28:21.082095+08:00 [debug] msg: ensure_local_table, mfa: mria_schema:ensure_local_table/1(139), table: emqx_deactivated_alarm, ‘$span’: {complete,true}
2024-10-31T15:28:21.082666+08:00 [notice] msg: (re)starting_emqx_apps, mfa: emqx_machine_boot:ensure_apps_started/0(100)
2024-10-31T15:28:21.084261+08:00 [debug] msg: starting_app, mfa: emqx_machine_boot:start_one_app/1(105), app: emqx_conf
2024-10-31T15:28:21.084630+08:00 [info] msg: starting_rlog_shard, mfa: mria_rlog_server:init/1(122), shard: emqx_cluster_rpc_shard
2024-10-31T15:28:21.085016+08:00 [info] msg: Shard fully up, mfa: mria_rlog_server:handle_continue/2(133), node: ‘emqxlin@82.156.129.129’, shard: emqx_cluster_rpc_shard
2024-10-31T15:28:21.085373+08:00 [info] msg: wait_for_cluster_rpc_shard, mfa: emqx_cluster_rpc:wait_for_cluster_rpc/0(319), result: ok
2024-10-31T15:28:21.085535+08:00 [info] msg: wait_for_cluster_rpc_tables, mfa: emqx_cluster_rpc:wait_for_cluster_rpc/0(324), result: ok
2024-10-31T15:28:21.085888+08:00 [info] msg: skip_sync_cluster_conf, mfa: emqx_conf_app:sync_cluster_conf/0(131), reason: This is a single node, or the first node in the cluster

看起来是你的 centos 不让用

这个 port,你换一个小一点的 port 试试。

换小了之后日志是这样的:

===== LOGGING STARTED Mon Oct 28 15:14:34 CST 2024

=====

Kernel pid terminated (application_controller) ("{application_start_failure,kernel,{{shutdown,{failed_to_start_child,on_load,{on_load_function_failed,quicer_nif,{error,{load_failed,"Failed to load NIF libra

ry /root/emqx/lib/quicer-0.0.313/priv/libquicer_nif: ‘libatomic.so.1: cannot open shared object file: No such file or directory’"}}}}},{kernel,start,[normal,]}}}")

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

=====

===== LOGGING STARTED Mon Oct 28 15:22:07 CST 2024

=====

Kernel pid terminated (application_controller) ("{application_start_failure,kernel,{{shutdown,{failed_to_start_child,on_load,{on_load_function_failed,quicer_nif,{error,{load_failed,"Failed to load NIF libra

ry /root/emqx/lib/quicer-0.0.313/priv/libquicer_nif: ‘libatomic.so.1: cannot open shared object file: No such file or directory’"}}}}},{kernel,start,[normal,]}}}")

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

=====

===== LOGGING STARTED Thu Oct 31 09:21:20 CST 2024

=====

Kernel pid terminated (application_controller) ("{application_start_failure,kernel,{{shutdown,{failed_to_start_child,on_load,{on_load_function_failed,quicer_nif,{error,{load_failed,"Failed to load NIF libra

ry /root/emqx/lib/quicer-0.0.313/priv/libquicer_nif: ‘libatomic.so.1: cannot open shared object file: No such file or directory’"}}}}},{kernel,start,[normal,]}}}")

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

=====

===== LOGGING STARTED Thu Oct 31 09:32:14 CST 2024

=====

Erlang/OTP 26 [erts-14.2.1] [emqx] [64-bit] [smp:2:2] [ds:2:2:8] [async-threads:4] [jit:ns]

Listener tcp:default on 0.0.0.0:18880 started.

Listener tcp:internal on 10.2.8.2:11902 started.

Listener ssl:default on 0.0.0.0:8883 started.

Listener ws:default on 0.0.0.0:8399 started.

Listener wss:default on 0.0.0.0:8084 started.

Listener tcp:default on 0.0.0.0:18880 stopped.

Listener tcp:internal on 10.2.8.2:11902 stopped.

Listener ssl:default on 0.0.0.0:8883 stopped.

Listener ws:default on 0.0.0.0:8399 stopped.

Listener wss:default on 0.0.0.0:8084 stopped.

Kernel pid terminated (application_controller) ("{application_start_failure,emqx_machine,{{shutdown,{failed_to_start_child,emqx_machine_boot,{‘EXIT’,{{failed_to_start_app,emqx_dashboard,{emqx_dashboard,{['ht

tp:dashboard’],{emqx_dashboard_app,start,[normal,]}}}},[{emqx_machine_boot,start_one_app,1,[{file,"emqx_machine_boot.erl"},{line,111}]},{lists,foreach_1,2,[{file,"lists.erl"},{line,1686}]},{emqx_machin

e_boot,ensure_apps_started,0,[{file,"emqx_machine_boot.erl"},{line,101}]},{emqx_machine_boot,post_boot,0,[{file,"emqx_machine_boot.erl"},{line,44}]},{supervisor,do_start_child_i,3,[{file,"supervisor.erl

"},{line,420}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,406}]},{supervisor,‘-start_children/2-fun-0-’,3,[{file,"supervisor.erl"},{line,390}]},{supervisor,children_map,4,[{file,"supe

rvisor.erl"},{line,1258}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,350}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,980}]},{gen_server,init_it,6,[{file,"gen_se

Crash dump is being written to: /root/emqx/log/erl_crash.dump…

=====

===== LOGGING STARTED Thu Oct 31 09:40:23 CST 2024

=====

Erlang/OTP 26 [erts-14.2.1] [emqx] [64-bit] [smp:2:2] [ds:2:2:8] [async-threads:4] [jit:ns]

Listener tcp:default on 0.0.0.0:18880 started.

Listener tcp:internal on 10.2.8.2:11902 started.

Listener ssl:default on 0.0.0.0:8883 started.

Listener ws:default on 0.0.0.0:8399 started.

Listener wss:default on 0.0.0.0:8084 started.

Listener tcp:default on 0.0.0.0:18880 stopped.

Listener tcp:internal on 10.2.8.2:11902 stopped.

Listener ssl:default on 0.0.0.0:8883 stopped.

Listener ws:default on 0.0.0.0:8399 stopped.

Listener wss:default on 0.0.0.0:8084 stopped.

Kernel pid terminated (application_controller) ("{application_start_failure,emqx_machine,{{shutdown,{failed_to_start_child,emqx_machine_boot,{‘EXIT’,{{failed_to_start_app,emqx_dashboard,{emqx_dashboard,{['ht

tp:dashboard’],{emqx_dashboard_app,start,[normal,]}}}},[{emqx_machine_boot,start_one_app,1,[{file,"emqx_machine_boot.erl"},{line,111}]},{lists,foreach_1,2,[{file,"lists.erl"},{line,1686}]},{emqx_machin

e_boot,ensure_apps_started,0,[{file,"emqx_machine_boot.erl"},{line,101}]},{emqx_machine_boot,post_boot,0,[{file,"emqx_machine_boot.erl"},{line,44}]},{supervisor,do_start_child_i,3,[{file,"supervisor.erl

"},{line,420}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,406}]},{supervisor,‘-start_children/2-fun-0-’,3,[{file,"supervisor.erl"},{line,390}]},{supervisor,children_map,4,[{file,"supe

rvisor.erl"},{line,1258}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,350}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,980}]},{gen_server,init_it,6,[{file,"gen_se

Crash dump is being written to: /root/emqx/log/erl_crash.dump…

=====

===== LOGGING STARTED Thu Oct 31 09:45:49 CST 2024

=====

Erlang/OTP 26 [erts-14.2.1] [emqx] [64-bit] [smp:2:2] [ds:2:2:8] [async-threads:4] [jit:ns]

Listener tcp:default on 0.0.0.0:18880 started.

Listener tcp:internal on 10.2.8.2:11902 started.

Listener ssl:default on 0.0.0.0:8883 started.

Listener ws:default on 0.0.0.0:8399 started.

Listener wss:default on 0.0.0.0:8084 started.

Listener tcp:default on 0.0.0.0:18880 stopped.

Listener tcp:internal on 10.2.8.2:11902 stopped.

Listener ssl:default on 0.0.0.0:8883 stopped.

Listener ws:default on 0.0.0.0:8399 stopped.

Listener wss:default on 0.0.0.0:8084 stopped.

Kernel pid terminated (application_controller) ("{application_start_failure,emqx_machine,{{shutdown,{failed_to_start_child,emqx_machine_boot,{‘EXIT’,{{failed_to_start_app,emqx_dashboard,{emqx_dashboard,{['ht

tp:dashboard’],{emqx_dashboard_app,start,[normal,]}}}},[{emqx_machine_boot,start_one_app,1,[{file,"emqx_machine_boot.erl"},{line,111}]},{lists,foreach_1,2,[{file,"lists.erl"},{line,1686}]},{emqx_machin

e_boot,ensure_apps_started,0,[{file,"emqx_machine_boot.erl"},{line,101}]},{emqx_machine_boot,post_boot,0,[{file,"emqx_machine_boot.erl"},{line,44}]},{supervisor,do_start_child_i,3,[{file,"supervisor.erl

"},{line,420}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,406}]},{supervisor,‘-start_children/2-fun-0-’,3,[{file,"supervisor.erl"},{line,390}]},{supervisor,children_map,4,[{file,"supe

rvisor.erl"},{line,1258}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,350}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,980}]},{gen_server,init_it,6,[{file,"gen_se

Crash dump is being written to: /root/emqx/log/erl_crash.dump…

=====

===== LOGGING STARTED Thu Oct 31 10:23:53 CST 2024

=====

Erlang/OTP 26 [erts-14.2.1] [emqx] [64-bit] [smp:2:2] [ds:2:2:8] [async-threads:4] [jit:ns]

Listener tcp:default on 0.0.0.0:18880 started.

Listener tcp:internal on 10.2.8.2:11902 started.

Listener ssl:default on 0.0.0.0:8883 started.

Listener ws:default on 0.0.0.0:8399 started.

Listener wss:default on 0.0.0.0:8084 started.

Listener tcp:default on 0.0.0.0:18880 stopped.

Listener tcp:internal on 10.2.8.2:11902 stopped.

Listener ssl:default on 0.0.0.0:8883 stopped.

Listener ws:default on 0.0.0.0:8399 stopped.

Listener wss:default on 0.0.0.0:8084 stopped.

Kernel pid terminated (application_controller) ("{application_start_failure,emqx_machine,{{shutdown,{failed_to_start_child,emqx_machine_boot,{‘EXIT’,{{failed_to_start_app,emqx_dashboard,{emqx_dashboard,{['ht

tp:dashboard’],{emqx_dashboard_app,start,[normal,]}}}},[{emqx_machine_boot,start_one_app,1,[{file,"emqx_machine_boot.erl"},{line,111}]},{lists,foreach_1,2,[{file,"lists.erl"},{line,1686}]},{emqx_machin

e_boot,ensure_apps_started,0,[{file,"emqx_machine_boot.erl"},{line,101}]},{emqx_machine_boot,post_boot,0,[{file,"emqx_machine_boot.erl"},{line,44}]},{supervisor,do_start_child_i,3,[{file,"supervisor.erl

"},{line,420}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,406}]},{supervisor,‘-start_children/2-fun-0-’,3,[{file,"supervisor.erl"},{line,390}]},{supervisor,children_map,4,[{file,"supe

rvisor.erl"},{line,1258}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,350}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,980}]},{gen_server,init_it,6,[{file,"gen_se

Crash dump is being written to: /root/emqx/log/erl_crash.dump…
Listener tcp:default on 0.0.0.0:18880 started.

Listener tcp:internal on 10.2.8.2:11902 started.

Listener ssl:default on 0.0.0.0:8883 started.

Listener ws:default on 0.0.0.0:8399 started.

Listener wss:default on 0.0.0.0:8084 started.

Listener tcp:default on 0.0.0.0:18880 stopped.

Listener tcp:internal on 10.2.8.2:11902 stopped.

Listener ssl:default on 0.0.0.0:8883 stopped.

Listener ws:default on 0.0.0.0:8399 stopped.

Listener wss:default on 0.0.0.0:8084 stopped.

Kernel pid terminated (application_controller) ("{application_start_failure,emqx_machine,{{shutdown,{failed_to_start_child,emqx_machine_boot,{‘EXIT’,{{failed_to_start_app,emqx_dashboard,{emqx_dashboard,{['ht

tp:dashboard’],{emqx_dashboard_app,start,[normal,]}}}},[{emqx_machine_boot,start_one_app,1,[{file,"emqx_machine_boot.erl"},{line,111}]},{lists,foreach_1,2,[{file,"lists.erl"},{line,1686}]},{emqx_machin

e_boot,ensure_apps_started,0,[{file,"emqx_machine_boot.erl"},{line,101}]},{emqx_machine_boot,post_boot,0,[{file,"emqx_machine_boot.erl"},{line,44}]},{supervisor,do_start_child_i,3,[{file,"supervisor.erl

"},{line,420}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,406}]},{supervisor,‘-start_children/2-fun-0-’,3,[{file,"supervisor.erl"},{line,390}]},{supervisor,children_map,4,[{file,"supe

rvisor.erl"},{line,1258}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,350}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,980}]},{gen_server,init_it,6,[{file,"gen_se

Crash dump is being written to: /root/emqx/log/erl_crash.dump…

=====

===== LOGGING STARTED Thu Oct 31 17:07:42 CST 2024

=====

Erlang/OTP 26 [erts-14.2.1] [emqx] [64-bit] [smp:2:2] [ds:2:2:8] [async-threads:4] [jit:ns]

Listener tcp:default on 0.0.0.0:18880 started.

Listener tcp:internal on 10.2.8.2:11902 started.

Listener ssl:default on 0.0.0.0:8883 started.

Listener ws:default on 0.0.0.0:8399 started.

Listener wss:default on 0.0.0.0:8084 started.

Listener tcp:default on 0.0.0.0:18880 stopped.

Listener tcp:internal on 10.2.8.2:11902 stopped.

Listener ssl:default on 0.0.0.0:8883 stopped.

Listener ws:default on 0.0.0.0:8399 stopped.

Listener wss:default on 0.0.0.0:8084 stopped.

Kernel pid terminated (application_controller) ("{application_start_failure,emqx_machine,{{shutdown,{failed_to_start_child,emqx_machine_boot,{‘EXIT’,{{failed_to_start_app,emqx_dashboard,{emqx_dashboard,{['ht

tp:dashboard’],{emqx_dashboard_app,start,[normal,]}}}},[{emqx_machine_boot,start_one_app,1,[{file,"emqx_machine_boot.erl"},{line,111}]},{lists,foreach_1,2,[{file,"lists.erl"},{line,1686}]},{emqx_machin

e_boot,ensure_apps_started,0,[{file,"emqx_machine_boot.erl"},{line,101}]},{emqx_machine_boot,post_boot,0,[{file,"emqx_machine_boot.erl"},{line,44}]},{supervisor,do_start_child_i,3,[{file,"supervisor.erl

"},{line,420}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,406}]},{supervisor,‘-start_children/2-fun-0-’,3,[{file,"supervisor.erl"},{line,390}]},{supervisor,children_map,4,[{file,"supe

rvisor.erl"},{line,1258}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,350}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,980}]},{gen_server,init_it,6,[{file,"gen_se

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

[root@VM-8-2-centos log]# rpm -qa | grep libatomic

libatomic-8.5.0-22.el8.x86_64这个插件我是有的

参照一个,要装一下依赖:

如果有依赖的话:那就用./bin/emqx console 启动看看报错情况:

结果这样:
[root@VM-8-2-centos bin]# ./emqx console

Erlang/OTP 26 [erts-14.2.1] [emqx] [64-bit] [smp:2:2] [ds:2:2:8] [async-threads:4] [jit:ns]

Listener tcp:default on 0.0.0.0:18880 started.

Listener tcp:internal on 10.2.8.2:11902 started.

Listener ssl:default on 0.0.0.0:8883 started.

Listener ws:default on 0.0.0.0:8399 started.

Listener wss:default on 0.0.0.0:8084 started.

2024-10-31T17:44:57.718117+08:00 [error] Failed to start Ranch listener ‘http:dashboard’ in ranch_tcp:listen([{cacerts,‘…’},{key,‘…’},{cert,‘…’},inet,{backlog,1024},{ip,{82,156,129,129}},{send_timeout,

10000},{port,1812}]) for reason eaddrnotavail (can’t assign requested address)

2024-10-31T17:44:57.718508+08:00 [error] crasher: initial call: supervisor:ranch_acceptors_sup/1, pid: <0.2864.0>, registered_name: , exit: {{listen_error,‘http:dashboard’,eaddrnotavail},[{ranch_acceptors_

sup,listen_error,5,[{file,“ranch_acceptors_sup.erl”},{line,66}]},{supervisor,init,1,[{file,“supervisor.erl”},{line,330}]},{gen_server,init_it,2,[{file,“gen_server.erl”},{line,980}]},{gen_server,init_it,6,[{f

ile,“gen_server.erl”},{line,935}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,241}]}]}, ancestors: [<0.2862.0>,ranch_sup,<0.2447.0>], message_queue_len: 0, messages: , links: [<0.2862.0>], di

ctionary: [{logger,error_logger}], trap_exit: true, status: running, heap_size: 2586, stack_size: 28, reductions: 7789; neighbours:

2024-10-31T17:44:57.719219+08:00 [error] Supervisor: {<0.2862.0>,ranch_listener_sup}. Context: start_error. Reason: {listen_error,‘http:dashboard’,eaddrnotavail}. Offender: id=ranch_acceptors_sup,pid=undefin

ed.

2024-10-31T17:44:57.719551+08:00 [error] msg: started_listener_failed, mfa: minirest:log_start_result/2(114), name: ‘http:dashboard’, port: 1812, reason: {listen_error,‘http:dashboard’,eaddrnotavail}, descri

ption: cannot_assign_requested_address

2024-10-31T17:44:57.719934+08:00 [error] crasher: initial call: application_master:init/4, pid: <0.2847.0>, registered_name: , exit: {{[‘http:dashboard’],{emqx_dashboard_app,start,[normal,]}},[{applicati

on_master,init,4,[{file,“application_master.erl”},{line,142}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,241}]}]}, ancestors: [<0.2846.0>], message_queue_len: 1, messages: [{‘EXIT’,<0.2848.0>,

normal}], links: [<0.2846.0>,<0.2021.0>], dictionary: , trap_exit: true, status: running, heap_size: 376, stack_size: 28, reductions: 168; neighbours:

2024-10-31T17:44:57.720570+08:00 [critical] msg: failed_to_start_app, mfa: emqx_machine_boot:start_one_app/1(110), reason: {emqx_dashboard,{[‘http:dashboard’],{emqx_dashboard_app,start,[normal,]}}}, app: e

mqx_dashboard

2024-10-31T17:44:57.720810+08:00 [error] Supervisor: {local,emqx_machine_sup}. Context: start_error. Reason: {‘EXIT’,{{failed_to_start_app,emqx_dashboard,{emqx_dashboard,{[‘http:dashboard’],{emqx_dashboard_a

pp,start,[normal,]}}}},[{emqx_machine_boot,start_one_app,1,[{file,“emqx_machine_boot.erl”},{line,111}]},{lists,foreach_1,2,[{file,“lists.erl”},{line,1686}]},{emqx_machine_boot,ensure_apps_started,0,[{file,

“emqx_machine_boot.erl”},{line,101}]},{emqx_machine_boot,post_boot,0,[{file,“emqx_machine_boot.erl”},{line,44}]},{supervisor,do_start_child_i,3,[{file,“supervisor.erl”},{line,420}]},{supervisor,do_start_chil

d,2,[{file,“supervisor.erl”},{line,406}]},{supervisor,‘-start_children/2-fun-0-’,3,[{file,“supervisor.erl”},{line,390}]},{supervisor,children_map,4,[{file,“supervisor.erl”},{line,1258}]},{supervisor,init_chi

ldren,2,[{file,“supervisor.erl”},{line,350}]},{gen_server,init_it,2,[{file,“gen_server.erl”},{line,980}]},{gen_server,init_it,6,[{file,“gen_server.erl”},{line,935}]},{proc_lib,init_p_do_apply,3,[{file,"proc_

lib.erl"},{line,241}]}]}}. Offender: id=emqx_machine_boot,pid=undefined.

2024-10-31T17:44:57.721273+08:00 [error] crasher: initial call: application_master:init/4, pid: <0.2188.0>, registered_name: , exit: {{{shutdown,{failed_to_start_child,emqx_machine_boot,{‘EXIT’,{{failed_to

_start_app,emqx_dashboard,{emqx_dashboard,{[‘http:dashboard’],{emqx_dashboard_app,start,[normal,]}}}},[{emqx_machine_boot,start_one_app,1,[{file,“emqx_machine_boot.erl”},{line,111}]},{lists,foreach_1,2,[{f

ile,“lists.erl”},{line,1686}]},{emqx_machine_boot,ensure_apps_started,0,[{file,“emqx_machine_boot.erl”},{line,101}]},{emqx_machine_boot,post_boot,0,[{file,“emqx_machine_boot.erl”},{line,44}]},{supervisor,do_

start_child_i,3,[{file,“supervisor.erl”},{line,420}]},{supervisor,do_start_child,2,[{file,“supervisor.erl”},{line,406}]},{supervisor,‘-start_children/2-fun-0-’,3,[{file,“supervisor.erl”},{line,390}]},{superv

isor,children_map,4,[{file,“supervisor.erl”},{line,1258}]},{supervisor,init_children,2,[{file,“supervisor.erl”},{line,350}]},{gen_server,init_it,2,[{file,“gen_server.erl”},{line,980}]},{gen_server,init_it,6,

[{file,“gen_server.erl”},{line,935}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,241}]}]}}}},{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,241}]}]}, ancestors: [<0.2187.0>], message_queue_len: 1, messages: [{‘EXIT’,<0.2189.0>,normal}], links: [<0.2187.0>,<0.2021.0>], dictionar

y: , trap_exit: true, status: running, heap_size: 987, stack_size: 28, reductions: 249; neighbours:

Listener tcp:default on 0.0.0.0:18880 stopped.

Listener tcp:internal on 10.2.8.2:11902 stopped.

Listener ssl:default on 0.0.0.0:8883 stopped.

Listener ws:default on 0.0.0.0:8399 stopped.

Listener wss:default on 0.0.0.0:8084 stopped.

Kernel pid terminated (application_controller) ("{application_start_failure,emqx_machine,{{shutdown,{failed_to_start_child,emqx_machine_boot,{‘EXIT’,{{failed_to_start_app,emqx_dashboard,{emqx_dashboard,{['ht

tp:dashboard’],{emqx_dashboard_app,start,[normal,]}}}},[{emqx_machine_boot,start_one_app,1,[{file,"emqx_machine_boot.erl"},{line,111}]},{lists,foreach_1,2,[{file,"lists.erl"},{line,1686}]},{emqx_machin

e_boot,ensure_apps_started,0,[{file,"emqx_machine_boot.erl"},{line,101}]},{emqx_machine_boot,post_boot,0,[{file,"emqx_machine_boot.erl"},{line,44}]},{supervisor,do_start_child_i,3,[{file,"supervisor.erl

"},{line,420}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,406}]},{supervisor,‘-start_children/2-fun-0-’,3,[{file,"supervisor.erl"},{line,390}]},{supervisor,children_map,4,[{file,"supe

rvisor.erl"},{line,1258}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,350}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,980}]},{gen_server,init_it,6,[{file,"gen_se

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

额,这个日志说的是你的dashboard 的 82.156.129.129:1812 无法被监听。。。
你不是把 dashboard 的 bind 改成不要 ip 了的么,怎么还是有 ip 在上面。。。

都一样啊
Listener tcp:default on 0.0.0.0:18880 started.

Listener tcp:internal on 10.2.8.2:11902 started.

Listener ssl:default on 0.0.0.0:8883 started.

Listener ws:default on 0.0.0.0:8399 started.

Listener wss:default on 0.0.0.0:8084 started.

Listener tcp:default on 0.0.0.0:18880 stopped.

Listener tcp:internal on 10.2.8.2:11902 stopped.

Listener ssl:default on 0.0.0.0:8883 stopped.

Listener ws:default on 0.0.0.0:8399 stopped.

Listener wss:default on 0.0.0.0:8084 stopped.

Kernel pid terminated (application_controller) ("{application_start_failure,emqx_machine,{{shutdown,{failed_to_start_child,emqx_machine_boot,{‘EXIT’,{{failed_to_start_app,emqx_dashboard,{emqx_dashboard,{['ht

tp:dashboard’],{emqx_dashboard_app,start,[normal,]}}}},[{emqx_machine_boot,start_one_app,1,[{file,"emqx_machine_boot.erl"},{line,111}]},{lists,foreach_1,2,[{file,"lists.erl"},{line,1686}]},{emqx_machin

e_boot,ensure_apps_started,0,[{file,"emqx_machine_boot.erl"},{line,101}]},{emqx_machine_boot,post_boot,0,[{file,"emqx_machine_boot.erl"},{line,44}]},{supervisor,do_start_child_i,3,[{file,"supervisor.erl

"},{line,420}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,406}]},{supervisor,‘-start_children/2-fun-0-’,3,[{file,"supervisor.erl"},{line,390}]},{supervisor,children_map,4,[{file,"supe

rvisor.erl"},{line,1258}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,350}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,980}]},{gen_server,init_it,6,[{file,"gen_se

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

=====

===== LOGGING STARTED Fri Nov 1 09:03:54 CST 2024

=====

Erlang/OTP 26 [erts-14.2.1] [emqx] [64-bit] [smp:2:2] [ds:2:2:8] [async-threads:4] [jit:ns]

Listener tcp:default on 0.0.0.0:18880 started.

Listener tcp:internal on 10.2.8.2:11902 started.

Listener ssl:default on 0.0.0.0:8883 started.

Listener ws:default on 0.0.0.0:8399 started.

Listener wss:default on 0.0.0.0:8084 started.

Listener http:dashboard on :1812 started.

EMQX 5.5.0 is running now!

Restricted Eshell V14.2.1 (press Ctrl+G to abort, type help(). for help)

不一样吧。最后的日志不是显示成功了么。

===== LOGGING STARTED Fri Nov 1 09:03:54 CST 2024

=====

Erlang/OTP 26 [erts-14.2.1] [emqx] [64-bit] [smp:2:2] [ds:2:2:8] [async-threads:4] [jit:ns]

Listener tcp:default on 0.0.0.0:18880 started.

Listener tcp:internal on 10.2.8.2:11902 started.

Listener ssl:default on 0.0.0.0:8883 started.

Listener ws:default on 0.0.0.0:8399 started.

Listener wss:default on 0.0.0.0:8084 started.

Listener http:dashboard on :1812 started.

EMQX 5.5.0 is running now!

Restricted Eshell V14.2.1 (press Ctrl+G to abort, type help(). for help)

这应该是一次新的启动。我的建议是没成功的时候用 console,不需要用 start。等 console 没有问题,再关掉用 start 后台启动。

[root@VM-8-2-centos bin]# ./emqx console

Protocol ‘ekka’: register/listen error: “port 4370 is in use”
但是我没有配置4370端口啊

这个已经是你的 emqx start 启动了,一直没关。你先用 stop 把上一个实例关掉。

[root@VM-8-2-centos bin]# ./emqx stop

ok

[root@VM-8-2-centos bin]# ./emqx console

Erlang/OTP 26 [erts-14.2.1] [emqx] [64-bit] [smp:2:2] [ds:2:2:8] [async-threads:4] [jit:ns]

Listener tcp:default on 0.0.0.0:18880 started.

Listener tcp:internal on 10.2.8.2:11902 started.

Listener ssl:default on 0.0.0.0:8883 started.

Listener ws:default on 0.0.0.0:8399 started.

Listener wss:default on 0.0.0.0:8084 started.

Listener http:dashboard on :1812 started.

EMQX 5.5.0 is running now!

Restricted Eshell V14.2.1 (press Ctrl+G to abort, type help(). for help)

v5.5.0(emqxlin@82.156.129.129)1>
这是属于啥情况

这已经是完全可用了。
dashboard 你直接访问 1812 端口就行了。

可以了,感谢