目錄
報錯1:
提示:Could not start application logger: Logger.App.start(:normal, []) returned an error: shutdown: failed to start child: Logger.ErrorHandler ** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
- 原因:erlang版本與RabbitMQ的版本不對應
- 解決:根據 RabbitMQ Erlang Version Requirements 這個網頁檢查版本
報錯2:
Please either set ERLANG_HOME to point to your Erlang installation or place
- 原因:配置erlang環境後,還需要重啓才能使配置生效
- 解決1:在cmd再設置環境,詳情看:Please either set ERLANG_HOME to point to your Erlang installation or place
- 解決2:重啓電腦
報錯3:
rabbitmq-service.bat start 發生系統錯誤 5。拒絕訪問。
- 原因:需要用管理員身份打開CMD,再執行命令
- 解決:如上。同時,爲了避免再次碰到這種麻煩,我就在電腦設置了一個右鍵直接以管理員身份進去cmd。Win10設置右鍵以管理員方式打開cmd
報錯4:
Status of node rabbit@DESKTOP-2V60QQL ...
Error: unable to perform an operation on node 'rabbit@DESKTOP-2V60QQL'. Please see diagnostics information and suggestions below.
- 原因:不詳
- 解決:先將C:\Users\username\.erlang.cookie 文件複製到 C:\Windows\System32\config\systemprofile 下,替換掉.erlang.cookie;再重啓rabbitMQ服務:net stop RabbitMQ net start RabbitMQ
暫時這麼多,還有再更新。