<HTML>
<HEAD>
<TITLE>EC2 clustering issue</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi,<BR>
<BR>
I&#8217;m trying to setup a cluster of rabbit nodes with 2 ec2 instances:<BR>
<BR>
I installed rabbitmq with apt-get.<BR>
I use the same erlang cookie on both machine,<BR>
I setup the hostname of the instances to be rabbit1 and rabbit2.<BR>
I configured the clustering through configuration file /etc/rabbitmq/rabbitmq_cluster.config on both machine containing:<BR>
[rabbit@rabbit1, rabbit@rabbit2].<BR>
<BR>
The node starts fine on rabbit1 but I keep getting timeout when I try to start rabbitmqserver on rabbit2 :<BR>
Startup_log:<BR>
<BR>
Starting all nodes...<BR>
Starting node rabbit@rabbit2...<BR>
<BR>
+---+ &nbsp;&nbsp;+---+<BR>
| &nbsp;&nbsp;| &nbsp;&nbsp;| &nbsp;&nbsp;|<BR>
| &nbsp;&nbsp;| &nbsp;&nbsp;| &nbsp;&nbsp;|<BR>
| &nbsp;&nbsp;| &nbsp;&nbsp;| &nbsp;&nbsp;|<BR>
| &nbsp;&nbsp;+---+ &nbsp;&nbsp;+-------+<BR>
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<BR>
| RabbitMQ &nbsp;+---+ &nbsp;&nbsp;|<BR>
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| &nbsp;&nbsp;| &nbsp;&nbsp;|<BR>
| &nbsp;&nbsp;v1.7.1 &nbsp;+---+ &nbsp;&nbsp;|<BR>
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<BR>
+-------------------+<BR>
AMQP 8-0<BR>
Copyright (C) 2007-2009 LShift Ltd., Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd.<BR>
Licensed under the MPL. &nbsp;See <FONT COLOR="#0000FF"><U><a href="http://www.rabbitmq.com/">http://www.rabbitmq.com/</a><BR>
</U></FONT><BR>
node &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: rabbit@rabbit2<BR>
app descriptor: /usr/lib/rabbitmq/lib/rabbitmq_server-1.7.1/sbin/../ebin/rabbit.app<BR>
home dir &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: /var/lib/rabbitmq<BR>
cookie hash &nbsp;&nbsp;: P3hRIQU6rcvxMCzOSrBi7w==<BR>
log &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: /var/log/rabbitmq/rabbit.log<BR>
sasl log &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: /var/log/rabbitmq/rabbit-sasl.log<BR>
database dir &nbsp;: /var/lib/rabbitmq/mnesia/rabbit<BR>
<BR>
starting database &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...timeout<BR>
{&quot;init terminating in do_boot&quot;,{{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}]}}<BR>
<BR>
What&#8217;s wrong with this setup ?<BR>
<BR>
Thank you<BR>
<BR>
Sebastien Plisson<BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>