[rabbitmq-discuss] RabbitMQ join_cluster error

Simon MacMullen simon at rabbitmq.com
Tue Mar 25 18:08:12 GMT 2014


That looks like the nodes of the cluster are running different Erlang 
versions. They should all be on the same version.

That said, I thought we'd converted that to a more intelligible error 
message (it could hardly be less). Which version of RabbitMQ are you 
running?

Cheers, Simon

On 25/03/2014 17:49, Kevin Behr wrote:
> Hello,
>
> I am trying to cluster a slave node (rabbit2) with a master node
> (rabbit1) in RabbitMQ. I am receiving the following error from the
> |join_cluster| 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?
>
> Both nodes can talk to each other via ping, and I have ensured that the
> .erlang.cookie for each node is the same.
>
> |root at rabbit2:~# rabbitmqctl stop_app
> root at rabbit2:~# rabbitmqctl join_cluster rabbit at rabbit1
> Clustering node 'rabbit at rabbit2' with 'rabbit at rabbit1' ...
> Error: {{case_clause,
>              {{error,
>                   {aborted,
>                       {function_clause,
>                           [{mnesia_schema,cs2list,
>                                [{cstruct,schema,set,[],
>                                     ['rabbit at rabbit1'],
>                                     [],0,read_write,false,[],[],false,schema,
>                                     [table,cstruct],
>                                     [],[],[],
>                                     {{1395,763528,28278},
>                                      'rabbit at 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 at 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}]}|
>
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>



More information about the rabbitmq-discuss mailing list