【问题标题】:rabbitmq server start errorrabbitmq服务器启动错误
【发布时间】:2017-03-08 02:13:49
【问题描述】:

几天前我在 Windows 上安装了 rabbitmq 3.2。今天,我卸载了rabbitmq 3.2,并安装了rabbitmq 3.6。安装后一切似乎都很好,直到我启动了 RabbitMQ Windows 服务,几秒钟后,服务自动停止。查看日志,我看到如下错误报告:

=ERROR REPORT==== 8-Mar-2017::09:29:20 ===
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:

 c:/Users/chengong/AppData/Roaming/RabbitMQ/db/RABBIT~1/nodes_running_at_shutdown 
=INFO REPORT==== 8-Mar-2017::09:29:20 ===
Error description:
   badarg

Log files (may contain more information):
   C:/Users/chengong/AppData/Roaming/RabbitMQ/log/RABBIT~1.LOG
   C:/Users/chengong/AppData/Roaming/RabbitMQ/log/RABBIT~2.LOG

Stack trace:
   [{io,format,
        [<0.54.0>,
         "\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 c:/Users/chengong/AppData/Roaming/RabbitMQ/db/RABBIT~1/nodes_running_at_shutdown \n\n****\n\n\n",
         []],
        []},
    {rabbit_upgrade,die,2,[{file,"src/rabbit_upgrade.erl"},{line,200}]},
    {rabbit_upgrade,maybe_upgrade_mnesia,0,
                    [{file,"src/rabbit_upgrade.erl"},{line,145}]},
    {rabbit,'-boot/0-fun-0-',0,[{file,"src/rabbit.erl"},{line,271}]},
    {rabbit,start_it,1,[{file,"src/rabbit.erl"},{line,403}]},
    {init,start_em,1,[{file,"init.erl"},{line,1076}]},
    {init,do_boot,3,[{file,"init.erl"},{line,784}]}]

我没有配置任何额外的默认值。 rabbitmq 3.6 服务无法运行。

我可以做些什么来解决这个问题?非常感谢您的热心帮助。

【问题讨论】:

    标签: .net windows rabbitmq


    【解决方案1】:

    我会按照错误消息的建议开始,然后删除此文件:

    c:/Users/chengong/AppData/Roaming/RabbitMQ/db/RABBIT~1/nodes_running_at_shutdown

    然后重启RMQ,看看它是否有效。

    【讨论】:

    • 感谢您的帮助。我删除了 c:/Users/chengong/AppData/Roaming/RabbitMQ/db 。问题已解决。谢谢
    猜你喜欢
    • 2013-06-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-02-15
    • 2019-02-26
    • 2017-06-14
    相关资源
    最近更新 更多