rabbitmq升级服务 启动报错

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了rabbitmq升级服务 启动报错相关的知识,希望对你有一定的参考价值。

rabbitmq-server-2.8.7升级到rabbitmq-server-3.5.7-1.启动服务时报如下错误(折腾了我三天):

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 ()


原因是插件

vi /etc/rabbitmq/enabled_plugins

删除最后一项即可

本文出自 “境由心生 天道酬勤” 博客,请务必保留此出处http://daiqing.blog.51cto.com/739359/1743380

以上是关于rabbitmq升级服务 启动报错的主要内容,如果未能解决你的问题,请参考以下文章

Rabbitmq启动报错

Rabbitmq 服务启动后停止 | Windows下启动报错Error: unable to connect to node rabbit@xxx: nodedown

服务器异常宕机,导致RabbitMQ启动失败

记一次rabbitMQ无法启动错误解决方案

windows下启动rabbitmq

elasticsearch 6.2 版本升级至6.4 版本服务启动报错