| Author |
Message |
< RabbitMQ mailing list ~ procedure for dealing with timeout_waiting_for_tables |
| Guest |
Posted: Mon Sep 07, 2009 6:09 pm |
|
|
|
Guest
|
I had a machine that had the timeout_waiting_for_tables (not in a
cluster, just a single node). I'm guessing that its hostname had
changed, and that was making mnesia angry. I have two questions about
this. Is there a good way to figure out exactly why mnesia isn't
starting, i.e. is it a hostname change, a corrupt mnesia file, etc?
Second, to fix this, I thought I could copy out my persister logs,
wipe the rabbit dir from /var/lib/.../mnesia, restart rabbit, and move
the persisters back in. That didn't seem to work, since the queues
weren't defined anymore, so the log replay apparently just threw
everything away. Would remaking my exchanges, bindings, and queues,
then moving in my persister logs do the trick?
The full error from the log was:
=INFO REPORT==== 8-Sep-2009::02:53:25 ===
application: rabbit
exited: {{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,[]]}}
type: temporary
=INFO REPORT==== 8-Sep-2009::02:53:25 ===
application: mnesia
exited: stopped
type: temporary
=INFO REPORT==== 8-Sep-2009::02:53:25 ===
application: os_mon
exited: stopped
type: temporary
That looks pretty standard from what I could find on this list, and it
seems to be related to hostname changes, but I couldn't see how to fix
it from there.
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Sep 08, 2009 3:31 pm |
|
|
|
Guest
|
Hi Tsuraan,
tsuraan <tsuraan@gmail.com> writes:
> I had a machine that had the timeout_waiting_for_tables (not in a
> cluster, just a single node). I'm guessing that its hostname had
> changed, and that was making mnesia angry. I have two questions about
> this. Is there a good way to figure out exactly why mnesia isn't
> starting, i.e. is it a hostname change, a corrupt mnesia file, etc?
The answer to this part is no, not really. Searching for reports of
similar symptoms on this list is currently your best bet.
> Second, to fix this, I thought I could copy out my persister logs,
> wipe the rabbit dir from /var/lib/.../mnesia, restart rabbit, and move
> the persisters back in. That didn't seem to work, since the queues
> weren't defined anymore, so the log replay apparently just threw
> everything away. Would remaking my exchanges, bindings, and queues,
> then moving in my persister logs do the trick?
Yes, the likely cause is your hostname change. If you recreate all the
resources, stop rabbit, copy the saved persister logs back in, and
start rabbit, it should do the trick.
David
--
[][][] David Wragg | mail: david.wragg@lshift.net
[][] Senior Developer | tel: +44 (0)20 7729 7060
[] [] LShift Ltd | web: www.lshift.net
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Sep 08, 2009 4:10 pm |
|
|
|
Guest
|
> Yes, the likely cause is your hostname change. If you recreate all the
> resources, stop rabbit, copy the saved persister logs back in, and
> start rabbit, it should do the trick.
I'm currently starting rabbit with the node name 'rabbit'. If I were
to always start it with 'rabbit@localhost' (or 'rabbit@<some other
constant name>', I guess), would I be guaranteed to not have this
problem, as long as the @name is something that maps to the local
machine? I assume that erlang implicitly uses rabbit@`hostname` when
the @ is left off, but I'm not entirely sure on that.
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Sep 08, 2009 5:04 pm |
|
|
|
Guest
|
tsuraan <tsuraan@gmail.com> writes:
> I'm currently starting rabbit with the node name 'rabbit'. If I were
> to always start it with 'rabbit@localhost' (or 'rabbit@<some other
> constant name>', I guess), would I be guaranteed to not have this
> problem, as long as the @name is something that maps to the local
> machine?
Yes, if the machine's hostname is changing, then it's a good idea to
specify the full node name explicitly in order to avoid problems with
mnesia.
In general, the part of the node name after the '@' does not even have
to resolve to the machine in question, although it should if you want
clustering to work.
> I assume that erlang implicitly uses rabbit@`hostname` when
> the @ is left off, but I'm not entirely sure on that.
Indeed, as described at
<http://erlang.org/doc/reference_manual/distributed.html>.
David
--
[][][] David Wragg | mail: david.wragg@lshift.net
[][] Senior Developer | tel: +44 (0)20 7729 7060
[] [] LShift Ltd | web: www.lshift.net
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| wuji |
Posted: Tue Sep 18, 2012 7:28 am |
|
|
|
User
Joined: 10 Aug 2012
Posts: 654
|
long-dead king of rock 'n roll."You name it, I got got [h4]cheap jordan shoes[/h4] got it," he confessed to ABCNews.com.Cary's multiple televisions and DVDs
Elvis around the clock, and on weekends at city clubs clubs replica designer *beep* clubs and in national gigs, he becomes Elvis."When I'm dressed
like Elvis, I feel like Superman. I'm the king of of cheap jordans for sale of rock 'n roll -- TCB," says Cary, quoting Elvis
acronym for "taking care of business," a phrase the singer singer cheap jordans free shipping singer coined when his life, like Cary's, began its downward
am poor man, but my things make me feel rich."Cary's rich."Cary's [h2]cheap jordan shoes[/h2] rich."Cary's story kicks off the first episode in the fourth
of TLC's "Hoarding: Buried Alive," which airs Sunday, July 8 8 cheap designer *beep* 8 at 9 p.m. The series examines the lives of
whose emotional attachment to objects causes serious health and safety safety [h1]authentic jordans[/h1] safety dangers and threatens their relationships with family and friends."The
Cary doesn't exist anymore," says his friend Joe, who, with with cheap replica *beep* with wife Francesca on the TV show, unsuccessfully tries to
clear a pathway through the bags of food and debris debris cheap authentic jordans debris that eat up every inch of Cary's apartment."There is |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|