我已经安装了RabbidMQ但是当我尝试在cmd中使用rabbitmqctl status
时,我有下一个结果:
D:\RabbitMQ\rabbitmq_server-3.6.2\sbin>rabbitmqctl status
Error: Failed to initialize erlang distribution: {{shutdown,
{failed_to_start_child,
net_kernel,
{'EXIT',nodistribution}}},
{child,undefined,
net_sup_dynamic,
{erl_distribution,
start_link,
[['rabbitmq-cli-70',
shortnames]]},
permanent,1000,supervisor,
[erl_distribution]}}.
Erlang文件夹:D:\ erl7.3
我有以下环境变量:
ERLANG_HOME:D:\ erl7.3
ERLANG_SERVICE_MANAGER_PATH:D:\ erl7.3 \ erts-7.3 \ bin
如何正确修复RabbitMQ安装?
附加:我已经完成了本教程programmershandbook.wordpress.com/2015/03/22/rabbitmq-setup中的所有步骤,但是当我尝试使用cmd
时,我遇到了同样的错误。
erl_crush.dump
有以下第一个字符串:
=erl_crash_dump:0.3
Fri May 20 12:29:12 2016
Slogan: Kernel pid terminated (application_controller) ({application_start_failure,kernel,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,net_kernel,{'EXIT',nodistribution}}}}},{k
System version: Erlang/OTP 18 [erts-7.3] [64-bit] [smp:4:4] [async-threads:10]
Compiled: Mon Mar 14 21:51:02 2016
Taints:
Atoms: 4811
Calling Thread: scheduler:3
可以使用Windows 10或其他东西连接吗?
答案 0 :(得分:16)
使用sudo运行命令为我工作
» sudo rabbitmq-plugins enable rabbitmq_management
The following plugins have been enabled:
mochiweb
webmachine
rabbitmq_web_dispatch
amqp_client
rabbitmq_management_agent
rabbitmq_management
答案 1 :(得分:0)
这是非常抽象的错误,许多错误配置可能会导致这种情况。您是否尝试将NODE_NAME
设置为bunny@localhost
?
答案 2 :(得分:-1)
我通过sudo权限运行同一命令解决了该错误