[rabbitmq-discuss] Cannot join cluster

Andrew Dupont Andrew.Dupont at sandisk.com
Fri Jan 24 16:16:13 GMT 2014


Folks,

    I tried going the other direction, joining the Linux node cluster from the Windows side and I get the following error :

Clustering node 'rabbit at WST-406379' with rabbit at UbuntuGuard ...
Error : (inconsistent_cluster,"OTP version mismatch: local nmode is R15B03, remote node R14B04")

It appears to be a version mismatch issue. Is there a way to get specific versions for windows and Linux that match?

Thanks,
Andy

From: Andrew Dupont
Sent: Friday, January 24, 2014 10:41 AM
To: 'rabbitmq-discuss at lists.rabbitmq.com'
Subject: Cannot join cluster

Folks,

   I am attempting to cluster between a Windows 7 machine and a Ubuntu Linux machine. The hash values and cookies are identical, the host name of the windows machine is defined in /etc/hosts, the nodes appear healthy after boot up. When I try to join the cluster I get the following error :

root at UbuntuGuard:/usr/sbin# rabbitmqctl join_cluster --ram rabbit at WST-406379
Clustering node rabbit at UbuntuGuard with 'rabbit at WST-406379' ...
Error: {{case_clause,
            {{error,
                 {aborted,
                     {function_clause,
                         [{mnesia_schema,cs2list,
                              [{cstruct,schema,set,[],
                                   ['rabbit at WST-406379'],
                                   [],0,read_write,false,[],[],false,schema,
                                   [table,cstruct],
                                   [],[],[],
                                   {{1387,380707,385006},'rabbit at WST-406379'},
                                   {{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 WST-406379']}},
        [{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}]}

Here is the content of the first log file 'rabbit at UbuntuGuard.log' :


=INFO REPORT==== 23-Jan-2014::14:48:47 ===
Stopping RabbitMQ

=INFO REPORT==== 23-Jan-2014::14:48:47 ===
stopped TCP Listener on [::]:5672

=INFO REPORT==== 23-Jan-2014::14:51:33 ===
Starting RabbitMQ 3.2.2 on Erlang R14B04
Copyright (C) 2007-2013 GoPivotal, Inc.
Licensed under the MPL.  See http://www.rabbitmq.com/

=INFO REPORT==== 23-Jan-2014::14:51:33 ===
node           : rabbit at UbuntuGuard
home dir       : /var/lib/rabbitmq
config file(s) : (none)
cookie hash    : gMmCWNI4xHVsuha+KHhcCg==
log            : /var/log/rabbitmq/rabbit at UbuntuGuard.log<mailto:/var/log/rabbitmq/rabbit at UbuntuGuard.log>
sasl log       : /var/log/rabbitmq/rabbit at UbuntuGuard-sasl.log<mailto:/var/log/rabbitmq/rabbit at UbuntuGuard-sasl.log>
database dir   : /var/lib/rabbitmq/mnesia/rabbit at UbuntuGuard

=INFO REPORT==== 23-Jan-2014::14:51:33 ===
Limiting to approx 924 file handles (829 sockets)

=WARNING REPORT==== 23-Jan-2014::14:51:33 ===
Only 2048MB of 3755MB memory usable due to limited address space.

=INFO REPORT==== 23-Jan-2014::14:51:33 ===
Memory limit set to 819MB of 3755MB total.

=INFO REPORT==== 23-Jan-2014::14:51:33 ===
Disk free limit set to 50MB

=INFO REPORT==== 23-Jan-2014::14:51:33 ===
msg_store_transient: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 23-Jan-2014::14:51:33 ===
msg_store_persistent: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 23-Jan-2014::14:51:33 ===
started TCP Listener on [::]:5672

=INFO REPORT==== 23-Jan-2014::14:51:33 ===
Management plugin started. Port: 15672

=INFO REPORT==== 23-Jan-2014::14:51:33 ===
Statistics database started.

=INFO REPORT==== 23-Jan-2014::14:51:33 ===
Server startup complete; 6 plugins started.
* rabbitmq_management
* rabbitmq_management_agent
* rabbitmq_web_dispatch
* webmachine
* mochiweb
* amqp_client

=INFO REPORT==== 23-Jan-2014::15:21:44 ===
Starting RabbitMQ 3.2.2 on Erlang R14B04
Copyright (C) 2007-2013 GoPivotal, Inc.
Licensed under the MPL.  See http://www.rabbitmq.com/

=INFO REPORT==== 23-Jan-2014::15:21:44 ===
node           : rabbit at UbuntuGuard
home dir       : /var/lib/rabbitmq
config file(s) : (none)
cookie hash    : GUR/NXfFK6d+uLiFw1EL9g==
log            : /var/log/rabbitmq/rabbit at UbuntuGuard.log<mailto:/var/log/rabbitmq/rabbit at UbuntuGuard.log>
sasl log       : /var/log/rabbitmq/rabbit at UbuntuGuard-sasl.log<mailto:/var/log/rabbitmq/rabbit at UbuntuGuard-sasl.log>
database dir   : /var/lib/rabbitmq/mnesia/rabbit at UbuntuGuard

=INFO REPORT==== 23-Jan-2014::15:21:45 ===
Limiting to approx 924 file handles (829 sockets)

=WARNING REPORT==== 23-Jan-2014::15:21:45 ===
Only 2048MB of 3755MB memory usable due to limited address space.

=INFO REPORT==== 23-Jan-2014::15:21:45 ===
Memory limit set to 819MB of 3755MB total.

=INFO REPORT==== 23-Jan-2014::15:21:45 ===
Disk free limit set to 50MB

=INFO REPORT==== 23-Jan-2014::15:21:45 ===
msg_store_transient: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 23-Jan-2014::15:21:45 ===
msg_store_persistent: using rabbit_msg_store_ets_index to provide index

=WARNING REPORT==== 23-Jan-2014::15:21:45 ===
msg_store_persistent: rebuilding indices from scratch

=INFO REPORT==== 23-Jan-2014::15:21:45 ===
started TCP Listener on [::]:5672

=INFO REPORT==== 23-Jan-2014::15:21:45 ===
Management plugin started. Port: 15672

=INFO REPORT==== 23-Jan-2014::15:21:45 ===
Statistics database started.

=INFO REPORT==== 23-Jan-2014::15:21:45 ===
Server startup complete; 6 plugins started.
* amqp_client
* mochiweb
* rabbitmq_management
* rabbitmq_management_agent
* rabbitmq_web_dispatch
* webmachine

=INFO REPORT==== 23-Jan-2014::15:23:10 ===
Stopping RabbitMQ

=INFO REPORT==== 23-Jan-2014::15:23:10 ===
stopped TCP Listener on [::]:5672

=INFO REPORT==== 23-Jan-2014::15:26:34 ===
Starting RabbitMQ 3.2.2 on Erlang R14B04
Copyright (C) 2007-2013 GoPivotal, Inc.
Licensed under the MPL.  See http://www.rabbitmq.com/

=INFO REPORT==== 23-Jan-2014::15:26:34 ===
node           : rabbit at UbuntuGuard
home dir       : /var/lib/rabbitmq
config file(s) : (none)
cookie hash    : GUR/NXfFK6d+uLiFw1EL9g==
log            : /var/log/rabbitmq/rabbit at UbuntuGuard.log<mailto:/var/log/rabbitmq/rabbit at UbuntuGuard.log>
sasl log       : /var/log/rabbitmq/rabbit at UbuntuGuard-sasl.log<mailto:/var/log/rabbitmq/rabbit at UbuntuGuard-sasl.log>
database dir   : /var/lib/rabbitmq/mnesia/rabbit at UbuntuGuard

=INFO REPORT==== 23-Jan-2014::15:26:34 ===
Limiting to approx 924 file handles (829 sockets)

=WARNING REPORT==== 23-Jan-2014::15:26:34 ===
Only 2048MB of 3755MB memory usable due to limited address space.

=INFO REPORT==== 23-Jan-2014::15:26:34 ===
Memory limit set to 819MB of 3755MB total.

=INFO REPORT==== 23-Jan-2014::15:26:34 ===
Disk free limit set to 50MB

=INFO REPORT==== 23-Jan-2014::15:26:34 ===
msg_store_transient: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 23-Jan-2014::15:26:34 ===
msg_store_persistent: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 23-Jan-2014::15:26:34 ===
started TCP Listener on [::]:5672

=INFO REPORT==== 23-Jan-2014::15:26:34 ===
Management plugin started. Port: 15672

=INFO REPORT==== 23-Jan-2014::15:26:34 ===
Statistics database started.

=INFO REPORT==== 23-Jan-2014::15:26:34 ===
Server startup complete; 6 plugins started.
* rabbitmq_management
* rabbitmq_management_agent
* rabbitmq_web_dispatch
* webmachine
* mochiweb
* amqp_client

=INFO REPORT==== 23-Jan-2014::15:29:23 ===
Stopping RabbitMQ

=INFO REPORT==== 23-Jan-2014::15:29:23 ===
stopped TCP Listener on [::]:5672

=ERROR REPORT==== 23-Jan-2014::15:36:49 ===
** System NOT running to use fully qualified hostnames **
** Hostname 192.168.1.101 is illegal **

=INFO REPORT==== 23-Jan-2014::15:43:28 ===
Starting RabbitMQ 3.2.2 on Erlang R14B04
Copyright (C) 2007-2013 GoPivotal, Inc.
Licensed under the MPL.  See http://www.rabbitmq.com/

=INFO REPORT==== 23-Jan-2014::15:43:28 ===
node           : rabbit at UbuntuGuard
home dir       : /var/lib/rabbitmq
config file(s) : (none)
cookie hash    : GUR/NXfFK6d+uLiFw1EL9g==
log            : /var/log/rabbitmq/rabbit at UbuntuGuard.log<mailto:/var/log/rabbitmq/rabbit at UbuntuGuard.log>
sasl log       : /var/log/rabbitmq/rabbit at UbuntuGuard-sasl.log<mailto:/var/log/rabbitmq/rabbit at UbuntuGuard-sasl.log>
database dir   : /var/lib/rabbitmq/mnesia/rabbit at UbuntuGuard

=INFO REPORT==== 23-Jan-2014::15:43:28 ===
Limiting to approx 924 file handles (829 sockets)

=WARNING REPORT==== 23-Jan-2014::15:43:28 ===
Only 2048MB of 3755MB memory usable due to limited address space.

=INFO REPORT==== 23-Jan-2014::15:43:28 ===
Memory limit set to 819MB of 3755MB total.

=INFO REPORT==== 23-Jan-2014::15:43:28 ===
Disk free limit set to 50MB

=INFO REPORT==== 23-Jan-2014::15:43:28 ===
msg_store_transient: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 23-Jan-2014::15:43:28 ===
msg_store_persistent: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 23-Jan-2014::15:43:28 ===
started TCP Listener on [::]:5672

=INFO REPORT==== 23-Jan-2014::15:43:28 ===
Management plugin started. Port: 15672

=INFO REPORT==== 23-Jan-2014::15:43:28 ===
Statistics database started.

=INFO REPORT==== 23-Jan-2014::15:43:28 ===
Server startup complete; 6 plugins started.
* rabbitmq_management
* rabbitmq_management_agent
* rabbitmq_web_dispatch
* webmachine
* mochiweb
* amqp_client

=INFO REPORT==== 24-Jan-2014::08:35:19 ===
Stopping RabbitMQ

=INFO REPORT==== 24-Jan-2014::08:35:19 ===
stopped TCP Listener on [::]:5672

=INFO REPORT==== 24-Jan-2014::08:36:41 ===
Halting Erlang VM

=INFO REPORT==== 24-Jan-2014::08:37:29 ===
Starting RabbitMQ 3.2.2 on Erlang R14B04
Copyright (C) 2007-2013 GoPivotal, Inc.
Licensed under the MPL.  See http://www.rabbitmq.com/

=INFO REPORT==== 24-Jan-2014::08:37:29 ===
node           : rabbit at UbuntuGuard
home dir       : /var/lib/rabbitmq
config file(s) : (none)
cookie hash    : GUR/NXfFK6d+uLiFw1EL9g==
log            : /var/log/rabbitmq/rabbit at UbuntuGuard.log<mailto:/var/log/rabbitmq/rabbit at UbuntuGuard.log>
sasl log       : /var/log/rabbitmq/rabbit at UbuntuGuard-sasl.log<mailto:/var/log/rabbitmq/rabbit at UbuntuGuard-sasl.log>
database dir   : /var/lib/rabbitmq/mnesia/rabbit at UbuntuGuard

=INFO REPORT==== 24-Jan-2014::08:37:29 ===
Limiting to approx 924 file handles (829 sockets)

=WARNING REPORT==== 24-Jan-2014::08:37:29 ===
Only 2048MB of 3755MB memory usable due to limited address space.

=INFO REPORT==== 24-Jan-2014::08:37:29 ===
Memory limit set to 819MB of 3755MB total.

=INFO REPORT==== 24-Jan-2014::08:37:29 ===
Disk free limit set to 50MB

=INFO REPORT==== 24-Jan-2014::08:37:29 ===
msg_store_transient: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 24-Jan-2014::08:37:29 ===
msg_store_persistent: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 24-Jan-2014::08:37:29 ===
started TCP Listener on [::]:5672

=INFO REPORT==== 24-Jan-2014::08:37:29 ===
Management plugin started. Port: 15672

=INFO REPORT==== 24-Jan-2014::08:37:29 ===
Statistics database started.

=INFO REPORT==== 24-Jan-2014::08:37:29 ===
Server startup complete; 6 plugins started.
* amqp_client
* mochiweb
* rabbitmq_management
* rabbitmq_management_agent
* rabbitmq_web_dispatch
* webmachine

=INFO REPORT==== 24-Jan-2014::08:47:03 ===
Stopping RabbitMQ

=INFO REPORT==== 24-Jan-2014::08:47:03 ===
stopped TCP Listener on [::]:5672

=ERROR REPORT==== 24-Jan-2014::08:47:29 ===
** System NOT running to use fully qualified hostnames **
** Hostname 192.168.1.101 is illegal **

=INFO REPORT==== 24-Jan-2014::10:12:33 ===
Clustering with ['rabbit at WST-406379'] as disc node

=INFO REPORT==== 24-Jan-2014::10:13:11 ===
Clustering with ['rabbit at WST-406379'] as disc node

=INFO REPORT==== 24-Jan-2014::10:15:04 ===
Clustering with ['rabbit at WST-406379'] as disc node

=INFO REPORT==== 24-Jan-2014::10:17:31 ===
Halting Erlang VM

=INFO REPORT==== 24-Jan-2014::10:18:19 ===
Starting RabbitMQ 3.2.2 on Erlang R14B04
Copyright (C) 2007-2013 GoPivotal, Inc.
Licensed under the MPL.  See http://www.rabbitmq.com/

=INFO REPORT==== 24-Jan-2014::10:18:19 ===
node           : rabbit at UbuntuGuard
home dir       : /var/lib/rabbitmq
config file(s) : (none)
cookie hash    : GUR/NXfFK6d+uLiFw1EL9g==
log            : /var/log/rabbitmq/rabbit at UbuntuGuard.log<mailto:/var/log/rabbitmq/rabbit at UbuntuGuard.log>
sasl log       : /var/log/rabbitmq/rabbit at UbuntuGuard-sasl.log<mailto:/var/log/rabbitmq/rabbit at UbuntuGuard-sasl.log>
database dir   : /var/lib/rabbitmq/mnesia/rabbit at UbuntuGuard

=INFO REPORT==== 24-Jan-2014::10:18:19 ===
Limiting to approx 924 file handles (829 sockets)

=WARNING REPORT==== 24-Jan-2014::10:18:19 ===
Only 2048MB of 3755MB memory usable due to limited address space.

=INFO REPORT==== 24-Jan-2014::10:18:19 ===
Memory limit set to 819MB of 3755MB total.

=INFO REPORT==== 24-Jan-2014::10:18:19 ===
Disk free limit set to 50MB

=INFO REPORT==== 24-Jan-2014::10:18:19 ===
msg_store_transient: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 24-Jan-2014::10:18:19 ===
msg_store_persistent: using rabbit_msg_store_ets_index to provide index

=WARNING REPORT==== 24-Jan-2014::10:18:19 ===
msg_store_persistent: rebuilding indices from scratch

=INFO REPORT==== 24-Jan-2014::10:18:19 ===
Adding vhost '/'

=INFO REPORT==== 24-Jan-2014::10:18:19 ===
Creating user 'guest'

=INFO REPORT==== 24-Jan-2014::10:18:19 ===
Setting user tags for user 'guest' to [administrator]

=INFO REPORT==== 24-Jan-2014::10:18:19 ===
Setting permissions for 'guest' in '/' to '.*', '.*', '.*'

=INFO REPORT==== 24-Jan-2014::10:18:20 ===
started TCP Listener on [::]:5672

=INFO REPORT==== 24-Jan-2014::10:18:20 ===
Management plugin started. Port: 15672

=INFO REPORT==== 24-Jan-2014::10:18:20 ===
Statistics database started.

=INFO REPORT==== 24-Jan-2014::10:18:20 ===
Server startup complete; 6 plugins started.
* amqp_client
* mochiweb
* rabbitmq_management
* rabbitmq_management_agent
* rabbitmq_web_dispatch
* webmachine

=INFO REPORT==== 24-Jan-2014::10:22:17 ===
Stopping RabbitMQ

=INFO REPORT==== 24-Jan-2014::10:22:17 ===
stopped TCP Listener on [::]:5672

=INFO REPORT==== 24-Jan-2014::10:22:45 ===
Clustering with ['rabbit at WST-406379'] as disc node

=INFO REPORT==== 24-Jan-2014::10:26:15 ===
Clustering with ['rabbit at WST-406379'] as ram node

=INFO REPORT==== 24-Jan-2014::10:30:08 ===
Starting RabbitMQ 3.2.2 on Erlang R14B04
Copyright (C) 2007-2013 GoPivotal, Inc.
Licensed under the MPL.  See http://www.rabbitmq.com/

=INFO REPORT==== 24-Jan-2014::10:30:08 ===
node           : rabbit at UbuntuGuard
home dir       : /var/lib/rabbitmq
config file(s) : (none)
cookie hash    : GUR/NXfFK6d+uLiFw1EL9g==
log            : /var/log/rabbitmq/rabbit at UbuntuGuard.log<mailto:/var/log/rabbitmq/rabbit at UbuntuGuard.log>
sasl log       : /var/log/rabbitmq/rabbit at UbuntuGuard-sasl.log<mailto:/var/log/rabbitmq/rabbit at UbuntuGuard-sasl.log>
database dir   : /var/lib/rabbitmq/mnesia/rabbit at UbuntuGuard

=INFO REPORT==== 24-Jan-2014::10:30:08 ===
Limiting to approx 924 file handles (829 sockets)

=WARNING REPORT==== 24-Jan-2014::10:30:09 ===
Only 2048MB of 3755MB memory usable due to limited address space.

=INFO REPORT==== 24-Jan-2014::10:30:09 ===
Memory limit set to 819MB of 3755MB total.

=INFO REPORT==== 24-Jan-2014::10:30:09 ===
Disk free limit set to 50MB

=INFO REPORT==== 24-Jan-2014::10:30:09 ===
msg_store_transient: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 24-Jan-2014::10:30:09 ===
msg_store_persistent: using rabbit_msg_store_ets_index to provide index

=WARNING REPORT==== 24-Jan-2014::10:30:09 ===
msg_store_persistent: rebuilding indices from scratch

=INFO REPORT==== 24-Jan-2014::10:30:09 ===
Adding vhost '/'

=INFO REPORT==== 24-Jan-2014::10:30:09 ===
Creating user 'guest'

=INFO REPORT==== 24-Jan-2014::10:30:09 ===
Setting user tags for user 'guest' to [administrator]

=INFO REPORT==== 24-Jan-2014::10:30:09 ===
Setting permissions for 'guest' in '/' to '.*', '.*', '.*'

=INFO REPORT==== 24-Jan-2014::10:30:09 ===
started TCP Listener on [::]:5672

=INFO REPORT==== 24-Jan-2014::10:30:09 ===
Management plugin started. Port: 15672

=INFO REPORT==== 24-Jan-2014::10:30:09 ===
Statistics database started.

=INFO REPORT==== 24-Jan-2014::10:30:09 ===
Server startup complete; 6 plugins started.
* rabbitmq_management
* rabbitmq_management_agent
* rabbitmq_web_dispatch
* webmachine
* mochiweb
* amqp_client

=INFO REPORT==== 24-Jan-2014::10:30:34 ===
Stopping RabbitMQ

=INFO REPORT==== 24-Jan-2014::10:30:34 ===
stopped TCP Listener on [::]:5672

=INFO REPORT==== 24-Jan-2014::10:31:02 ===
Clustering with ['rabbit at WST-406379'] as disc node

=INFO REPORT==== 24-Jan-2014::10:31:08 ===
Clustering with ['rabbit at WST-406379'] as ram node

=INFO REPORT==== 24-Jan-2014::10:31:49 ===
Clustering with ['rabbit at WST-406379'] as ram node


Any idea what I may be doing wrong?

Thanks,
Andy



________________________________

PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140124/1887515a/attachment.html>


More information about the rabbitmq-discuss mailing list