Hi there ,<div><br></div><div>I had a question about erlang cookie, which gets generated when we start rabbitmq server. The situation is as follows.</div><div><br></div><div>1) Even if I did not created any user named 'rabbitmq', there are files, which are owned by this user. Does the installation or startup of rabbitmq-server does this ? Also is it OK to use root user to do server administration operation or will it be considered not so good practice ?&nbsp;</div><div><br></div><div>2) I use root user to start and stop rabbitmq server and when I start the server, I see that a file .erlang.cookie gets generated in root home dir. That is correct as per my understanding but I also see that there is another file with the same .erlang.cookie gets generated in /var/lib/rabbitmq</div><div><br></div><div>3) Also these two erlang cookies are different from each other. Why there are two erlang cookie files gets generated ? What is the importance ?</div><div>My theoretical understanding is there should be only one erlang cookie should get generated and that one should be in home dir of user, which starts the rabbitmq-server.<br></div><div>Is this correct understanding or ?&nbsp;</div><div><br></div><div>4) Also do I need to configure different values of epmd ports when I want to run cluster with two physical nodes or it's OK to keep it as default ?&nbsp;</div><div>&nbsp; &nbsp; I thought NO need to change but then since I am running into these problems thought of asking.&nbsp;</div><div><br></div><div><br></div><div>I would like to understand this bcoz, I tried to setup a cluster on two different physical machines and as per the guidelines gives in 'rabbitmq in action', before joining nodes running on different physical machines in the cluster, the erlang cookie should be sync meaning that both the nodes should have same erlang cookie so I tried to copy cookie from first node to second and tried to restart second node but then I had problems with restarting the node or even stopping the node and I get error. I also checked the latest log file and it says&nbsp;</div><div>"=ERROR REPORT==== 2-Jul-2013::19:48:28 ===</div><div>** Connection attempt from disallowed node rabbitmqctl40424@nazgul **" , which I believe is due to the fact that erlang cookie, which it had originally when I started the node has changed now and hence it does not allow me to stop the node. Is my understanding correct here or ?</div><div><br></div><div>Error mesaage while stopping or restarting the node after copying erlang cookie from first node to second one.</div><div><div>Error: unable to connect to node rabbit_2@nazgul: nodedown</div><div><br></div><div>DIAGNOSTICS</div><div>===========</div><div><br></div><div>nodes in question: [rabbit_2@nazgul]</div><div><br></div><div>hosts, their running nodes and ports:</div><div>- nazgul: [{rabbit_2,58454},{rabbit,38771},{rabbitmqctl40424,60952}]</div><div><br></div><div>current node details:</div><div>- node name: rabbitmqctl40424@nazgul</div><div>- home dir: /var/lib/rabbitmq</div><div>- cookie hash: ad/NgkXjjR95x3cMejxwqg==</div></div><div><br></div><div><br></div><div>Thank you in advance and please guide me so that I understand what had gone wrong here.</div><div><br></div><div>Best Regards,<br>Priyanki.</div><div><br></div><div><br></div>