I have several RabbitMQ nodes running on different machines. After installing each node, I could not specify a common cookie for each of them, so I had to go back and manually modify the .erlang.cookie file. My problem is that after this I get conflicting error messages. If I execute the status rabbitmqctl I get the following error:
DIAGNOSTICS
tried to contact: ['rabbit @ nc-mso-test01']
rabbit @ nc-mso-test01: * connected to epmd (port 4369) on nc-mso-test01 * epmd tells node rabbit running on port 25672 * TCP connection was successful, but Erlang failed
- Authentication error (rejected by remote node), check Erlang cookie
current node information: - node name: 'rabbitmq-cli-45 @ nc-mso-test01' - home directory: C: \ Users \ jol - hash cookie: 9 / Hx6l + wLQv3NkmSDFqBog ==
Whatever I call the script, I get the same error. I tried to restart the service by uninstalling and installing it through rabbitmq-service. The error is saved. From what I can collect from other messages, the reason may be that node and the erlang broker work for individual users, and each of them has a different version of the cookie, one is stuck with the old one.
How can I restart the server and node so that both of them use the new cookie?
windows cookies server rabbitmq messaging
BigBadCoder
source share