[rabbitmq-discuss] [Q] Cluster configuration is not retained by node after restart

Emile Joubert emile at rabbitmq.com
Fri Jun 29 10:31:32 BST 2012


Hi Simon,

On 28/06/12 11:00, S.Loewenthal wrote:


> ***************************
> **** ** Attempt # 1 ** ****
> ***************************

> **** Start Node1 ****

> ** Verify that the server is really running.

> ** Server is listening

Did you copy the .erlang.cookie prior to this point?

> **** Start Node2 ****

> ** Verify that it is running

> ** Server is listening

> ** Attempt to cluster Node2 with Node1 as rabbitmq user

> Error: {no_running_cluster_nodes,['rabbit at Node1'],['rabbit at Node1']}

This could happen if you failed to synchronise the .erlang.cookie files.
This page has diagnostic indicators for the condition:
http://www.rabbitmq.com/troubleshooting.html


> ***************************
> **** ** Attempt # 2 ** ****
> ***************************

> Copy .erland.cookie to Node2
> -r--------   1 rabbitmq rabbitmq      20 Jun 28 11:35 .erlang.cookie

Did you use the correct name for the .erlang.cookie file in the actual
command? Did you copy it to the correct location? Were the cookie hashes
identical in the startup banners of both nodes?



-Emile


More information about the rabbitmq-discuss mailing list