Error while waiting for Mnesia table in a cluster

3,916 views
Skip to first unread message

matt...@gmail.com

unread,
Apr 9, 2021, 6:50:24 AM4/9/21
to rabbitmq-users

I was unable to start RabbitMQ Server in a cluster without restarting the other node in the cluster first. I constantly got "Error while waiting for Mnesia table" before restarting the other node. I have RabbitMQ 3.8.14 on Erlang 23.3.1 in a cluster of two nodes of Red Hat Enterprise Linux 7 and 8.

2021-04-09 13:08:23.830 [info] <0.274.0> Waiting for Mnesia tables for 30000 ms,

 1 retries left

2021-04-09 13:08:53.831 [warning] <0.274.0> Error while waiting for Mnesia table

s: {timeout_waiting_for_tables,[rabbit@pora,rabbit@pora2],[rabbit_durable_queue]

}

2021-04-09 13:08:53.831 [info] <0.274.0> Waiting for Mnesia tables for 30000 ms,

 0 retries left

2021-04-09 13:09:17.855 [info] <0.274.0> Successfully synced tables from a peer

2021-04-09 13:09:17.855 [info] <0.274.0> Waiting for Mnesia tables for 30000 ms,

 9 retries left

2021-04-09 13:09:18.093 [info] <0.274.0> Successfully synced tables from a peer

2021-04-09 13:09:18.235 [info] <0.274.0> Waiting for Mnesia tables for 30000 ms, 9 retries left

2021-04-09 13:09:18.235 [info] <0.274.0> Successfully synced tables from a peer


Michal Kuratczyk

unread,
Apr 9, 2021, 8:29:20 AM4/9/21
to rabbitm...@googlegroups.com
Hey,

The process and error is explained here: https://www.rabbitmq.com/clustering.html#restarting
You haven't provided enough details to tell what exactly happened in your cluster but most likely it was the expected behaviour when:
1. node1 was shut down (it remembers that node2 was still running when it stopped)
2. then node2 was shut down
3. you attempted to start node1 without starting node2 - node1 knows node2 was still running when it stopped, so it waits for node1 to become available to synchronize the latest state of the cluster

Best,

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/44a3d381-2f04-437b-a6a7-46bd9969f9fdn%40googlegroups.com.


--
Michał
RabbitMQ team
Reply all
Reply to author
Forward
0 new messages