我安装了Erl7.3和rabbitmq-server 3.6.2。我使用的是Win7 32bit。安装完毕后我运行了“rabbitmq-server”#39;命令它给出:
ERROR: node with name "rabbit" already running on "admin-PC"
当我跑步时,停止使用RabbitMQ&&净启动RabbitMQ'它停止了RabbitMQ服务并成功重启。
之后当我运行" rabbitmq-plugins启用rabbitmq_management"时,它会出现以下错误,并且http://localhost:15672没有显示任何内容:
Plugin configuration unchanged.
Applying plugin configuration to rabbit@admin-PC... failed.
Error: {undef,[{crypto,module_info,[attributes],[]},
{rabbit_misc,module_attributes,1,
[{file,"src/rabbit_misc.erl"},{line,817}]},
{rabbit_misc,'-all_module_attributes/1-fun-0-',3,
[{file,"src/rabbit_misc.erl"},{line,837}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1262}]},
{rabbit_boot_steps,find_steps,1,
[{file,"src/rabbit_boot_steps.erl"},
{line,40}]},
{rabbit_boot_steps,run_boot_steps,1,
[{file,"src/rabbit_boot_steps.erl"},
{line,26}]},
{rabbit,start_apps,1,[{file,"src/rabbit.erl"},{line,451}]},
{rabbit_plugins,ensure,1,
[{file,"src/rabbit_plugins.erl"},{line,52}]}]}
为了您的信息,我将环境变量设置为:
'Variable name: ERLANG_HOME', 'Variable value: C:\Program Files\erl7.3';
'Variable name: RABBITMQ_SERVER', 'Variable value: C:\Program Files\RabbitMQ Server\rabbitmq_server-3.6.2'
和系统路径"%ERLANG_HOME%;;%RABBITMQ_SERVER%\ sbin"
如何解决此错误?
答案 0 :(得分:0)
rabbitmq管理插件需要crypto
pakage才能工作。
请参阅:
Error: {undef,[{crypto,module_info,[attributes],[]},
{rabbit_misc,module_attributes,1,
尝试使用Erlang 18.3
版本。
修改强>
安装后,当我运行'rabbitmq-server'命令时,它会给出:
错误:名称为“rabbit”的节点已在“admin-PC”上运行
这是正常的,因为rabbitmq-server
启动了服务器,但你已经安装了rabbitmq并作为windows服务运行。
你应该使用64位版本