2017-03-08 344 views
1

我几天前在Windows上安装rabbitmq 3.2。今天,我卸载rabbitmq 3.2,并安装rabbitmq 3.6。在安装之后,事情似乎没有问题,直到我启动了RabbitMQ Windows服务,几秒钟后服务自动停止。检查日志,我看到以下错误报告:rabbitmq服务器启动错误

=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服务不会运行。

我能做些什么来解决这个问题?非常感谢你的帮助。之后

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

重启RMQ,看看它的工作原理:

回答

1

我会做错误信息提示什么时开始,并删除该文件。

+1

谢谢你的帮助。我删除了c:/ Users/chengong/AppData/Roaming/RabbitMQ/db。问题已解决。谢谢 –