作者:落叶野 | 来源:互联网 | 2023-09-25 12:47
C:\Users\Administratorrabbitmq-serviceinstallRabbitMQserviceisalreadypresent-onlyupdating
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...