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

后端 未结 9 2481
夕颜
夕颜 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:01

    https://groups.google.com/forum/#!topic/rabbitmq-users/a6sqrAUX_Fg describes the problem where there is a cookie mismatch on a fresh installation of Rabbit MQ. The easy solution on windows is to synchronize the cookies

    Also described here: http://www.rabbitmq.com/clustering.html#erlang-cookie

    Ensure cookies are synchronized across 1, 2 and Optionally 3 below

    1. %HOMEDRIVE%%HOMEPATH%\.erlang.cookie (usually C:\Users\%USERNAME%\.erlang.cookie for user %USERNAME%) if both the HOMEDRIVE and HOMEPATH environment variables are set

    2. %USERPROFILE%\.erlang.cookie (usually C:\Users\%USERNAME%\.erlang.cookie) if HOMEDRIVE and HOMEPATH are not both set

    3. For the RabbitMQ Windows service - %USERPROFILE%\.erlang.cookie (usually C:\WINDOWS\system32\config\systemprofile)

    The cookie file used by the Windows service account and the user running CLI tools must be synchronized by copying the one from C:\WINDOWS\system32\config\systemprofile folder.

提交回复
热议问题