2017-03-08 349 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。問題已解決。謝謝 –