<br><div class="gmail_quote">On Fri, Feb 12, 2010 at 3:13 PM, Peter Fitzgibbons <span dir="ltr"><<a href="mailto:peter.fitzgibbons@gmail.com">peter.fitzgibbons@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;">
HI Folks,<div><br></div><div>My newbie status is visible in this problem.</div><div>I'm wanting to use Alice/Wonderland to monitor my RabbitMQ instance.</div><div>Unfortunately, my hostname at the time if RabbitMQ install was 'vm-peter-u804B' -- no domain</div>
<div>So, I changed the system hostname to 'vm-peter-u804B.peter' (/etc/hosts and /etc/hostname). hostname and hostname -s show 'vm-peter-u804B.peter' and 'vm-peter-u804B'</div><div>I have rebooted several times.</div>
<div><br></div><div>Now rabbit fails to start with /var/log/rabbitmq/startup_log :</div><div><br></div><div><div><font face="'courier new', monospace">node : rabbit@vm-peter-u804B</font></div>
<div><font face="'courier new', monospace">app descriptor: /usr/lib/rabbitmq/lib/rabbitmq_server-1.7.1/sbin/../ebin/rabbit.app</font></div><div><font face="'courier new', monospace">home dir : /var/lib/rabbitmq</font></div>
<div><font face="'courier new', monospace">cookie hash : x3xctmeBS7wtsHr18+Og1w==</font></div><div><font face="'courier new', monospace">log : /var/log/rabbitmq/rabbit.log</font></div>
<div><font face="'courier new', monospace">sasl log : /var/log/rabbitmq/rabbit-sasl.log</font></div><div><font face="'courier new', monospace">database dir : /var/lib/rabbitmq/mnesia/rabbit</font></div>
<div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace">starting database ...timeout</font></div>
<div><font face="'courier new', monospace">{"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_durable_route,rabbit_durable_exchange,rabbit_durable_queue]},{rabbit,start,[normal,[]]}}}}},[{init,start_it,1},{init,start_em,1}]}}</font></div>
<div><br></div><div>Could anyone shed light on how to make Rabbit/Mnesia happy again?</div><div><br></div><br></div></blockquote><div><br>The Erlang Mnesia database is host specific (because it is a distributed DB). The simplest way to get you fixed is to clear out the database dir. That's assuming that you can stand losing any persisted exchanges etc. The persisted messages are also stored in that folder, but not in Mnesia.<br>
</div></div><br>If you need to keep any persisted exchanges, queues, message etc. then that is a bit harder.<br><br>Robby<br><br>