windows '名为“rabbit”的节点已在主机上运行'即使在终止进程后

new9mtju  于 2022-11-18  发布在  Windows
关注(0)|答案(1)|浏览(304)

每当我尝试运行一个rabbit服务器时,它都会遇到以下错误:

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,[]]}}})
b09cbbtk

b09cbbtk1#

请尝试删除带有PID的进程并使用taskkill

set /p pid=<%~dp0rabbitmq.pid
taskkill /F /PID %pid%
del /F /Q %~dp0rabbitmq.pid

相关问题