【发布时间】:2016-11-15 20:47:03
【问题描述】:
版本:
> sudo rabbitmqctl status | grep '{rabbit,"RabbitMQ",'
{rabbit,"RabbitMQ","3.5.6"},
错误:
> sudo rabbitmq-plugins enable rabbitmq_management
Plugin configuration unchanged.
Applying plugin configuration to rabbit@ip-172-31-26-169... failed.
* Could not contact node rabbit@ip-172-31-26-169.
Changes will take effect at broker restart.
* Options: --online - fail if broker cannot be contacted.
--offline - do not try to contact broker.
兔子在跑:
> sudo service rabbitmq-server status
Status of node 'rabbit@ip-172-31-26-169' ...
[{pid,22865},
..
【问题讨论】:
-
这些是否在不同的机器上运行?两者之间肯定有网络连接吗?
-
都在同一台机器上。我仍然遇到同样的错误,但我现在可以访问 server:15672 .. 不知道为什么。
-
这通常与
.erlang.cookie有关。你在使用不同的.erlang.cookie吗? -
你能检查任何可用的日志文件吗,那里可能隐藏了一些更详细的输出。
标签: rabbitmq