From 1f8f2293a9492ab53f8c77db1e38d34ec50aeb29 Mon Sep 17 00:00:00 2001 From: sipp11 Date: Sat, 15 Aug 2015 12:21:58 +0700 Subject: [PATCH] Add rabbitmq error post --- ...-08-15-rabbitmq-previous_upgrade_failed.md | 36 +++++++++++++++++++ index.html | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 _posts/2015-08-15-rabbitmq-previous_upgrade_failed.md diff --git a/_posts/2015-08-15-rabbitmq-previous_upgrade_failed.md b/_posts/2015-08-15-rabbitmq-previous_upgrade_failed.md new file mode 100644 index 0000000..981a129 --- /dev/null +++ b/_posts/2015-08-15-rabbitmq-previous_upgrade_failed.md @@ -0,0 +1,36 @@ +--- +layout: post +title: "rabbitmq unable to start" +author: + display_name: sipp11 + login: sipp11 + email: sipp11@gmail.com + url: '' +author_login: sipp11 +author_email: sipp11@gmail.com +date: Aug 15, 2015 +tags: +- rabbitmq +- error +--- + +If `rabbitmq` cannot start and give you this following error. + + + BOOT FAILED + =========== + + Error description: + {could_not_start,rabbit, + {previous_upgrade_failed,{rabbit,start,[normal,[]]}}} + + +Then, there is something wrong in your queue messages. The easiest fix would be deleting all the existing queues. + + $ sudo rm -rvf /var/lib/rabbitmq/mnesia/* + +or on OSX (via brew) + + $ rm -rvf /usr/local/var/lib/rabbitmq/mnesia/* + +Start rabbitmq again :) it should run fine. diff --git a/index.html b/index.html index 86f01b7..9fc4637 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ layout: default