[rabbitmq-discuss] EC2 clustering issue

Sebastien Plisson splisson at veodia.com
Wed Feb 3 18:04:18 GMT 2010


Hi,

I'm trying to setup a cluster of rabbit nodes with 2 ec2 instances:

I installed rabbitmq with apt-get.
I use the same erlang cookie on both machine,
I setup the hostname of the instances to be rabbit1 and rabbit2.
I configured the clustering through configuration file /etc/rabbitmq/rabbitmq_cluster.config on both machine containing:
[rabbit at rabbit1, rabbit at rabbit2].

The node starts fine on rabbit1 but I keep getting timeout when I try to start rabbitmqserver on rabbit2 :
Startup_log:

Starting all nodes...
Starting node rabbit at rabbit2...

+---+   +---+
|   |   |   |
|   |   |   |
|   |   |   |
|   +---+   +-------+
|                   |
| RabbitMQ  +---+   |
|           |   |   |
|   v1.7.1  +---+   |
|                   |
+-------------------+
AMQP 8-0
Copyright (C) 2007-2009 LShift Ltd., Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd.
Licensed under the MPL.  See http://www.rabbitmq.com/

node          : rabbit at rabbit2
app descriptor: /usr/lib/rabbitmq/lib/rabbitmq_server-1.7.1/sbin/../ebin/rabbit.app
home dir      : /var/lib/rabbitmq
cookie hash   : P3hRIQU6rcvxMCzOSrBi7w==
log           : /var/log/rabbitmq/rabbit.log
sasl log      : /var/log/rabbitmq/rabbit-sasl.log
database dir  : /var/lib/rabbitmq/mnesia/rabbit

starting database             ...timeout
{"init terminating in do_boot",{{nocatch,{error,{cannot_start_application,rabbit,{{timeout_waiting_for_tables,[rabbit_user,rabbit_user_permission,rabbit_vhost,rabbit_config,rabbit_listener,rabbit_durable_route,rabbit_route,rabbit_reverse_route,rabbit_durable_exchange,rabbit_exchange,rabbit_durable_queue,rabbit_queue]},{rabbit,start,[normal,[]]}}}}},[{init,start_it,1},{init,start_em,1}]}}

What's wrong with this setup ?

Thank you

Sebastien Plisson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100203/f0be0a42/attachment.htm 


More information about the rabbitmq-discuss mailing list