您的位置:首页 > 科技 > IT业 > 腾讯广告建站工具_重庆新闻论坛新闻评论_新媒体营销方式有几种_今日小说排行榜

腾讯广告建站工具_重庆新闻论坛新闻评论_新媒体营销方式有几种_今日小说排行榜

2024/11/18 3:39:04 来源:https://blog.csdn.net/qq_37106501/article/details/143396946  浏览:    关键词:腾讯广告建站工具_重庆新闻论坛新闻评论_新媒体营销方式有几种_今日小说排行榜
腾讯广告建站工具_重庆新闻论坛新闻评论_新媒体营销方式有几种_今日小说排行榜

问题:

解决rabbitmq-plugins enable rabbitmq_delayed_message_exchange
:plugins_not_found

我是在docker-compose环境部署的

services:rabbitmq:image: rabbitmq:4.0-managementrestart: alwayscontainer_name: rabbitmqports:- 5672:5672- 15672:15672environment:RABBITMQ_DEFAULT_USER: rabbitRABBITMQ_DEFAULT_PASS: 123456volumes:- ./rabbitmq/data:/var/lib/rabbitmq- ./rabbitmq/conf:/etc/rabbitmq- ./rabbitmq/plugins/rabbitmq_delayed_message_exchange-3.13.0.ez:/plugins/rabbitmq_delayed_message_exchange-3.13.0.eznetworks:pay_net:ipv4_address: ${PY_SUBNET_PREFIX}.15

插件地址:
https://github.com/rabbitmq/rabbitmq-delayed-message-exchange/releases

wget https://github.com/rabbitmq/rabbitmq-delayed-message-exchange/releases/download/v3.13.0/rabbitmq_delayed_message_exchange-3.13.0.ez
root@a5fd210b7eb1:/plugins# rabbitmq-plugins enable rabbitmq_delayed_message_exchange-3.13.0.ez
Enabling plugins on node rabbit@a5fd210b7eb1:
rabbitmq_delayed_message_exchange-3.13.0.ez
Error:
{:plugins_not_found, [:"rabbitmq_delayed_message_exchange-3.13.0.ez"]}

在这里插入图片描述
解决步骤:

  1. 挂载进去后,到 rabbbitmq容器的 /opt/rabbitmq/sbin 目录下去
  2. 执行./rabbitmq-plugins enable rabbitmq_delayed_message_exchange
    而不是./rabbitmq-plugins enable rabbitmq_delayed_message_exchange-3.13.0.ez
root@a5fd210b7eb1:/opt/rabbitmq/sbin# ./rabbitmq-plugins enable rabbitmq_delayed_message_exchange-3.13.0.ez
Enabling plugins on node rabbit@a5fd210b7eb1:
rabbitmq_delayed_message_exchange-3.13.0.ez
Error:
{:plugins_not_found, [:"rabbitmq_delayed_message_exchange-3.13.0.ez"]}
root@a5fd210b7eb1:/opt/rabbitmq/sbin# ./rabbitmq-plugins enable rabbitmq_delayed_message_exchange
Enabling plugins on node rabbit@a5fd210b7eb1:
rabbitmq_delayed_message_exchange
The following plugins have been configured:rabbitmq_delayed_message_exchange
Applying plugin configuration to rabbit@a5fd210b7eb1...
The following plugins have been enabled:rabbitmq_delayed_message_exchangestarted 1 plugins.
root@a5fd210b7eb1:/opt/rabbitmq/sbin# pwd
/opt/rabbitmq/sbin

management

root@a5fd210b7eb1:/opt/rabbitmq/sbin# ./rabbitmq-plugins enable rabbitmq_management
Enabling plugins on node rabbit@a5fd210b7eb1:
rabbitmq_management
The following plugins have been configured:rabbitmq_delayed_message_exchangerabbitmq_managementrabbitmq_management_agentrabbitmq_web_dispatch
Applying plugin configuration to rabbit@a5fd210b7eb1...
The following plugins have been enabled:rabbitmq_managementrabbitmq_management_agentrabbitmq_web_dispatchstarted 3 plugins.

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com