rabbitmq-server-2.8.7 upgrade to rabbitmq-server-3.5.7-1. Start the service times below error (toss me for three days):
BOOT FAILED
===========
Error Description:
{error,
{Cannot_delete_plugins_expand_dir,
["/var/lib/rabbitmq/mnesia/[email protected]",
{Cannot_delete,
"/var/lib/rabbitmq/mnesia/[email Protected]/rabbitmq_mochiweb-2.8.7/ebin/rabbitmq_mochiweb.app",
Eacces}]}}
Log files (may contain more information):
/var/log/rabbitmq/[email protected]
/var/log/rabbitmq/[email protected]
Stack Trace:
[{rabbit_plugins,setup,0},
{rabbit,broker_start,0},
{rabbit,start_it,1},
{init,start_it,1},
{init,start_em,1}]
{"Init terminating in Do_boot", {error,{cannot_delete_plugins_expand_dir,["/var/lib/rabbitmq/mnesia/[email Protected] ", {cannot_delete,"/var/lib/rabbitmq/mnesia/[email protected]/rabbitmq_mochiweb-2.8.7/ebin/rabbitmq_ Mochiweb.app ", Eacces}]}}}
Crash Dump was written to:erl_crash.dump
init terminating in Do_boot ()
The reason is the plugin
Vi/etc/rabbitmq/enabled_plugins
Delete the last item
This article is from the "Tiandaochouqin" blog, please be sure to keep this source http://daiqing.blog.51cto.com/739359/1743380
RABBITMQ Upgrade Service Start error