[rabbitmq-discuss] RabbitMQ join_cluster error
Kevin Behr
behrk2 at gmail.com
Tue Mar 25 18:38:45 GMT 2014
Hi Simon,
I am running the latest version of RabbitMQ: {rabbit,"RabbitMQ","3.2.4"}
You're right about the Erlang versions (see below). It's weird - I had
initially dismissed this possibility because I installed RabbitMQ on two
brand new Amazon EC2 server instances within one minute of each other
today, using the same installation method. I don't know why one would
differ from the other.
I am running Ubuntu 12.04 (64-bit). I just tried completely removing
RabbitMQ and all of its dependencies on each server instance and
re-installing (according to the instructions here:
http://www.rabbitmq.com/install-debian.html), and the Erlang version
mismatch remains!
How do I update R14B04 to R16B01?
*rabbit1:*
{erlang_version,
"Erlang R16B01 (erts-5.10.2) [source] [64-bit] [async-threads:30]
[kernel-poll:true]\n"}
*rabbit2:*
{erlang_version,
"Erlang R14B04 (erts-5.8.5) [source] [64-bit] [rq:1]
[async-threads:30] [kernel-poll:true]\n"}
On Tue, Mar 25, 2014 at 2:08 PM, Simon MacMullen <simon at rabbitmq.com> wrote:
> 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140325/c8ba1190/attachment.html>
More information about the rabbitmq-discuss
mailing list