运行rabbitmq-server时出现路径错误

问题描述 投票:0回答:3
   C:\rabbitmq-server-3.6.0\scripts>rabbitmq-plugins enable rabbitmq_management
'realpath' is not recognized as an internal or external command,
operable program or batch file.
init terminating in do_boot ()
'realpath' is not recognized as an internal or external command,
operable program or batch file.
init terminating in do_boot ()
'realpath' is not recognized as an internal or external command,
operable program or batch file.
{"init terminating in do_boot",{undef,[{rabbit_plugins_main,start,[],[]},{init,start_it,1,[{file,"init.erl"},{line,1053}]},{init,start_em,1[{file,"init.erl"},{line,1034}]}]}}
init terminating in do_boot ()

C:\rabbitmq-server-3.6.0\scripts>rabbitmq-server

realpath' is not recognized as an internal or external command,
operable program or batch file.
{"init terminating in do_boot",{undef,[{rabbit_prelaunch,start,[],[]},{init,start_it,1,[{file,"init.erl"},{line,1053}]},{init,start_em,1[{file,"init.erl"},{line,1034}]}]}}
Crash dump is being written to: erl_crash.dump...done
init terminating in do_boot ()

我使用erlang版本7.0和rabbitmq 3.6.0

我设置环境变量如下

ERLANG_HOME - C:\Program Files\erl7.0
RABBITMQ_SERVER - C:\rabbitmq-server-3.6.0

请帮忙

windows erlang rabbitmq
3个回答
29
投票

对于窗户

  1. 打开命令提示符
  2. 将目录更改为
    C:\Program Files\RabbitMQ Server\rabbitmq_server- 
       3.7.12\sbin
  3. 输入命令
    rabbitmq-plugins enable rabbitmq_management

11
投票

对于 Windows 操作系统,您可能需要遵循一些其他步骤:

Windows 版 Rabbitmq 手册


0
投票

打开开始->搜索编辑环境系统变量->单击环境变量->在Systgem变量中搜索路径变量单击编辑->单击新建并浏览到rabbitmq目录C:\Program Files\RabbitMQ Server abbitmq_server-3.7.12\sbin 并添加它将起作用的路径

© www.soinside.com 2019 - 2024. All rights reserved.