RabbitMQ Server: Error: Host name in Upper-case

This is a small thing, but very annoying.

I didn’t find it in Internet, so decided to blog it here.

My environment: Windows Server 2008 R2 x64; RabbitMQ 2.7.1.

I installed the RabbitMQ Server and tried to interact with it using the rabbitmqctl.bat script. This script requires to use the host name:

>rabbitmqctl –n rabbit@Win2K8R2 status

I was getting the error again and again:

“Error: unable to connect to node rabbit@Win2K8R2: nodedown”

RabbitServer.Status

 

I used the exact string provided me by script (see above in red) -

- nodes and their ports on Win2K8R2:…

and the error text was -

Status of node rabbit@Win2K8R2

When I changed the host name to upper-case, error was gone.

          >rabbitmqctl –n rabbit@WIN2K8R2 status

Conclusion:

   Use only upper-case letters in the host name in rabbitmqctl.bat script!

Print | posted on Wednesday, March 7, 2012 2:44 PM

Feedback

# re: RabbitMQ Server: Error: Host name in Upper-case

left by Coogi Jeans at 3/8/2012 12:22 AM Gravatar
oh cool, this information is really useful and definately is comment worthy! hehe. I’ll see if I can try to use some of this information for my own blog. Thanks!

# re: RabbitMQ Server: Error: Host name in Upper-case

left by julia at 10/18/2012 7:41 AM Gravatar
It works on my server, thanks for this
Post A Comment
Title:
Name:
Email:
Comment:
Verification: