Lin*_*ing 5 macos rabbitmq osx-elcapitan
这是我第一次使用rabbitmq。
我通过自制软件安装了rabbitmq
brew update
brew install rabbitmq
Run Code Online (Sandbox Code Playgroud)
然后我将路径插入我.bash_profile的
PATH=$PATH:/usr/local/sbin
Run Code Online (Sandbox Code Playgroud)
我重新启动我的终端并输入
rabbitmq-server
Run Code Online (Sandbox Code Playgroud)
启动服务器但出现以下错误
RabbitMQ 3.6.6. Copyright (C) 2007-2016 Pivotal Software, Inc.
## ## Licensed under the MPL. See http://www.rabbitmq.com/
## ##
########## Logs: /usr/local/var/log/rabbitmq/rabbit@localhost.log
###### ## /usr/local/var/log/rabbitmq/rabbit@localhost-sasl.log
##########
Starting broker...
BOOT FAILED
===========
Error description:
{could_not_start,rabbitmq_mqtt,
{{shutdown,
{failed_to_start_child,'rabbit_mqtt_listener_sup_:::1883',
{shutdown,
{failed_to_start_child,
{ranch_listener_sup,{acceptor,{0,0,0,0,0,0,0,0},1883}},
{shutdown,
{failed_to_start_child,ranch_acceptors_sup,
{listen_error,
{acceptor,{0,0,0,0,0,0,0,0},1883},
eaddrinuse}}}}}}},
{rabbit_mqtt,start,[normal,[]]}}}
Log files (may contain more information):
/usr/local/var/log/rabbitmq/rabbit@localhost.log
/usr/local/var/log/rabbitmq/rabbit@localhost-sasl.log
{"init terminating in do_boot",{could_not_start,rabbitmq_mqtt,{{shutdown,{failed_to_start_child,'rabbit_mqtt_listener_sup_:::1883',{shutdown,{failed_to_start_child,{ranch_listener_sup,{acceptor,{0,0,0,0,0,0,0,0},1883}},{shutdown,{failed_to_start_child,ranch_acceptors_sup,{listen_error,{acceptor,{0,0,0,0,0,0,0,0},1883},eaddrinuse}}}}}}},{rabbit_mqtt,start,[normal,[]]}}}}
init terminating in do_boot ()
Crash dump is being written to: erl_crash.dump...done
Run Code Online (Sandbox Code Playgroud)
我跑rabbitmqctl status,下面是结果
Status of node rabbit@localhost ...
Error: unable to connect to node rabbit@localhost: nodedown
DIAGNOSTICS
===========
attempted to contact: [rabbit@localhost]
rabbit@localhost:
* connected to epmd (port 4369) on localhost
* epmd reports: node 'rabbit' not running at all
other nodes on localhost: ['rabbitmq-cli-77']
* suggestion: start the node
current node details:
- node name: 'rabbitmq-cli-77@Ling-Air'
- home dir: /Users/Ling
- cookie hash: 0YMYFZ/TBrgNjOy7lBAw4A==
Run Code Online (Sandbox Code Playgroud)
我该怎么办?我已经重新启动了我的计算机并重新安装了 rabbitmq 但这并没有解决问题。
感谢您的帮助
| 归档时间: |
|
| 查看次数: |
1857 次 |
| 最近记录: |