gpt4 book ai didi

rabbitmq - 安装后无法启动rabbitmq-server

转载 作者:行者123 更新时间:2023-12-03 17:44:32 26 4
gpt4 key购买 nike

我正在尝试将 rabbitmq 用于 Django 教程,但是当我想启动服务器时出现此错误:

~$ sudo rabbitmq-server 
Configuring logger redirection
14:49:57.041 [error]

14:49:57.044 [error] BOOT FAILED
BOOT FAILED
14:49:57.044 [error] ===========
===========
14:49:57.044 [error] ERROR: could not bind to distribution port 25672, it is in use by another node: rabbit@wss
ERROR: could not bind to distribution port 25672, it is in use by another node: rabbit@wss
14:49:57.045 [error]

14:49:58.046 [error] Supervisor rabbit_prelaunch_sup had child prelaunch started with rabbit_prelaunch:run_prelaunch_first_phase() at undefined exit with reason {dist_port_already_used,25672,"rabbit","wss"} in context start_error
14:49:58.046 [error] CRASH REPORT Process <0.153.0> with 0 neighbours exited with reason: {{shutdown,{failed_to_start_child,prelaunch,{dist_port_already_used,25672,"rabbit","wss"}}},{rabbit_prelaunch_app,start,[normal,[]]}} in application_master:init/4 line 138
{"Kernel pid terminated",application_controller,"{application_start_failure,rabbitmq_prelaunch,{{shutdown,{failed_to_start_child,prelaunch,{dist_port_already_used,25672,\"rabbit\",\"wss\"}}},{rabbit_prelaunch_app,start,[normal,[]]}}}"}
Kernel pid terminated (application_controller) ({application_start_failure,rabbitmq_prelaunch,{{shutdown,{failed_to_start_child,prelaunch,{dist_port_already_used,25672,"rabbit","wss"}}},{rabbit_prelau

Crash dump is being written to: erl_crash.dump...done
我搜索了端口以查看它是否在使用中,我使用了 lsof -i :25672我一无所获。

我对这些东西不太了解,所以如果你需要什么,请告诉我。

最佳答案

尝试:

  • sudo lsof -i :25672
  • sudo kill <PID>
  • sudo rabbitmq-server

  • 哪里 <PID>是占用端口 25672 的进程 ID

    关于rabbitmq - 安装后无法启动rabbitmq-server,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63263177/

    26 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com