Created
December 3, 2012 05:11
-
-
Save cluther/4192854 to your computer and use it in GitHub Desktop.
Zenoss: Reset RabbitMQ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Run the following commands as root. | |
| service rabbitmq-server stop | |
| rm -Rf /var/lib/rabbitmq | |
| mkdir /var/lib/rabbitmq | |
| chown rabbitmq:rabbitmq /var/lib/rabbitmq | |
| service rabbitmq-server start | |
| rabbitmqctl add_vhost /zenoss | |
| rabbitmqctl add_user zenoss zenoss | |
| rabbitmqctl set_permissions -p /zenoss zenoss '.*' '.*' '.*' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the script I use and it works for me.