C:UsersAdministrator>rabbitmq-service install
RabbitMQ service is already present - only updating service parameters
C:Program Fileserl5.10.3erts-5.10.3inerlsrv: Warning, could not set correct interactive mode.
Error: 句柄无效。
C:Program Fileserl5.10.3erts-5.10.3inerlsrv: Warning, could not set correct service description (comment)Error: 句柄无效。
C:UsersAdministrator>rabbitmq-service stop
C:Program Fileserl5.10.3erts-5.10.3inerlsrv: Failed to stop service RabbitMQ.
Error: 句柄无效。
当出现如上问题时,解决办法是卸载erlang并且去注册表里HKLM/SOFTWARE/Ericsson/Erlang/ErlSrv下的项清掉,然后重新已管理员身份安装erlang
重装完成后若RabbitMQ service未安装则通过:rabbitmq-service install 安装service;rabbitmq-service start 启动service