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

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

Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.





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




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |