So, we’ve been at the reboot: for a while now and it’s been a fun time until I decided to rename one of the nodes.

Guess what… suddenly rabbitmq stops working. Apparently the database stops working, when you change your hostname. Just running:

rabbitmq-server --install

will still crash with the same error.

The solution is to delete:

rm -rf /var/lib/rabbitmq/mnesia/rabbit

and rerun rabbitmq install.

rabbitmq-server --install