[rabbitmq-discuss] Rabbit Node Won't Boot No Matter What I Do (schema_integrity_check_failed)

Matthias Radestock matthias at rabbitmq.com
Wed Jan 23 09:57:12 GMT 2013

On 23/01/13 09:36, Tim Watson wrote:
> Where do you set
> the RABBITMQ_MNESIA_BASE and/or RABBITMQ_MNESIA_DIR for the individual
> nodes?

The script supplies a RABBITMQ_NODENAME, which is sufficient.

Btw, as an aside, I notice that the script employs a mixture of 
rabbitmqctl and management API access. The latter for creating vhosts, 
granting user permissions, setting up queue mirroring policies and 
federated exchanges. All but the last one can be done with rabbitmqctl.

> Can you confirm the database directory deletion by running `ls -la`
> afterwards to make sure everything's gone, and then try starting up a
> single node.


One problem with the scripts is that the servers are started 
asynchronously, with -detached, so they may not have fully started by 
the time the subsequent rabbitmqctl invocations try to talk to them. A 
judicious insertion of 'rabbitmqctl wait <pid_file>' should solve that.



More information about the rabbitmq-discuss mailing list