环境
- EMQX 版本:5.3.0
- 操作系统版本:3.10.0-1160.el7.x86_64
重现此问题的步骤
- 下载之后使用emqxstart启动失败
报错如下:
2023-10-10T15:40:01.196575+08:00 [error] event=socket_error_event driver=tcp socket=“#Port<0.106>” event=“ebadf” action=stopping
2023-10-10T15:40:01.196636+08:00 [error] State machine gen_rpc_server_tcp terminating. Reason: {socket_error,ebadf}. Stack: [{gen_statem,loop_state_callback_result,11,[{file,“gen_statem.erl”},{line,1555}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,240}]}]. Last event: {internal,accept}. State: {waiting_for_connection,{state,#Port<0.106>,tcp,gen_rpc_driver_tcp}}.
2023-10-10T15:40:01.196729+08:00 [error] crasher: initial call: gen_rpc_server:init/1, pid: <0.6035.1>, registered_name: gen_rpc_server_tcp, exit: {{socket_error,ebadf},[{gen_statem,loop_state_callback_result,11,[{file,“gen_statem.erl”},{line,1555}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,240}]}]}, ancestors: [gen_rpc_sup,<0.30734.0>], message_queue_len: 0, messages: , links: [<0.30736.0>,#Port<0.106>], dictionary: , trap_exit: false, status: running, heap_size: 2586, stack_size: 28, reductions: 7189; neighbours:
2023-10-10T15:40:01.196889+08:00 [error] Supervisor: {local,gen_rpc_sup}. Context: child_terminated. Reason: {socket_error,ebadf}. Offender: id=gen_rpc_server_tcp,pid=<0.6035.1>.
2023-10-10T15:40:01.196962+08:00 [error] Supervisor: {local,gen_rpc_sup}. Context: shutdown. Reason: reached_max_restart_intensity. Offender: id=gen_rpc_server_tcp,pid=<0.6035.1>.
{“Kernel pid terminated”,application_controller,“{application_terminated,gen_rpc,shutdown}”}
Kernel pid terminated (application_controller) ({application_terminated,gen_rpc,shutdown})