【问题标题】:Unable to start plugins for RabbitMQ无法启动 RabbitMQ 的插件
【发布时间】:2020-02-19 22:48:41
【问题描述】:

我是 windows 和 rabbit mq 的新手,我无法启动 web 管理插件。我按照here 列出的步骤操作,但收到了这条消息。

PS C:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.0\sbin> .\rabbitmq-plugins.bat enable rabbitmq_management
The directory name is invalid.
The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
Unsupported node name: hostname is invalid (possibly contains unsupported characters).
If using FQDN node names, use the -l / --longnames argument.

我还有ERLANG_HOME 变量,它是在安装过程中创建的。

请指教

【问题讨论】:

  • Unsupported node name: hostname is invalid (possibly contains unsupported characters). 你没有分享你的用户名或主机名,所以我无法确认是不是这个原因。
  • 在哪里可以找到正在使用的主机名?
  • hostname 命令的输出是什么?在cmd.exe shell 中运行时,以下命令的输出是什么。如果erl.exe 不在您的PATH 中,您必须先cd 再到C:\Program Files\erl*\bin - erl.exe -A0 -noinput -boot start_clean -eval "net_kernel:start([list_to_atom(""rabbit-gethostname-"" ++ os:getpid()), shortnames]), [_, H] = string:tokens(atom_to_list(node()), ""@""), io:format(""~s~n"", [H]), init:stop()."

标签: windows rabbitmq erlang


【解决方案1】:

在这种情况下,这个问题是HOMEPATH。基于this 的帖子,我使用HOMEDRIVE=C: 设置它并且它工作。

【讨论】:

    猜你喜欢
    • 2016-06-04
    • 1970-01-01
    • 1970-01-01
    • 2013-11-15
    • 2012-02-17
    • 2013-01-27
    • 2019-01-18
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多