Hi,<div><br></div><div>I'm posting about my others environments that I got the same problem, after one analysis my conclusion is that hostname and network configuration causes the problem too.</div><div><br></div><div>
In two cases RHE and Debian RabbitMQ stop to work when my NOC team change server address and hostname configurations. I delete the schema.DAT and all come back to work again.</div><div><br></div><div>Can I do a suggestion ? Can rabbitmq-server accept -h parameter where user specify the hostname ?</div>
<div><br></div><div>Regards. </div><div><br><br><div class="gmail_quote">On Mon, Jan 25, 2010 at 7:42 AM, Robert Raschke <span dir="ltr"><<a href="mailto:rtrlists@googlemail.com">rtrlists@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Sun, Jan 24, 2010 at 8:07 PM, Gustavo Aquino <span dir="ltr"><<a href="mailto:aquino.gustavo@gmail.com" target="_blank">aquino.gustavo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
<br><div>====== Fail process.</div><div><div><b> ./start-rabbitmq.sh </b></div><div><div><br></div><div>+---+ +---+</div><div>| | | |</div><div>| | | |</div><div>| | | |</div><div>
| +---+ +-------+</div><div>| |</div><div>| RabbitMQ +---+ |</div><div>| | | |</div><div>| v1.7.0 +---+ |</div><div>| |</div><div>+-------------------+</div><div>
AMQP 8-0</div><div>Copyright (C) 2007-2009 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">http://www.rabbitmq.com/</a></div>
<div><br></div><div>node : rabbit@189-94-130-143</div><div>app descriptor: /opt/local/lib/rabbitmq/bin/../lib/rabbitmq_server-1.7.0/sbin/../ebin/rabbit.app</div><div>home dir : /opt/local/var/lib/rabbitmq</div>
<div>cookie hash : diX16VkN3b6UrKJtDPVb1Q==</div><div>log : /opt/local/var/log/rabbitmq/rabbit.log</div><div>sasl log : /opt/local/var/log/rabbitmq/rabbit-sasl.log</div></div><div>database dir : /opt/local/var/lib/rabbitmq/mnesia/rabbit</div>
<div><br></div><div>starting database ...done</div><div>starting core processes ...done</div><div>starting recovery ...done</div><div>starting persister ...done</div><div>starting guid generator ...done</div>
<div>starting builtin applications ...done</div><div>starting TCP listeners ...done</div><div>starting SSL listeners ...done</div><div><br></div><div>broker running</div><div><b>^C</b></div><div><b>BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded</b></div>
<div><b> (v)ersion (k)ill (D)b-tables (d)istribution</b></div><div><b>a</b></div><div><br></div><div><b>$~ gustavoaquino$ ./start-rabbitmq.sh </b></div><div><div>Password:</div><div><br></div><div>+---+ +---+</div>
<div>
| | | |</div><div>| | | |</div><div>| | | |</div><div>| +---+ +-------+</div><div>| |</div><div>| RabbitMQ +---+ |</div><div>| | | |</div><div>| v1.7.0 +---+ |</div>
<div>| |</div><div>+-------------------+</div><div>AMQP 8-0</div><div>Copyright (C) 2007-2009 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">http://www.rabbitmq.com/</a></div>
<div><br></div></div><div>node : rabbit@187-26-170-110</div><div><div>app descriptor: /opt/local/lib/rabbitmq/bin/../lib/rabbitmq_server-1.7.0/sbin/../ebin/rabbit.app</div><div>home dir : /opt/local/var/lib/rabbitmq</div>
<div>cookie hash : diX16VkN3b6UrKJtDPVb1Q==</div><div>log : /opt/local/var/log/rabbitmq/rabbit.log</div><div>sasl log : /opt/local/var/log/rabbitmq/rabbit-sasl.log</div></div><div>database dir : /opt/local/var/lib/rabbitmq/mnesia/rabbit</div>
<div>
<div><br></div><div><b>starting database ...{"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}]}}</b></div>
<div><b><br></b></div></div><div><div><b>Crash dump was written to: erl_crash.dump</b></div></div><div><b>init terminating in do_boot ()</b></div><div><br></div><div>=== Final fail process</div></div><div> </div>
<br></blockquote></div><br></div></div>The first invocation thinks the node is called rabbit@189-94-130-143, whereeas the second one thinks it is rabbit@187-26-170-110.<br><br>I think that may be the root of your issue, since the second one will fail to start the internal Mnesia DB components.<br>
<br>Why is Rabbit picking up different node names for you?<br><br>Robby<br><br>
</blockquote></div><br></div>