189 8069 5689

windows安装rabbitmqERLANG_HOMEnotsetcorrectly

windows 64位 安装 rabbitmq 出错

伊川ssl适用于网站、小程序/APP、API接口等需要进行数据传输应用场景,ssl证书未来市场广阔!成为成都创新互联的ssl证书销售渠道,可以享受市场价格4-6折优惠!如果有意向欢迎电话联系或者加微信:028-86922220(备注:SSL证书合作)期待与您的合作!

下载地址
https://www.rabbitmq.com/download.html

我下载的是3.7.15

先安装 Erlang 再安装 rabbitmq

启用管理界面
rabbitmq-plugins enable rabbitmq_management 出错

配置时出错 :

******************************
ERLANG_HOME not set correctly.
******************************

Please either set ERLANG_HOME to point to your Erlang installation or place the
RabbitMQ server distribution in the Erlang lib folder.

环境变量也是配置对的 但是在 rabbitmq_server.bat 一直没读取到

解决办法:

编辑rabbitmq_server.bat文件,看看是否找到了erl.exe ,但路径不正确:
31行:

if not exist "!ERLANG_HOME!\bin\erl.exe" (
        echo.
        echo ******************************
        echo ERLANG_HOME not set correctly.
        echo ******************************
        echo.
        echo Please either set ERLANG_HOME to point to your Erlang installation or place the
        echo RabbitMQ server distribution in the Erlang lib folder.
        echo.
        exit /B 1
)

48行:

"!ERLANG_HOME!\bin\erl.exe" +B ^

直接改成了绝对路径 :

"D:\Program Files\erl9.3\bin\erl.exe" 

重启 访问 http://localhost:15672 默认账号和密码都是 guest


分享标题:windows安装rabbitmqERLANG_HOMEnotsetcorrectly
标题网址:http://cdxtjz.cn/article/pogogi.html

其他资讯