windows 安装 rabbitmq ERLANG_HOME not set correctly
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 theRabbitMQ 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
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。