RabbitMQ virtual host error when starting service

前端 未结 3 1009
暗喜
暗喜 2021-01-18 03:04

I\'ve had a RabbitMQ server running for months. This morning I was unable to connect to it, my applications was timing out and the Management client was unresponsive. Reboot

3条回答
  •  有刺的猬
    2021-01-18 03:34

    For me, I was trying to install management plugin (rabbitmqadmin) and it failed in rabbitmq-delayed-message-exchange. So I downloaded rabbitmq-delayed-message-exchange from JFrog Bintray and updated my plugins folder, stopped and started rabbitmq service. This action, courrupted the database.

    To fix it,

    1. Stop Rabbitmq service

    2. I went to %APPDATA%\RabbitMQ\db and cleared the data in transient msg_stores & queues folders. e.g. C:\Users\bharath\AppData\Roaming\RabbitMQ\db\rabbit@js-mnesia\msg_stores\vhosts\6ZOILVXV632BBEWZY4TBABTPP\msg_store_transient

    3. Removed the rabbitmq-delayed-message-exchange from rabbit@js-plugins-expand folder

    4. Removed the data in transient msg_store & queues from RABBIT~1-upgrade-backup folder

    5. Went one folder back and removed the plugin name rabbitmq-delayed-message-exchange, from enabled_plugins file

    6. Start the rabbitmq service

    It worked!!!

    Note: Only try this if data is not important, as it will get cleared or you can restore it from backup.

提交回复
热议问题