Jay Taylor's notes

back to listing index

ubuntu - How to install rabbitmq management plugin (rabbitmq-plugins) - Stack Overflow

[web search]
Original source (stackoverflow.com)
Tags: ubuntu rabbitmq rabbitmq-plugin stackoverflow.com
Clipped on: 2012-10-29

Brief: Is there a way to install rabbitmq-plugins via a ubuntu package?

Details:

I have rabbitmq running ok in my ubuntu system, and now I'm trying to monitor what's going on via the management plugin. I'm following rabbitmq.com/management.html instructions, but can't execute

rabbitmq-plugins enable rabbitmq_management

because my system does not have rabbitmq-plugins installed.

It's Ubuntu 1110, and came with rabbitmq installed as a package (aptitude install rabbitmq-server librabbitmq-dev). The config and the server are running fine (the installed version is 2.5.0).

Thought that the plugin would get installed by installing "sudo aptitude install rabbitmq-plugins-common", but doing that does not install rabbitmq-plugins.

Is there a package that will install the plugin? I'd like to avoid if possible having to purge the rabbitmq server that is running ok, and then reinstall it via a download + build from source, all just to get the plugin.

Thanks.

Image (Asset 1/4) alt= 9,5382835
asked Dec 18 '11 at 0:29
Image (Asset 2/4) alt= 486516

90% accept rate
  upvote
 flag
  upvote
 flag
Beau, thanks for the pointer. I re-posted the question in askubuntu, but will leave it here as well a little longer since it seems to draw a much larger number of rabbitmq community members than ubuntu, and someone may have had the same issue. – jd. Dec 18 '11 at 0:49
add comment

2 Answers

up vote 10 down vote accepted

The rabbitmq-plugins script (and the whole concept of bundling plugins with the server release) was only introduced in RabbitMQ 2.7.0. If you want to keep using 2.5.0 then you should download the necessary plugin binaries from http://www.rabbitmq.com/releases/plugins/, drop them in /usr/lib/rabbitmq/lib/rabbitmq_server-2.5.0/plugins/ and restart.

(The necessary binaries for management are amqp_client, mochiweb, webmachine, rabbitmq_mochiweb, rabbitmq_management_agent and rabbitmq_management.)

If that sounds like a pain (well, this is why we changed it in 2.7.0!), you should consider upgrading to 2.7.1. You don't need to build from source - we make .deb packages available and have an apt repository - see http://www.rabbitmq.com/install-debian.html

answered Jan 4 at 11:41
Image (Asset 3/4) alt= 34123
  upvote
 flag
I have ubuntu 12.04 and rabbitmq 2.7.1 but no rabbitmq-plugins?! – Stefano May 21 at 23:12
4 upvote
 flag
@Stefano have a look in the following location /usr/lib/rabbitmq/lib/rabbitmq_server-2.7.1/sbin/ which is where I found the rabbitmq-plugins file – AidenMontgomery May 30 at 21:53
  upvote
 flag
@AidenMontgomery thanks indeed!! but why isn't that on the /usr/bin path by default?! – Stefano May 30 at 22:29
  upvote
 flag
I tried to copy management plugin as per the above...but rabbitmq refuses to start. The other plugins seem to work OK. Strange. – gyre Aug 27 at 21:26
add comment

rabbitmq-plugins enable rabbitmq_management, this command is for recent versions of rabbitmq, rabbitmq_management is included in rabbitmq 2.8.5, it actually activates 6 plugins, which in older versions are downloads to RABBITMQ_PLUGINS_DIR, which set in script rabbitmq-server. so it is easier to upgrade your rabbitmq.

here are 6 plugins : Activating RabbitMQ plugins ... 6 plugins activated: * amqp_client-0.0.0 * mochiweb-2.3.1-rmq0.0.0-gitd541e9a * rabbitmq_management-0.0.0 * rabbitmq_management_agent-0.0.0 * rabbitmq_mochiweb-0.0.0

* webmachine-1.9.1-rmq0.0.0-git52e62bc
answered Oct 3 at 14:53
Image (Asset 4/4) alt= 474
add comment

Your Answer

 
community wiki

Not the answer you're looking for? Browse other questions tagged or ask your own question.