Bootstrap FreeKB - RabbitMQ - Resolve "Only root or rabbitmq can run rabbitmq-plugins"
RabbitMQ - Resolve "Only root or rabbitmq can run rabbitmq-plugins"

Updated:   |  RabbitMQ articles

Let's say you have logged onto RabbitMQ as the rabbitmq user.

~]# whoami
rabbitmq

 

But when you issue the rabbitmq-plugins command, "Only root or rabbitmq can run rabbitmq-plugins" is being returned.

]# rabbitmq-plugins list
Only root or rabbitmq can run rabbitmq-plugins

 

This is a bug with the /usr/sbin/rabbitm-plugins file when running RabbitMQ on a container platform such as Docker or Red Hat OpenShift. In this scenario, using the full absolute path to the rabbitmq-plugins command should allow you to use the rabbitmq-plugins command.

/usr/lib/rabbitmq/bin/rabbitmq-plugins list

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 05806b in the box below so that we can be sure you are a human.