<br><div class="gmail_quote">On Thu, Apr 29, 2010 at 1:57 PM, Andreas Jung <span dir="ltr"><<a href="mailto:lists@zopyx.com">lists@zopyx.com</a>></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;">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
What does the following error during the startup mean?<br>
<br>
RabbitMQ 1.7.2 on Snow Leopard, 64 bit<br>
<br>
Andreas<br>
- ----------<br>
<br>
+---+ +---+<br>
| | | |<br>
| | | |<br>
| | | |<br>
| +---+ +-------+<br>
| |<br>
| RabbitMQ +---+ |<br>
| | | |<br>
| v1.7.2 +---+ |<br>
| |<br>
+-------------------+<br>
AMQP 8-0<br>
Copyright (C) 2007-2010 LShift Ltd., Cohesive Financial Technologies<br>
LLC., and Rabbit Technologies Ltd.<br>
Licensed under the MPL. See <a href="http://www.rabbitmq.com/" target="_blank">http://www.rabbitmq.com/</a><br>
<br>
node : rabbit@suxmac2.fritz.box<br>
app descriptor: /Users/ajung/sandboxes/occ/parts/rabbitmq/ebin/rabbit.app<br>
home dir : /Users/ajung<br>
cookie hash : YdPtx/uDiT0CjSe1lC1Gig==<br>
log : /Users/ajung/sandboxes/occ/var/log/rabbitmq/rabbit.log<br>
sasl log : /Users/ajung/sandboxes/occ/var/log/rabbitmq/rabbit-sasl.log<br>
database dir : /Users/ajung/sandboxes/occ/var/rabbit<br>
<br>
starting internal event notification system<br>
...done<br>
starting logging server<br>
...done<br>
starting database<br>
...{"init terminating in<br>
do_boot",{{nocatch,{error,{cannot_start_application,rabbit,{bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{{case_clause,{error,{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,'-run_boot_step/1-lc$^1/1-1-',1},{rabbit,run_boot_step,1},{rabbit,'-start/2-lc$^0/1-0-',1},{rabbit,start,2},{application_master,start_it_old,4}]}}}}}}},[{init,start_it,1},{init,start_em,1}]}}<br>
<br></blockquote><div><br>The 'timeout_waiting_for_tables' error usually means that you previously had an mnesia DB set up under a particular named node and hostname, but now the system is starting up with a different nodename or hostname and cannot attach itself to your old DB.<br>
<br>If you're wanting to start from scratch, then just nuke the database files and the next start will rebuild the schema.<br><br>If you need to retain the DB, then either try and re-establish your previous name, or with more work using Erlang, rename your schema (see <a href="http://www.erlang.org/doc/apps/mnesia/Mnesia_chap7.html#id2277864">http://www.erlang.org/doc/apps/mnesia/Mnesia_chap7.html#id2277864</a> for an example of code to rename the node in the schema).<br>
<br>Hope this helps,<br>Robby<br><br></div></div>