You are currently working on UAT 

Where is the default location of the erlang.cookie file?

Can someone help me with information, regarding the default location of the erlang.cookie file?

Where should I look for it?

Thanks in advance

Ivan

  • Dear Ivan,

    Thank you for raising this question on the RWS Community.

    According to the https://www.rabbitmq.com/clustering.html, and depending of the Erlang version used, the .erlang.cookie file should be available here:

    - with Erlang versions starting with 20.2, the cookie file locations are:

    • %HOMEDRIVE%%HOMEPATH%\.erlang.cookie (usually C:\Users\%USERNAME%\.erlang.cookie for user %USERNAME%) if both the HOMEDRIVE and HOMEPATH environment variables are set
    • %USERPROFILE%\.erlang.cookie (usually C:\Users\%USERNAME%\.erlang.cookie) if HOMEDRIVE and HOMEPATH are not both set
    • For the RabbitMQ Windows service - %USERPROFILE%\.erlang.cookie (usually C:\WINDOWS\system32\config\systemprofile)

    - with Erlang versions prior to 20.2, the cookie file locations are:

    • %HOMEDRIVE%%HOMEPATH%\.erlang.cookie (usually C:\Users\%USERNAME%\.erlang.cookie for user %USERNAME%) if both the HOMEDRIVE and HOMEPATH environment variables are set
    • %USERPROFILE%\.erlang.cookie (usually C:\Users\%USERNAME%\.erlang.cookie) if HOMEDRIVE and HOMEPATH are not both set
    • For the RabbitMQ Windows service - %WINDIR%\.erlang.cookie (usually C:\Windows\.erlang.cookie

    Hope this helps.

    Best regards

    emoji