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

前端 未结 11 2233
太阳男子
太阳男子 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

    Synchronise Erlang Cookies (when running a manually installed Windows Service) Erlang Security Cookies used by the service account and the user running rabbitmqctl.bat must be synchronised for rabbitmqctl.bat to function. To ensure Erlang cookie files contain the same string, copy the .erlang.cookie file from the Windows directory (normally C:\WINDOWS.erlang.cookie) to replace the user .erlang.cookie. The user cookie will be in the user's home directory (%HOMEDRIVE%%HOMEPATH%), e.g. C:\Documents and Settings\%USERNAME%.erlang.cookie or C:\Users\%USERNAME%.erlang.cookie (Windows Vista and later).

    https://www.rabbitmq.com/install-windows-manual.html

提交回复
热议问题