- From the RabbitMQ server log on the failing node (/var/vcap/sys/log/rabbitmq-server/rabbit@****.log), there is a lock against the mnesia db:
2019-01-30 10:37:05.939 [error] <0.5.0> Cluster upgrade needed but other disc nodes shut down after this one.
Please first start the last disc node to shut down.Note: if several disc nodes were shut down simultaneously they may all show this message. In which case, remove the lock file on one of them and start that node. The lock file on this node is:
/var/vcap/store/rabbitmq/mnesia/db/nodes_running_at_shutdown
2019-01-30 10:37:05.940 [error] <0.5.0>
Error description:
init:do_boot/3
init:start_em/1
rabbit:start_it/1 line 461
rabbit:'-boot/0-fun-0-'/0 line 307
rabbit_upgrade:run_mnesia_upgrades/2 line 155
rabbit_upgrade:die/2 line 212
throw:{upgrade_error,"\n\n****\n\nCluster upgrade needed but other disc nodes shut down after this one.\nPlease first start the last disc node to shut down.\n\nNote: if several disc nodes were shut down simultaneously they may all\nshow this message. In which case, remove the lock file on one of them and\nstart that node. The lock file on this node is:\n\n /var/vcap/store/rabbitmq/mnesia/db/nodes_running_at_shutdown \n\n****\n\n\n"}
- From a running vm, after running rabbitmqctl status , we can see that RabbitMQ is not running on these nodes:
$ rabbitmqctl status
Status of node rabbit@1b1ff0702e388b1535ce74c80b6c3df8
[{pid,10045},
{running_applications,[{ranch,"Socket acceptor pool for TCP protocols.",
"1.3.2"},
{ssl,"Erlang/OTP SSL application","8.2.6.4"},
{public_key,"Public key infrastructure","1.5.2"},
{asn1,"The Erlang ASN1 compiler version 5.0.5.2",
"5.0.5.2"},
{crypto,"CRYPTO","4.2.2.2"},
{compiler,"ERTS CXC 138 10","7.1.5.2"},
{recon,"Diagnostic tools for production use","2.3.2"},
{xmerl,"XML parser","1.3.16.1"},
{inets,"INETS CXC 138 49","6.5.2.4"},
{syntax_tools,"Syntax tools","2.1.4.1"},
{sasl,"SASL CXC 138 11","3.1.2"},
{stdlib,"ERTS CXC 138 10","3.4.5.1"},
{kernel,"ERTS CXC 138 10","5.4.3.2"}]},
This confirms that RabbitMQ is down.