无法在 Windows 上启用 rabbitmq-management 插件 [英] Cannot enable rabbitmq-management plugin on Windows

查看:37
本文介绍了无法在 Windows 上启用 rabbitmq-management 插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,这就是我所做的:

  1. 在我的 Windows x64 位机器上安装了 Erlang
  2. 安装RabbitMQ
  3. 启动RabbitMQ服务

在这一步我没有错误.但是,当我尝试启用 rabbitmq-management 时,我会在控制台中收到一些错误消息.我尝试启用它的方式是这样的:

C:\...\rabbitmq-server-3.5.6\sbin>rabbitmq-plugins.bat 启用 rabbitmq_management

结果:

<块引用>

将插件配置应用到 rabbit@Jacobian...失败

补充一点,我知道

编辑

看起来,RabbitMQ 变成了 RubbishMQ.问题是我现在按照非常标准和非常基本的步骤在 Ubuntu 机器上安装 RabbitMQ 并再次得到一个糟糕的错误消息列表.这些是我遵循的步骤:

apt-get install pkg-config automake autoconf libsigc++-2.0-devgit 克隆 git://github.com/alanxz/rabbitmq-c.gitcd rabbitmq-c# 启用并更新 codegen git 子模块git子模块初始化git子模块更新# 配置、编译和安装autoreconf -i &&./configure &&制作&&须藤制作安装rabbitmq-plugins 启用 rabbitmq_management

当我运行最后一个命令时,我收到了大量错误消息.其中我看到诸如error_logger ...读取./.erlang.cookie时出错:eaccess".所以,我想有一些秘密的遗漏步骤或一些巫术咒语可以使它起作用.但我不知道所有这些东西,希望听到一些建议.这就是我希望看到的 - 1)在 Windows 上逐步安装 RabbitMQ 并逐步测试,所有这些都有效 2)对于 Ubuntu 也是如此.准备好了,开始吧!

解决方案

我遇到了同样的问题,我的调查使我找到了 https://stackoverflow.com/a/34538688 帮助我解决了这个问题.按照该答案中的步骤操作后,启动服务,问题应该可以解决.

问题基本上是RabbitMQ安装程序没有正确注册服务造成的.

So, this is what I've done:

  1. Installed Erlang on my Windows x64 bit machine
  2. Installed RabbitMQ
  3. Started RabbitMQ service

At this step I have no errors. When, however, I try to enabe rabbitmq-management, I get some error messages in the console. The way I try to enable it is this one:

C:\...\rabbitmq-server-3.5.6\sbin>rabbitmq-plugins.bat enable rabbitmq_management

This results in:

Applying plugin configuration to rabbit@Jacobian... failed

To add to this, I know about this thread, but I'm not sure what this command means SET HOMEDRIVE=C:. Nevertheless, I tried it like so:

C:\...\rabbitmq-server-3.5.6\sbin>  SET HOMEDRIVE=C:
C:\...\rabbitmq-server-3.5.6\sbin>  rabbitmq-plugins.bat enable rabbitmq_management

But I still got the same error message. Thanks!

EDIT:

EDIT

It seems, like RabbitMQ became RubbishMQ. The catch is I followed very standard and very basic steps to install RabbitMQ now on Ubuntu machine and got a terrible list of error messages once again. These are the steps I followed:

apt-get install pkg-config automake autoconf libsigc++-2.0-dev 
git clone git://github.com/alanxz/rabbitmq-c.git
cd rabbitmq-c
# Enable and update the codegen git submodule
git submodule init
git submodule update
# Configure, compile and install
autoreconf -i && ./configure && make && sudo make install 
rabbitmq-plugins enable rabbitmq_management

When I run the last command I get tons of error messages. Among them I see such as "error_logger ... Error when reading ./.erlang.cookie: eaccess". So, I guess there are some secret missing steps or some voodoo spell, that can make it work. But I do not know all that stuff and hope to hear some advice. This is what I expect to see - 1) step by step installation of RabbitMQ on Windows and step by step test, that all works 2) the same for Ubuntu. Ready, Steady, Go!

解决方案

I faced the same problem and my investigations led me to https://stackoverflow.com/a/34538688 which helped me solve it. After following the steps in that answer, start the service and the problem should be solved.

Basically, the problem is caused by the RabbitMQ installer not registering the service correctly.

这篇关于无法在 Windows 上启用 rabbitmq-management 插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆