[rabbitmq-discuss] unable to cluster rabbitmq on ec2

Tim Watson tim at rabbitmq.com
Fri Jul 20 11:18:57 BST 2012


On 07/20/2012 11:17 AM, Tim Watson wrote:
> On 07/20/2012 11:17 AM, avinash0601 wrote:
>> ok i have not made any changes to rabbitctl, rabbitmq-server&  
>> rabbitmq-env.
>> I am now able to telnet<hostname>  4369 between all 3 nodes.
>>
>> below is the error when i am trying to check the status of node2 from 
>> node1
>>
>> root at rabbit1:~# rabbitmqctl -n rabbit at rabbit2 status
>> Status of node rabbit at rabbit2 ...
>> Error: unable to connect to node rabbit at rabbit2: nodedown
>>
>> DIAGNOSTICS
>> ===========
>>
>> nodes in question: [rabbit at rabbit2]
>>
>> hosts, their running nodes and ports:
>> - rabbit2: [{rabbit,53717}]
>>
>> current node details:
>> - node name: rabbitmqctl5759 at rabbit1
>> - home dir: /var/lib/rabbitmq
>> - cookie hash: 5jktLfwA+Tbs8ASMtK9mHg==
>
> Checked all the cookies are the same on each machine, so that 
> rabbitmqctl status on each (local) node shows the same cookie hash?
>

You should be running rabbitmqctl as the rabbit(mq) user BTW, otherwise 
cookies get picked up from the wrong $HOME folder.


More information about the rabbitmq-discuss mailing list