每当我试图运行兔子服务器时,它都会遇到以下错误:
ERROR: node with name "rabbit" is already running on host "DESKTOP-BKRTA3R"我读到过我应该用
rabbitmqctl stop但是我还是会出错,我还能在windows 10上做什么呢?
这是我的全部错误
2022-11-11 16:46:03.015000-08:00 [error] <0.131.0>
2022-11-11 16:46:03.015000-08:00 [error] <0.131.0> BOOT FAILED
2022-11-11 16:46:03.015000-08:00 [error] <0.131.0> ===========
2022-11-11 16:46:03.015000-08:00 [error] <0.131.0> ERROR: node with name "rabbit" is already
running on host "DESKTOP-BKRTA3R"
2022-11-11 16:46:03.015000-08:00 [error] <0.131.0>
BOOT FAILED
===========
ERROR: node with name "rabbit" is already running on host "DESKTOP-BKRTA3R"
2022-11-11 16:46:04.017000-08:00 [error] <0.131.0> supervisor: {local,rabbit_prelaunch_sup}
2022-11-11 16:46:04.017000-08:00 [error] <0.131.0> errorContext: start_error
2022-11-11 16:46:04.017000-08:00 [error] <0.131.0> reason: {duplicate_node_name,"rabbit","DESKTOP-BKRTA3R"}
2022-11-11 16:46:04.017000-08:00 [error] <0.131.0> offender: [{pid,undefined},
2022-11-11 16:46:04.017000-08:00 [error] <0.131.0> {id,prelaunch},
2022-11-11 16:46:04.017000-08:00 [error] <0.131.0> {mfargs,{rabbit_prelaunch,run_prelaunch_first_phase,[]}},
2022-11-11 16:46:04.017000-08:00 [error] <0.131.0> {restart_type,transient},
2022-11-11 16:46:04.017000-08:00 [error] <0.131.0> {significant,false},
2022-11-11 16:46:04.017000-08:00 [error] <0.131.0> {shutdown,5000},
2022-11-11 16:46:04.017000-08:00 [error] <0.131.0> {child_type,worker}]
2022-11-11 16:46:04.017000-08:00 [error] <0.131.0>
2022-11-11 16:46:04.017000-08:00 [error] <0.129.0> crasher:
2022-11-11 16:46:04.017000-08:00 [error] <0.129.0> initial call: application_master:init/4
2022-11-11 16:46:04.017000-08:00 [error] <0.129.0> pid: <0.129.0>
2022-11-11 16:46:04.017000-08:00 [error] <0.129.0> registered_name: []
2022-11-11 16:46:04.017000-08:00 [error] <0.129.0> exception exit: {{shutdown,
2022-11-11 16:46:04.017000-08:00 [error] <0.129.0> {failed_to_start_child,prelaunch,
2022-11-11 16:46:04.017000-08:00 [error] <0.129.0> {duplicate_node_name,"rabbit",
2022-11-11 16:46:04.017000-08:00 [error] <0.129.0> "DESKTOP-BKRTA3R"}}},
2022-11-11 16:46:04.017000-08:00 [error] <0.129.0> {rabbit_prelaunch_app,start,[normal,[]]}}
2022-11-11 16:46:04.017000-08:00 [error] <0.129.0> in function application_master:init/4 (application_master.erl, line 142)
2022-11-11 16:46:04.017000-08:00 [error] <0.129.0> ancestors: [<0.128.0>]
2022-11-11 16:46:04.017000-08:00 [error] <0.129.0> message_queue_len: 1
2022-11-11 16:46:04.017000-08:00 [error] <0.129.0> messages: [{'EXIT',<0.130.0>,normal}]
2022-11-11 16:46:04.017000-08:00 [error] <0.129.0> links: [<0.128.0>,<0.44.0>]
2022-11-11 16:46:04.017000-08:00 [error] <0.129.0> dictionary: []
2022-11-11 16:46:04.017000-08:00 [error] <0.129.0> trap_exit: true
2022-11-11 16:46:04.017000-08:00 [error] <0.129.0> status: running
2022-11-11 16:46:04.017000-08:00 [error] <0.129.0> heap_size: 376
2022-11-11 16:46:04.017000-08:00 [error] <0.129.0> stack_size: 28
2022-11-11 16:46:04.017000-08:00 [error] <0.129.0> reductions: 167
2022-11-11 16:46:04.017000-08:00 [error] <0.129.0> neighbours:
2022-11-11 16:46:04.017000-08:00 [error] <0.129.0>
2022-11-11 16:46:04.043000-08:00 [notice] <0.44.0> Application rabbitmq_prelaunch exited with reason: {{shutdown,{failed_to_start_child,prelaunch,{duplicate_node_name,"rabbit","DESKTOP-BKRTA3R"}}},{rabbit_prelaunch_app,start,[normal,[]]}}
{"Kernel pid terminated",application_controller,"{application_start_failure,rabbitmq_prelaunch,{{shutdown,{failed_to_start_child,prelaunch,{duplicate_node_name,\"rabbit\",\"DESKTOP-BKRTA3R\"}}},{rabbit_prelaunch_app,start,[normal,[]]}}}"}
Kernel pid terminated (application_controller) ({application_start_failure,rabbitmq_prelaunch,{{shutdown,{failed_to_start_child,prelaunch,{duplicate_node_name,"rabbit","DESKTOP-BKRTA3R"}}},{rabbit_prelaunch_app,start,[normal,[]]}}})发布于 2022-11-12 01:00:59
尝试使用PID并使用taskkill删除进程。
set /p pid=<%~dp0rabbitmq.pid
taskkill /F /PID %pid%
del /F /Q %~dp0rabbitmq.pidhttps://stackoverflow.com/questions/74409565
复制相似问题