RabbitMQ failed to start, TCP connection succeeded but Erlang distribution failed

后端 未结 9 2475
夕颜
夕颜 2021-02-13 10:38

I\'m a new one just start to learn and install RabbitMQ on Windows System.

I install Erlang VM and RabbitMQ in custom folder, not default folder (Both of them).

9条回答
  •  情话喂你
    2021-02-13 11:09

    If you are using dedicated drive folder locations for your development tools/software in Windows10(Not the windows default location), one way you can synchronize the erlang cookie as described by https://www.rabbitmq.com/cli.html is by copying the cookie as explained below.

    Please note in my case HOMEDRIVE and HOMEPATH environment variables both are not set.


    After copying the "C:\Windows\system32\config\systemprofile\.erlang.cookie" to "C:\Users\%USERNAME%\.erlang.cookie" ,

    the error "tcp connection succeeded but Erlang distribution failed" is resolved.


    Now I am able to use "rabbitmqctl.bat status" command successfully. Hence there is no mandatory need to install in default location to resolve this error as synchronizing cookie will resolve that error.

提交回复
热议问题