[rabbitmq-discuss] Error: cannot_discover_cluster: The nodes provided are either offline or not running

Tim Watson watson.timothy at gmail.com
Thu Jun 20 09:10:26 BST 2013


Erlang will load the cookie from $HOME/.erlang.cookie so if you don't put it there the runtime will assign a random cookie and create the file itself.

In this context, HOME variable belongs to the user running the program, i.e., rabbitmq.

Cheers
Tim

On 19 Jun 2013, at 18:49, "k.madnani84" <k.madnani84 at gmail.com> wrote:

> Where are you putting your .erlang.cookie and how did you install the broker?
> 
> RE:I usually put in the user created folder data under the base
> directory.Does the path location also needs to be the same in order to have
> same cookie hash value?
> For example here are the exact locations:
> CLUSTER1 at zldv0435 : /opt/app/d1c1d20/rabbitmq/data/.erlang.cookie
> CLUSTER1 at zldv0432 : /opt/app/workload/rabbitmq/data/.erlang.cookie
> 
> The installation involves extracting  the binaries for unix,configuring
> rabbitmq.config file,setting the user,starting rabbitmq etc.
> 
> 
> 
> --
> View this message in context: http://rabbitmq.1065348.n5.nabble.com/Error-cannot-discover-cluster-The-nodes-provided-are-either-offline-or-not-running-tp27496p27499.html
> Sent from the RabbitMQ mailing list archive at Nabble.com.
> _______________________________________________
> 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