Hi Sebastien,<br><br>Have you added host file entries to both machines for rabbit1 and rabbit2? Unless you do that, I don&#39;t believe they are gong to be able to find each other. If pinging rabbit1 from rabbit2 and vice-versa doesn&#39;t work, then the clustering won&#39;t be able to start.<br>
<br>Paul.<br><br><div class="gmail_quote">On Wed, Feb 3, 2010 at 6:04 PM, Sebastien Plisson <span dir="ltr">&lt;<a href="mailto:splisson@veodia.com">splisson@veodia.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




<div>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">Hi,<br>
<br>
I’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>
+---+   +---+<br>
|   |   |   |<br>
|   |   |   |<br>
|   |   |   |<br>
|   +---+   +-------+<br>
|                   |<br>
| RabbitMQ  +---+   |<br>
|           |   |   |<br>
|   v1.7.1  +---+   |<br>
|                   |<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.  See <font color="#0000ff"><u><a href="http://www.rabbitmq.com/" target="_blank">http://www.rabbitmq.com/</a><br>
</u></font><br>
node          : rabbit@rabbit2<br>
app descriptor: /usr/lib/rabbitmq/lib/rabbitmq_server-1.7.1/sbin/../ebin/rabbit.app<br>
home dir      : /var/lib/rabbitmq<br>
cookie hash   : P3hRIQU6rcvxMCzOSrBi7w==<br>
log           : /var/log/rabbitmq/rabbit.log<br>
sasl log      : /var/log/rabbitmq/rabbit-sasl.log<br>
database dir  : /var/lib/rabbitmq/mnesia/rabbit<br>
<br>
starting database             ...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’s wrong with this setup ?<br>
<br>
Thank you<br>
<br>
Sebastien Plisson<br>
<br>
</span></font>
</div>


<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br>