[rabbitmq-discuss] Cluster upgrade failed

Simon MacMullen simon at rabbitmq.com
Thu May 9 16:06:55 BST 2013

On 09/05/13 15:52, Tracy Dalzell wrote:
> The upgrade apparently created a new rabbitmq-env file and a new
> symbolic link /usr/lib/rabbitmq/bin/rabbitmq-env ->
> ../lib/rabbitmq_server-3.1.0/sbin/rabbitmq-env.  Our 3.0.4 configuration
> had the following entries in rabbitmq-env:
> RABBITMQ_MNESIA_BASE=/mnt/data/rabbitmq/mnesia
> Those two entries were not in the new rabbitmq-env file so when rabbit
> started after the upgrade the mnesia database was reinitialized in the
> default location.  I took down all the servers, edited the file on each
> server, brought them back up and then I had a big phat rabbit, just the
> way I like it.

Ah! Glad you sorted this out.

However, you might want to put this customisation into 
/etc/rabbitmq/rabbitmq-env.conf instead (in a slightly different form):




The reason is that the rabbitmq-env file you edited is part of the 
installation - so the next time you upgrade it will get overwritten 
again and things will break again...

Cheers, Simon

Simon MacMullen
RabbitMQ, Pivotal

More information about the rabbitmq-discuss mailing list