温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

windows 安装 rabbitmq ERLANG_HOME not set correctly

发布时间:2020-06-19 19:16:03 来源:网络 阅读:5639 作者:北极冷冷冷 栏目:编程语言

windows 64位 安装 rabbitmq 出错

下载地址
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

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI