I am using RabbitMQ with Grails, and a problem cropped up this morning. When I run rabbitmqctl
status it tells me:
C:\Users\BuildnTest2>rabbitmqctl status Status of node 'rabbit@BUILDNTEST2-PC' ... Error: unable to connect to node 'rabbit@BUILDNTEST2-PC': nodedown diagnostics: - nodes and their ports on BUILDNTEST2-PC: [{rabbit,49164}, {rabbitmqctl27693,49286}] - current node: 'rabbitmqctl27693@BuildnTest2-PC' - current node home dir: C:\Users\BuildnTest2 - current node cookie hash: cSYB8tsT4mGGZHSUGQi08w==
When I go to the Rabbit troubleshooting page they say:
then you should make sure the Erlang cookies are the same.
What does this mean and how is it accomplished?
Googling found this forum thread which claims to have instructions to solving this problem, but alas it just redirects back to the rabbit site where there is no answer.
It is implemented in Erlang OTP, a technology tailored for building stabe, reliable, fault tolerant and highly scalable systems which possess native capabilities of handling very large numbers of concurrent operations, such as is the case with RabbitMQ and other systems like WhatsApp, MongooseIM, to mention a few.
Written in Erlang, the RabbitMQ server is built on the Open Telecom Platform framework for clustering and failover. Client libraries to interface with the broker are available for all major programming languages. The source code is released under the Mozilla Public License.
In my case, for some reason the cookie (.erlang.cookie
) stored under C:\Windows\
was different from the one I had stored under my home (%HOMEDRIVE%
%HOMEPATH%
, which was C:\
for me).
Once I copied the cookie from C:\Windows
into my my home folder everything started working.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With