1. 程式人生 > >解決RabbitMQ service is already present - only up...

解決RabbitMQ service is already present - only up...

rec mach 問題 upd script ould pda bsp rac

C:\Users\Administrator>rabbitmq-service install

RabbitMQ service is already present - only updating service parameters
C:\Program Files\erl5.10.3\erts-5.10.3\bin\erlsrv: Warning, could not set correct interactive mode.
Error: 句柄無效。
C:\Program Files\erl5.10.3\erts-5.10.3\bin\erlsrv: Warning, could not set correct service description (comment)Error: 句柄無效。



C:\Users\Administrator>rabbitmq-service stop
C:\Program Files\erl5.10.3\erts-5.10.3\bin\erlsrv: Failed to stop service RabbitMQ.
Error: 句柄無效。

當出現如上問題時,解決辦法是卸載erlang並且去註冊表裏HKEY_LOCAL_MACHINE/SOFTWARE/Ericsson/Erlang/ErlSrv下的項清掉,然後重新已管理員身份安裝erlang

重裝完成後若RabbitMQ service未安裝則通過:rabbitmq-service install 安裝service;rabbitmq-service start 啟動service

解決RabbitMQ service is already present - only up...