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

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

上一篇:golang-test-tool-gotests


下一篇:C#异步编程二