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/rabbit@shcs115-plugins-expand",

            {cannot_delete,

                "/var/lib/rabbitmq/mnesia/rabbit@shcs115-plugins-expand/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/rabbit@shcs115-plugins-expand",{cannot_delete,"/var/lib/rabbitmq/mnesia/rabbit@shcs115-plugins-expand/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

删除最后一项即可

你可能感兴趣的:(error,Files,contain)