Ok the above script is missing something:<div><br></div><div><font face="'courier new', monospace">...</font></div><div><div><font face="'courier new', monospace">rabbitmqctl -n rabbit3 stop_app</font></div><div><span style="font-family: 'courier new', monospace; background-color: rgb(238, 238, 238);">rabbitmqctl -n rabbit3 reset</span><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace">rabbitmqctl -n rabbit3 cluster rabbit1@dfooks-ubuntu64 rabbit2@dfooks-ubuntu64</font></div><div><font face="'courier new', monospace">rabbitmqctl -n rabbit3 start_app</font></div><div><font face="'courier new', monospace"><br></font></div><div><font face="arial, sans-serif">But this after this change I still get the error.</font></div><br>On Friday, 4 May 2012 17:46:29 UTC+1, David Fooks  wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi,<div><br></div><div>I'm trying to emulate the guide here:&nbsp;<a href="http://www.rabbitmq.com/clustering.html" target="_blank">http://www.rabbitmq.com/<wbr>clustering.html</a></div><div><br></div><div>But I'm having a lot of issues! Every time I run I seem to be getting a different crash. Is this feature actually supported in 2.8.1?</div><div><br></div><div>Is there a proper way to completely reset all of the state that rabbitmq creates about other nodes/the cluster? My clean up script at the moment looks like this:</div><div><br></div><div><div><font face="'courier new', monospace">rm /var/run/rabbitmq/*</font></div><div><font face="'courier new', monospace">rm -f /var/log/rabbitmq/*</font></div><div><font face="'courier new', monospace">rm -rf /var/lib/rabbitmq/*</font></div></div><div><br></div><div>Here is my start-up script (I'm running this with sudo):</div><div><font face="'courier new', monospace"><br></font></div><div><div><font face="'courier new', monospace">RABBITMQ_NODE_PORT=5672 RABBITMQ_NODENAME=rabbit1 RABBITMQ_SERVER_START_ARGS="-<wbr>rabbitmq_mochiweb listeners [{mgmt,[{port,55672}]}]" rabbitmq-server -detached</font></div><div><font face="'courier new', monospace">RABBITMQ_NODE_PORT=5673 RABBITMQ_NODENAME=rabbit2 RABBITMQ_SERVER_START_ARGS="-<wbr>rabbitmq_mochiweb listeners [{mgmt,[{port,55673}]}]" rabbitmq-server -detached</font></div><div><font face="'courier new', monospace">RABBITMQ_NODE_PORT=5674 RABBITMQ_NODENAME=rabbit3 RABBITMQ_SERVER_START_ARGS="-<wbr>rabbitmq_mochiweb listeners [{mgmt,[{port,55674}]}]" rabbitmq-server -detached</font></div><div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace">ps -ef | grep rabbit1 | grep -v grep | awk '{print $2}' &gt; /var/run/rabbitmq/rabbit1.pid</font></div><div><font face="'courier new', monospace">ps -ef | grep rabbit2 | grep -v grep | awk '{print $2}' &gt; /var/run/rabbitmq/rabbit2.pid</font></div><div><font face="'courier new', monospace">ps -ef | grep rabbit3 | grep -v grep | awk '{print $2}' &gt; /var/run/rabbitmq/rabbit3.pid</font></div><div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace">rabbitmqctl -n rabbit1 wait /var/run/rabbitmq/rabbit1.pid</font></div><div><font face="'courier new', monospace">rabbitmqctl -n rabbit2 wait /var/run/rabbitmq/rabbit2.pid</font></div><div><font face="'courier new', monospace">rabbitmqctl -n rabbit3 wait /var/run/rabbitmq/rabbit3.pid</font></div><div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace">rabbitmqctl -n rabbit1 stop_app</font></div><div><font face="'courier new', monospace">rabbitmqctl -n rabbit1 reset</font></div><div><font face="'courier new', monospace">rabbitmqctl -n rabbit1 start_app</font></div><div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace">rabbitmqctl -n rabbit2 stop_app</font></div><div><font face="'courier new', monospace">rabbitmqctl -n rabbit2 reset</font></div><div><font face="'courier new', monospace">rabbitmqctl -n rabbit2 start_app</font></div><div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace">rabbitmqctl -n rabbit3 stop_app</font></div><div><font face="'courier new', monospace">rabbitmqctl -n rabbit3 reset</font></div><div><font face="'courier new', monospace">rabbitmqctl -n rabbit3 start_app</font></div><div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace">rabbitmqctl -n rabbit1 status</font></div><div><font face="'courier new', monospace">rabbitmqctl -n rabbit2 status</font></div><div><font face="'courier new', monospace">rabbitmqctl -n rabbit3 status</font></div><div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace">rabbitmqctl -n rabbit3 stop_app</font></div><div><font face="'courier new', monospace">rabbitmqctl -n rabbit3 cluster rabbit1@dfooks-ubuntu64 rabbit2@dfooks-ubuntu64</font></div><div><font face="'courier new', monospace">rabbitmqctl -n rabbit3 start_app</font></div></div><div><br></div><div>If I run the "clean" script and then this script I get the following warning (after all of the status returns ok):</div><div><br></div><div><font face="'courier new', monospace">...</font></div><div><div><font face="'courier new', monospace">Stopping node 'rabbit3@dfooks-ubuntu64' ...</font></div><div><font face="'courier new', monospace">...done.</font></div><div><font face="'courier new', monospace">Clustering node 'rabbit3@dfooks-ubuntu64' with ['rabbit1@dfooks-ubuntu64',</font></div><div><font face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'rabbit2@dfooks-ubuntu64'] ...</font></div><div><font face="'courier new', monospace">Error: {unable_to_join_cluster,</font></div><div><font face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;['rabbit1@dfooks-ubuntu64','<wbr>rabbit2@dfooks-ubuntu64'],</font></div><div><font face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{merge_schema_failed,</font></div><div><font face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"Incompatible schema cookies. Please, restart from old backup.'rabbit1@dfooks-<wbr>ubuntu64' = [{name,schema},{type,set},{<wbr>ram_copies,[]},{disc_copies,['<wbr>rabbit1@dfooks-ubuntu64']},{<wbr>disc_only_copies,[]},{load_<wbr>order,0},{access_mode,read_<wbr>write},{index,[]},{snmp,[]},{<wbr>local_content,false},{record_<wbr>name,schema},{attributes,[<wbr>table,cstruct]},{user_<wbr>properties,[]},{frag_<wbr>properties,[]},{cookie,{{1336,<wbr>149567,596521},'rabbit1@<wbr>dfooks-ubuntu64'}},{version,{{<wbr>3,0},{'rabbit1@dfooks-ubuntu64<wbr>',{1336,149572,870479}}}}], 'rabbit3@dfooks-ubuntu64' = [{name,schema},{type,set},{<wbr>ram_copies,['rabbit3@dfooks-<wbr>ubuntu64']},{disc_copies,['<wbr>rabbit2@dfooks-ubuntu64']},{<wbr>disc_only_copies,[]},{load_<wbr>order,0},{access_mode,read_<wbr>write},{index,[]},{snmp,[]},{<wbr>local_content,false},{record_<wbr>name,schema},{attributes,[<wbr>table,cstruct]},{user_<wbr>properties,[]},{frag_<wbr>properties,[]},{cookie,{{1336,<wbr>149568,520459},'rabbit2@<wbr>dfooks-ubuntu64'}},{version,{{<wbr>3,0},{'rabbit3@dfooks-ubuntu64<wbr>',{1336,149572,882518}}}}]\n"}<wbr>}</font></div><div><font face="'courier new', monospace">Starting node 'rabbit3@dfooks-ubuntu64' ...</font></div><div><font face="'courier new', monospace">Error: {cannot_start_application,<wbr>rabbitmq_management,</font></div><div><font face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{bad_return,</font></div><div><font face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{{rabbit_mgmt_app,start,[<wbr>normal,[]]},</font></div><div><font face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {'EXIT',</font></div><div><font face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {shutdown,</font></div><div><font face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {gen_server2,call,</font></div><div><font face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [&lt;4885.932.0&gt;,{init,&lt;4885.930.<wbr>0&gt;},infinity]}}}}}}</font></div></div><div><br></div><div>I've read about this error in other threads but it generally seems to be about network settings being&nbsp;reconfigured&nbsp;between nodes. I shouldn't have these problems since each instance is on the same machine.</div></blockquote></div>