RabbitMQ Failed to initialize erlang distribution

2019-06-19 17:10发布

I have installed RabbidMQ but when i try to use rabbitmqctl status in cmd i have next result :

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]}}.

Folder with Erlang : D:\erl7.3
I have following environment variables :
ERLANG_HOME : D:\erl7.3
ERLANG_SERVICE_MANAGER_PATH : D:\erl7.3\erts-7.3\bin
How can I fix this to RabbitMQ install correctly ?

ADDITION : I've done all steps from this tutorial programmershandbook.wordpress.com/2015/03/22/rabbitmq-setup but when i try work with cmd i have the same error.
And erl_crush.dump have following first strings:
=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

It can be connected with using Windows 10 or something else ?

2条回答
劫难
2楼-- · 2019-06-19 18:06

Running the command with sudo worked for me

 » sudo rabbitmq-plugins enable rabbitmq_management                                                  
The following plugins have been enabled:
  mochiweb
  webmachine
  rabbitmq_web_dispatch
  amqp_client
  rabbitmq_management_agent
  rabbitmq_management
查看更多
The star\"
3楼-- · 2019-06-19 18:07

It is very abstract error and many misconfigurations may lead to this. Have you tried to set also NODE_NAME to something like bunny@localhost?

查看更多
登录 后发表回答