RabbitMQ, Erlang: How to “make sure the erlang cookies are the same”

前端 未结 11 2257
太阳男子
太阳男子 2020-12-13 18:26

I am using RabbitMQ with Grails, and a problem cropped up this morning. When I run rabbitmqctl status it tells me:

C:\\Users\\BuildnTest2>rab         


        
11条回答
  •  南笙
    南笙 (楼主)
    2020-12-13 19:18

    For what it's worth, in 2018, the docs are WRONG. In windows 10, the default location of the cookie file appears to be:

    C:\Windows\System32\config\systemprofile
    

    and NOT

    C:\Windows
    

    as the docs say.

    The best thing to do is to look at the log file, which is typically located in your user %AppData%\Roaming\RabbitMQ\log directory.

    The log file contains this entry, which helped me determine the cookie location:

    node           : rabbit@computername
    home dir       : C:\WINDOWS\system32\config\systemprofile
    

提交回复
热议问题