[root@rabbit-test2 ~]# !106<br>cp erlang.cookie /var/lib/rabbitmq/.erlang.cookie<br>cp: overwrite `/var/lib/rabbitmq/.erlang.cookie&#39;? y<br>[root@rabbit-test2 ~]# /etc/init.d/rabbitmq-server restart<br>Restarting rabbitmq-server: SUCCESS<br>
rabbitmq-server.<br>[root@rabbit-test2 ~]# rabbitmqctl stop_app<br>Stopping node &#39;rabbit@rabbit-test2&#39; ...<br>...done.<br>[root@rabbit-test2 ~]# rabbitmqctl reset<br>Resetting node &#39;rabbit@rabbit-test2&#39; ...<br>
...done.<br>[root@rabbit-test2 ~]# rabbitmqctl cluster rabbit@rabbit-test1<br>Clustering node &#39;rabbit@rabbit-test2&#39; with [&#39;rabbit@rabbit-test1&#39;] ...<br>Error: {unable_to_join_cluster,<br>           [&#39;rabbit@rabbit-test1&#39;],<br>
           {aborted,<br>               {function_clause,<br>                   [{mnesia_schema,cs2list,<br>                        [{cstruct,schema,set,[],<br>                             [&#39;rabbit@rabbit-test1&#39;],<br>
                             [],0,read_write,false,[],[],false,schema,<br>                             [table,cstruct],<br>                             [],[],<br>                             {{1336,612893,960781},&#39;rabbit@rabbit-test1&#39;},<br>
                             {{10,0},<br>                              {&#39;rabbit@rabbit-test1&#39;,{1337,86607,493576}}}}]},<br>                    {mnesia_schema,do_merge_schema,0},<br>                    {mnesia_tm,apply_fun,3},<br>
                    {mnesia_tm,execute_transaction,5},<br>                    {mnesia_schema,schema_coordinator,3}]}}}<br>[root@rabbit-test2 ~]# rabbitmqctl -n rabbit@rabbit-test1 status<br>Status of node &#39;rabbit@rabbit-test1&#39; ...<br>
[{pid,4502},<br> {running_applications,[{rabbit,&quot;RabbitMQ&quot;,&quot;2.8.2&quot;},<br>                        {os_mon,&quot;CPO  CXC 138 46&quot;,&quot;2.2.6&quot;},<br>                        {sasl,&quot;SASL  CXC 138 11&quot;,&quot;2.1.9.4&quot;},<br>
                        {mnesia,&quot;MNESIA  CXC 138 12&quot;,&quot;4.4.19&quot;},<br>                        {stdlib,&quot;ERTS  CXC 138 10&quot;,&quot;1.17.4&quot;},<br>                        {kernel,&quot;ERTS  CXC 138 10&quot;,&quot;2.14.4&quot;}]},<br>
 {os,{unix,linux}},<br> {erlang_version,&quot;Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:8:8] [rq:8] [async-threads:30] [kernel-poll:true]\n&quot;},<br> {memory,[{total,25740256},<br>          {processes,10127576},<br>
          {processes_used,10115016},<br>          {system,15612680},<br>          {atom,1136673},<br>          {atom_used,1134546},<br>          {binary,158656},<br>          {code,11341457},<br>          {ets,778384}]},<br>
 {vm_memory_high_watermark,0.3999999999359184},<br> {vm_memory_limit,2496816742},<br> {disk_free_limit,6242041856},<br> {disk_free,449333911552},<br> {file_descriptors,[{total_limit,924},<br>                    {total_used,3},<br>
                    {sockets_limit,829},<br>                    {sockets_used,1}]},<br> {processes,[{limit,1048576},{used,125}]},<br> {run_queue,0},<br> {uptime,77}]<br>...done.<br><br>I&#39;ve also tried the same steps without restarting the server after copying the erlang.cookie with the same results..<br>
<br>-James<br><br><div class="gmail_quote">On Tue, May 15, 2012 at 3:06 AM, Emile Joubert <span dir="ltr">&lt;<a href="mailto:emile@rabbitmq.com" target="_blank">emile@rabbitmq.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<div class="im"><br>
On 15/05/12 05:28, iceblaze wrote:<br>
<br>
&gt; OK, so I am now getting a different, cryptic error when trying to cluster:<br>
<br>
</div>You should not get that message if you follow the transcript in the<br>
documentation. Did you perform the &quot;reset&quot; step? Otherwise please<br>
provide a transcript of your steps that reproduce the problem.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
-Emile<br>
<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>&quot;Of course, the actual government of any computer is run by that fascist dictator known as the operating system. But a wise dictator knows when to let the people think they&#39;re capitalists--and when to let them think they&#39;re communists.&quot; - Programming Perl third edition<br>