[rabbitmq-discuss] Unable to cluster..

iceblaze iceblaze at gmail.com
Tue May 15 20:05:03 BST 2012


[root at rabbit-test2 ~]# !106
cp erlang.cookie /var/lib/rabbitmq/.erlang.cookie
cp: overwrite `/var/lib/rabbitmq/.erlang.cookie'? y
[root at rabbit-test2 ~]# /etc/init.d/rabbitmq-server restart
Restarting rabbitmq-server: SUCCESS
rabbitmq-server.
[root at rabbit-test2 ~]# rabbitmqctl stop_app
Stopping node 'rabbit at rabbit-test2' ...
...done.
[root at rabbit-test2 ~]# rabbitmqctl reset
Resetting node 'rabbit at rabbit-test2' ...
...done.
[root at rabbit-test2 ~]# rabbitmqctl cluster rabbit at rabbit-test1
Clustering node 'rabbit at rabbit-test2' with ['rabbit at rabbit-test1'] ...
Error: {unable_to_join_cluster,
           ['rabbit at rabbit-test1'],
           {aborted,
               {function_clause,
                   [{mnesia_schema,cs2list,
                        [{cstruct,schema,set,[],
                             ['rabbit at rabbit-test1'],
                             [],0,read_write,false,[],[],false,schema,
                             [table,cstruct],
                             [],[],
                             {{1336,612893,960781},'rabbit at rabbit-test1'},
                             {{10,0},
                              {'rabbit at rabbit-test1
',{1337,86607,493576}}}}]},
                    {mnesia_schema,do_merge_schema,0},
                    {mnesia_tm,apply_fun,3},
                    {mnesia_tm,execute_transaction,5},
                    {mnesia_schema,schema_coordinator,3}]}}}
[root at rabbit-test2 ~]# rabbitmqctl -n rabbit at rabbit-test1 status
Status of node 'rabbit at rabbit-test1' ...
[{pid,4502},
 {running_applications,[{rabbit,"RabbitMQ","2.8.2"},
                        {os_mon,"CPO  CXC 138 46","2.2.6"},
                        {sasl,"SASL  CXC 138 11","2.1.9.4"},
                        {mnesia,"MNESIA  CXC 138 12","4.4.19"},
                        {stdlib,"ERTS  CXC 138 10","1.17.4"},
                        {kernel,"ERTS  CXC 138 10","2.14.4"}]},
 {os,{unix,linux}},
 {erlang_version,"Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:8:8]
[rq:8] [async-threads:30] [kernel-poll:true]\n"},
 {memory,[{total,25740256},
          {processes,10127576},
          {processes_used,10115016},
          {system,15612680},
          {atom,1136673},
          {atom_used,1134546},
          {binary,158656},
          {code,11341457},
          {ets,778384}]},
 {vm_memory_high_watermark,0.3999999999359184},
 {vm_memory_limit,2496816742},
 {disk_free_limit,6242041856},
 {disk_free,449333911552},
 {file_descriptors,[{total_limit,924},
                    {total_used,3},
                    {sockets_limit,829},
                    {sockets_used,1}]},
 {processes,[{limit,1048576},{used,125}]},
 {run_queue,0},
 {uptime,77}]
...done.

I've also tried the same steps without restarting the server after copying
the erlang.cookie with the same results..

-James

On Tue, May 15, 2012 at 3:06 AM, Emile Joubert <emile at rabbitmq.com> wrote:

> Hi,
>
> On 15/05/12 05:28, iceblaze wrote:
>
> > OK, so I am now getting a different, cryptic error when trying to
> cluster:
>
> You should not get that message if you follow the transcript in the
> documentation. Did you perform the "reset" step? Otherwise please
> provide a transcript of your steps that reproduce the problem.
>
>
> -Emile
>
>


-- 
"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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120515/dec99232/attachment.htm>


More information about the rabbitmq-discuss mailing list