[rabbitmq-discuss] Cluster upgrade failed
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:
> export RABBITMQ_MNESIA_BASE
> 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...
More information about the rabbitmq-discuss