<div dir="ltr"><p>Hello,</p><p>I am trying to cluster a slave node (rabbit2) with a master node
(rabbit1) in RabbitMQ. I am receiving the following error from the <code>join_cluster</code>
command, though. I don't know Erlang, so I am having trouble
determining the cause. Any ideas as to what the error is, or how to fix
it? </p>
<p>Both nodes can talk to each other via ping, and I have ensured that the .erlang.cookie for each node is the same.</p><pre><code>root@rabbit2:~# rabbitmqctl stop_app
root@rabbit2:~# rabbitmqctl join_cluster rabbit@rabbit1
Clustering node 'rabbit@rabbit2' with 'rabbit@rabbit1' ...
Error: {{case_clause,
{{error,
{aborted,
{function_clause,
[{mnesia_schema,cs2list,
[{cstruct,schema,set,[],
['rabbit@rabbit1'],
[],0,read_write,false,[],[],false,schema,
[table,cstruct],
[],[],[],
{{1395,763528,28278},
'rabbit@rabbit1'},
{{2,0},[]}}]},
{mnesia_schema,do_merge_schema,1},
{mnesia_tm,apply_fun,3},
{mnesia_tm,execute_transaction,5},
{mnesia_schema,schema_coordinator,3}]}}},
['rabbit@rabbit1']}},
[{rabbit_mnesia,change_extra_db_nodes,2},
{rabbit_mnesia,init_db,3},
{rabbit_mnesia,init_db_and_upgrade,3},
{rabbit_mnesia,init_db_with_mnesia,4},
{rabbit_mnesia,join_cluster,2},
{rpc,'-handle_call_call/6-fun-0-',5}]}</code></pre></div>