So, this is what I've done:
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.
Somehow, this solved my issue from Command Prompt run as administrator.
C:\...\rabbitmq-server-3.5.6\sbin> SET HOMEDRIVE=C:
C:\...\rabbitmq-server-3.5.6\sbin> rabbitmq-service remove
C:\...\rabbitmq-server-3.5.6\sbin> rabbitmq-service install
C:\...\rabbitmq-server-3.5.6\sbin> rabbitmq-plugins.bat enable rabbitmq_management
Thanks @jacboian
Check if this file C:\Windows\.erlang.cookie
and this file C:\Users\youruser\.erlang.cookie
are equals.
If not, copy C:\Windows\.erlang.cookie
to C:\Users\youruser\.erlang.cookie
youruser
is the windows user you are using to enable the management console. for example in my case: C:\Users\gabriele\.erlang.cookie
I faced the same problem, but none of presented solution helped me. Maybe someone will find my solution helpfull.
After running
rabbitmq-service.bat install
command I found that RabbitMQ service in windows service manager was added but didn't run. I turned it on manually and then
rabbitmq-plugins.bat enable rabbitmq_management
command runs perfectly.
After that http://localhost:15672 run successfully
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With