[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:33:07 BST 2012


Also, any command I run via rabbitmgctl (stop_app, reset, etc), all produce the same message:

    Error: unable to connect to node 'rabbit at LNGRDUV-FMQA01': nodedown


Help.
-----Original Message-----
From: rabbitmq-discuss-bounces at lists.rabbitmq.com [mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of Wood, Eric (LNG-RDU)
Sent: Tuesday, July 10, 2012 12:25 PM
To: Emile Joubert
Cc: RabbitMQ Discuss
Subject: Re: [rabbitmq-discuss] Clustering issue: Error: unable to connect to node rabbit at CNTD3BWEB87O: nodedown

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


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


More information about the rabbitmq-discuss mailing list