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

egdjgwm8  于 2022-11-08  发布在  RabbitMQ
关注(0)|答案(2)|浏览(242)
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

请帮帮忙

webghufk

webghufk1#

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

omvjsjqw

omvjsjqw2#

对于Windows操作系统,您可能还需要执行一些其他步骤:
Rabbitmq manual for Windows

相关问题