<meta charset="utf-8"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div>Update: Rabbitmq works again after reboot. Problem seems to have coincided with maxing out of server memory.</div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br>
</span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Cc&#39;ing:</span></div>I did not change the hostname. �You might be on to something - there may be a problem with how ec2 handles hostnames/dhcp. �But as far as I know, the hostname as been constant throughout.<div>
Thanks, Ian.</div><div>Mark</div></span><br><div class="gmail_quote">On Tue, Aug 31, 2010 at 9:27 PM, Ian Ragsdale <span dir="ltr">&lt;<a href="mailto:ian.ragsdale@gmail.com">ian.ragsdale@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div bgcolor="#FFFFFF"><div>Did you happen to change your hostname? �That would cause rabbitmqctl to fail to connect to a running server that was started with a different hostname, and a running server would cause the second failure (because it couldn&#39;t listen on the correct port).</div>
<div><br></div><div>- Ian<div><div></div><div class="h5"><br><br>On Aug 31, 2010, at 9:17 PM, Mark Soper &lt;<a href="mailto:masoper@gmail.com" target="_blank">masoper@gmail.com</a>&gt; wrote:<br><br></div></div></div><div>
<div></div><div class="h5"><div></div><blockquote type="cite"><div>Just getting started with rabbitmq, hoping for advice on how to troubleshoot this:
<div><br></div><div>Last week I started using celery with rabbitmq on EC2 Ubuntu server.</div><div>It ran fine for a week, then died. �</div><div><br></div><div>&gt; sudo rabbitmqctl status</div><div><br></div><div><div>

Status of node &#39;rabbit@domU-12-31-39-05-6E-52&#39; ...</div><div>Error: unable to connect to node &#39;rabbit@domU-12-31-39-05-6E-52&#39;: nodedown</div><div>diagnostics:</div><div>- nodes and their ports on domU-12-31-39-05-6E-52: [{rabbitmqctl11365,50319}]</div>

<div>- current node: &#39;rabbitmqctl11365@domU-12-31-39-05-6E-52&#39;</div><div>- current node home dir: /var/lib/rabbitmq</div><div>- current node cookie hash: nF0wVuFwDDUCqBIAugLXcw==</div></div><div><br></div><div><br>

</div><div>&gt;�sudo rabbitmq-server</div><div><br></div><div><div>+---+ � +---+</div><div>| � | � | � |</div><div>| � | � | � |</div><div>| � | � | � |</div><div>| � +---+ � +-------+</div><div>| � � � � � � � � � |</div>

<div>| RabbitMQ �+---+ � |</div><div>| � � � � � | � | � |</div><div>| � v1.7.2 �+---+ � |</div><div>| � � � � � � � � � |</div><div>+-------------------+</div><div>AMQP 8-0</div><div>Copyright (C) 2007-2010 LShift Ltd., Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd.</div>

<div>Licensed under the MPL. �See <a href="http://www.rabbitmq.com/" target="_blank"></a><a href="http://www.rabbitmq.com/" target="_blank">http://www.rabbitmq.com/</a></div><div><br></div><div>node � � � � �: rabbit@domU-12-31-39-05-6E-52</div>
<div>app descriptor: /usr/lib/rabbitmq/lib/rabbitmq_server-1.7.2/sbin/../ebin/rabbit.app</div>
<div>home dir � � �: /var/lib/rabbitmq</div><div>cookie hash � : nF0wVuFwDDUCqBIAugLXcw==</div><div>log � � � � � : /var/log/rabbitmq/rabbit.log</div><div>sasl log � � �: /var/log/rabbitmq/rabbit-sasl.log</div><div>database dir �: /var/lib/rabbitmq/mnesia/rabbit</div>

<div><br></div><div>starting internal event notification system � � � � � � � � � � � � � ...done</div><div>starting logging server � � � � � � � � � � � � � � � � � � � � � � � ...done</div><div>starting database � � � � � � � � � � � � � � � � � � � � � � � � � � ...done</div>

<div>-- kernel ready</div><div>starting alarm handler � � � � � � � � � � � � � � � � � � � � � � � �...done</div><div>starting queue supervisor � � � � � � � � � � � � � � � � � � � � � � ...done</div><div>starting node monitor � � � � � � � � � � � � � � � � � � � � � � � � ...done</div>

<div>starting cluster router � � � � � � � � � � � � � � � � � � � � � � � ...done</div><div>-- core initialized</div><div>starting empty DB check � � � � � � � � � � � � � � � � � � � � � � � ...done</div><div>starting codec correctness check � � � � � � � � � � � � � � � � � � �...done</div>

<div>starting exchange recovery � � � � � � � � � � � � � � � � � � � � � �...done</div><div>starting queue recovery � � � � � � � � � � � � � � � � � � � � � � � ...done</div><div>starting persister � � � � � � � � � � � � � � � � � � � � � � � � � �...done</div>

<div>starting guid generator � � � � � � � � � � � � � � � � � � � � � � � ...done</div><div>-- message delivery logic ready</div><div>starting error log relay � � � � � � � � � � � � � � � � � � � � � � �...done</div><div>

starting networking � � � � � � � � � � � � � � � � � � � � � � � � � ...BOOT ERROR: FAILED</div><div>Reason: {{badmatch,</div><div>�� � � � � � {error,</div><div>�� � � � � � � � {shutdown,</div><div>�� � � � � � � � � � {child,undefined,&#39;rabbit_tcp_listener_sup_0.0.0.0:5672&#39;,</div>

<div>�� � � � � � � � � � � � {tcp_listener_sup,start_link,</div><div>�� � � � � � � � � � � � � � [{0,0,0,0},</div><div>�� � � � � � � � � � � � � � �5672,</div><div>�� � � � � � � � � � � � � � �[binary,</div><div>�� � � � � � � � � � � � � � � {packet,raw},</div>

<div>�� � � � � � � � � � � � � � � {reuseaddr,true},</div><div>�� � � � � � � � � � � � � � � {exit_on_close,false}],</div><div>�� � � � � � � � � � � � � � �{rabbit_networking,tcp_listener_started,[]},</div><div>�� � � � � � � � � � � � � � �{rabbit_networking,tcp_listener_stopped,[]},</div>

<div>�� � � � � � � � � � � � � � �{rabbit_networking,start_client,[]},</div><div>�� � � � � � � � � � � � � � �&quot;TCP Listener&quot;]},</div><div>�� � � � � � � � � � � � transient,infinity,supervisor,</div><div>�� � � � � � � � � � � � [tcp_listener_sup]}}}},</div>

<div>�� � � � [{rabbit_networking,start_listener,4},</div><div>�� � � � �{rabbit_networking,&#39;-boot_tcp/0-lc$^0/1-0-&#39;,1},</div><div>�� � � � �{rabbit_networking,boot_tcp,0},</div><div>�� � � � �{rabbit_networking,boot,0},</div>

<div>�� � � � �{rabbit,&#39;-run_boot_step/1-lc$^1/1-1-&#39;,1},</div><div>�� � � � �{rabbit,run_boot_step,1},</div><div>�� � � � �{rabbit,&#39;-start/2-lc$^0/1-0-&#39;,1},</div><div>�� � � � �{rabbit,start,2}]}</div><div>

Erlang has closed</div><div>{&quot;init terminating in do_boot&quot;,{{nocatch,{error,{cannot_start_application,rabbit,{bad_return,{{rabbit,start,[normal,[]]},{&#39;EXIT&#39;,{rabbit,failure_during_boot}}}}}}},[{init,start_it,1},{init,start_em,1}]}}</div>

<div><br></div><div>Crash dump was written to: erl_crash.dump</div><div>init terminating in do_boot ()</div></div>
</div></blockquote></div></div><blockquote type="cite"><div><span>_______________________________________________</span><br><span>rabbitmq-discuss mailing list</span><br><span><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a></span><br>
<span><a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a></span><br></div></blockquote></div></blockquote>
</div><br><br clear="all"><br>-- <br>617-999-3047<br><a href="mailto:masoper@gmail.com">masoper@gmail.com</a><br><a href="http://twitter.com/marksoper">http://twitter.com/marksoper</a><br><a href="http://facebook.com/masoper">http://facebook.com/masoper</a><br>
<a href="http://linkedin.com/in/marksoper">http://linkedin.com/in/marksoper</a><br>