[rabbitmq-discuss] Clustering issue: Error: unable to connect to node rabbit at CNTD3BWEB87O: nodedown
Wood, Eric (LNG-RDU)
eric.wood at lexisnexis.com
Tue Jul 10 17:24:43 BST 2012
I have copied the .erlang.cookie from server 1 to server2. I restarted the windows service and when I run rabbitmqctl cluster_status on server two I get the same error message:
Error: unable to connect to node 'rabbit at LNGRDUV-FMQA01': nodedown
The cookie hash that is displayed with this command is the same across both servers (1 and 2).
Server 1:
current node details:
- node name: 'rabbitmqctl12663 at LNGRDUV-CSQA01'
- home dir: C:\Users\svc-leglngbnasys001
- cookie hash: 0xT5raNnyX73mPb3lJZWuQ==
Server 2:
current node details:
- node name: 'rabbitmqctl30045 at lngrduv-fmqa01'
- home dir: C:\Users\svc-leglngbnasys001
- cookie hash: 0xT5raNnyX73mPb3lJZWuQ==
The windows service is running as a system account, does it have to run under the user ID that I installed and is listed as the "home" directory?
I have tried this on several servers and get the same results. What steps are required to execute when I copy the cookie file from one server to the next? I copy it after both installations have been completed and both nodes are up and running as "detached" nodes.
Thanks, Eric
-----Original Message-----
From: Emile Joubert [mailto:emile at rabbitmq.com]
Sent: Tuesday, July 10, 2012 11:03 AM
To: Wood, Eric (LNG-RDU)
Cc: RabbitMQ Discuss
Subject: Re: [rabbitmq-discuss] Clustering issue: Error: unable to connect to node rabbit at CNTD3BWEB87O: nodedown
Hi,
On 10/07/12 15:08, Wood, Eric (LNG-RDU) wrote:
> Why can't the server in question CNTD3BWEB87O no longer find its own node?
The diagnosis provided by the troubleshooting guide is that the Erlang cookies are not synchronised:
http://www.rabbitmq.com/troubleshooting.html
Did you spell the name of the cookie file correctly? The correct name is .erlang.cookie .
Is the cookie hash displayed in the startup banner on all hosts "VWZk1leRufUBRYr1dwMuJg==" ?
For more information on how to copy the cookie file see the "Synchronise Erlang Cookies" section on this page:
http://www.rabbitmq.com/install-windows-manual.html
-Emile
More information about the rabbitmq-discuss
mailing list