赞
踩
- Configuring logger redirection
- 18:34:18.767 [error]
-
- 18:34:18.786 [error] BOOT FAILED
- BOOT FAILED
- 18:34:18.786 [error] ===========
- ===========
- 18:34:18.786 [error] ERROR: distribution port 25672 in use by another node: rabbit@localhost
- ERROR: distribution port 25672 in use by another node: rabbit@localhost
- 18:34:18.787 [error]
-
- 18:34:19.788 [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","localhost"} in context start_error
- 18:34:19.790 [error] CRASH REPORT Process <0.152.0> with 0 neighbours exited with reason: {{shutdown,{failed_to_start_child,prelaunch,{dist_port_already_used,25672,"rabbit","localhost"}}},{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\",\"localhost\"}}},{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","localhost"}}},{rabbit_
-
- Crash dump is being written to: erl_crash.dump...done
1. 输入以下命令
~ ps -ef | grep rabbitmq
得到以下信息
501 608 1 0 17May21 ?? 0:00.01 /bin/sh /usr/local/opt/rabbitmq/sbin/rabbitmq-server
2. 使用 kill -9 命令杀掉rabbitmq进程
kill -9 608
3. 进入/usr/local/Cellar/rabbitmq/3.8.14目录,启动rabbitmq
./sbin/rabbitmq-server
4.看到以下画面则表示启动成功
- Configuring logger redirection
-
- ## ## RabbitMQ 3.8.14
- ## ##
- ########## Copyright (c) 2007-2021 VMware, Inc. or its affiliates.
- ###### ##
- ########## Licensed under the MPL 2.0. Website: https://rabbitmq.com
-
- Doc guides: https://rabbitmq.com/documentation.html
- Support: https://rabbitmq.com/contact.html
- Tutorials: https://rabbitmq.com/getstarted.html
- Monitoring: https://rabbitmq.com/monitoring.html
-
- Logs: /usr/local/var/log/rabbitmq/rabbit@localhost.log
- /usr/local/var/log/rabbitmq/rabbit@localhost_upgrade.log
-
- Config file(s): (none)
-
- Starting broker... completed with 6 plugins.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。