Windows无法在本地计算机上启动RabbitMQ服务 [英] Windows could not start the RabbitMQ Service on local Computer

查看:1422
本文介绍了Windows无法在本地计算机上启动RabbitMQ服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在本地Windows笔记本电脑上启动RabbitMQ服务,但始终收到此错误:





我首先从这里下载erlang(OTP 19.0 Windows 64位二进制文​​件):

解决方案

我认为我有同样的问题,只是错误


文件名,目录名或卷标语法不正确。


...也许安装erlang时出于某种原因将 HOMEDRIVE 设置为 u:或其他一些愚蠢的方法。



从命令行运行:

 设置HOMEDRIVE = C:

然后尝试再次运行您的Rabbitmq服务。您可能必须停止,删除,安装,重新启动

  rabbitmq-service stop 
rabbitmq-service删除
rabbitmq-service安装
Rabbitmq-service开始

,并确保已将 .erlang.cookie c:\Windows 复制到用户文件夹的根目录( C:\用户\ {user} \


I am trying to start RabbitMQ service on my local Windows laptop but I keep getting this error:

I first downloaded erlang (OTP 19.0 Windows 64-bit Binary File) from here: http://www.erlang.org/downloads. Then I downloaded RabbitMQ from here: https://www.rabbitmq.com/install-windows.html

Erlang seems to have installed correctly - I don't see any errors in the logs. RabbitMQ shows this message in the installation logs:

Installing RabbitMQ service...
The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
C:\Program Files\erl8.0\erts-8.0\bin\erlsrv: Service RabbitMQ added to system.
Error spawning C:\Program Files\erl8.0\erts-8.0\bin\epmd -daemon (error 0)
Starting RabbitMQ service...
The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
C:\Program Files\erl8.0\erts-8.0\bin\erlsrv: Failed to start service RabbitMQ.
Error: The process terminated unexpectedly.

I uninstalled both, restarted my laptop and reinstalled but still doesn't work.

I also added Firewall Rules but still no luck. The 2nd firewall rule is for allowing connection for these ports: 4369, 25672, 5672, 5671, 15672, 61613, 61614, 1883, 8883

解决方案

I think I had the same problem which lies in the error

The filename, directory name, or volume label syntax is incorrect.

... and that maybe when erlang was installed it for some reason is sets the HOMEDRIVE to u: or something silly.

From the command line run:

SET HOMEDRIVE=C:

Then try to run your rabbitmq-service again. You may have to stop, remove, install, start it again.

rabbitmq-service stop
rabbitmq-service remove
rabbitmq-service install
rabbitmq-service start

and please make sure that you have copied the .erlang.cookie from c:\Windows to the root of your user folder ( C:\Users\{user}\ )

这篇关于Windows无法在本地计算机上启动RabbitMQ服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆