[root@rabbit-test2 ~]# !106<br>cp erlang.cookie /var/lib/rabbitmq/.erlang.cookie<br>cp: overwrite `/var/lib/rabbitmq/.erlang.cookie'? 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 'rabbit@rabbit-test2' ...<br>...done.<br>[root@rabbit-test2 ~]# rabbitmqctl reset<br>Resetting node 'rabbit@rabbit-test2' ...<br>
...done.<br>[root@rabbit-test2 ~]# rabbitmqctl cluster rabbit@rabbit-test1<br>Clustering node 'rabbit@rabbit-test2' with ['rabbit@rabbit-test1'] ...<br>Error: {unable_to_join_cluster,<br> ['rabbit@rabbit-test1'],<br>
{aborted,<br> {function_clause,<br> [{mnesia_schema,cs2list,<br> [{cstruct,schema,set,[],<br> ['rabbit@rabbit-test1'],<br>
[],0,read_write,false,[],[],false,schema,<br> [table,cstruct],<br> [],[],<br> {{1336,612893,960781},'rabbit@rabbit-test1'},<br>
{{10,0},<br> {'rabbit@rabbit-test1',{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 'rabbit@rabbit-test1' ...<br>
[{pid,4502},<br> {running_applications,[{rabbit,"RabbitMQ","2.8.2"},<br> {os_mon,"CPO CXC 138 46","2.2.6"},<br> {sasl,"SASL CXC 138 11","2.1.9.4"},<br>
{mnesia,"MNESIA CXC 138 12","4.4.19"},<br> {stdlib,"ERTS CXC 138 10","1.17.4"},<br> {kernel,"ERTS CXC 138 10","2.14.4"}]},<br>
{os,{unix,linux}},<br> {erlang_version,"Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:8:8] [rq:8] [async-threads:30] [kernel-poll:true]\n"},<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'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"><<a href="mailto:emile@rabbitmq.com" target="_blank">emile@rabbitmq.com</a>></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>
> 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 "reset" 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>"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're capitalists--and when to let them think they're communists." - Programming Perl third edition<br>