Gotcha...<div><br></div><div>My mac change hostname all the time that I reconnect in internet using 3G. If i drop rabbit without disconnect Rabbit start without problem. If I stop and start connection between rabbit's start stop, rabbit crash.</div>
<div><br></div><div>But in RHE and Debian environment I don't change the hostname and the problem is the same, Tomorrow I will try to reproduce it in my servers and report here.</div><div><br></div><div>Regards.<br><br>
<div class="gmail_quote">On Sun, Jan 24, 2010 at 6:19 PM, Matthew Sackman <span dir="ltr"><<a href="mailto:matthew@lshift.net">matthew@lshift.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<div class="im"><br>
On Sun, Jan 24, 2010 at 06:07:39PM -0200, Gustavo Aquino wrote:<br>
> I got this same problem using MacOS 10.5, that I'm using now, RHE and Debian<br>
> with RabbitMQ 1.7 never got it with 1.6.<br>
><br>
> Look I can reproduce it all the time, in all this environments just do<br>
> Crtl+C in console running RabbitMQ-server and try to start again, and booom<br>
> the problem appears. I just do it again to show the metrics that you request<br>
> me.<br>
<br>
</div>I assure you, we start and stop rabbit all the time in this way, and<br>
don't see this problem. No one else has reported this problem when the<br>
mnesia database is empty (or at least not very big).<br>
<br>
Sigh, just looking at your two traces, your IP address has change - and<br>
you appear to be basing your hostname on your IP address. This is a known<br>
problem, especially with Macs.<br>
<br>
In message <a href="mailto:4B4B4160.1010704@lshift.net">4B4B4160.1010704@lshift.net</a>, Tony said:<br>
"Yes, it is. It's because of the way macs change their hostname. This<br>
interacts badly with the way epmd looks up its own address. Some relief<br>
might be found by following the ideas from this thread:<br>
<a href="http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2009-October/005053.html" target="_blank">http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2009-October/005053.html</a><br>
"<br>
<br>
In short, mnesia will write the full nodename to disk when it creates the<br>
schema. If your nodename changes then it will fail to restart.<br>
<font color="#888888"><br>
Matthew<br>
</font></blockquote></div><br></div>