rabbitmq无法启动
首页->学习资料->微服务治理->rabbitmq 关键词: 发布时间:2020-08-17 03:46:09 浏览次数:8241

今天服务器登录不了,到腾讯云管理平台强制重启后,rabbitmq启动不了了

报错如下:

[root@VM_0_2_centos ~]# rabbitmq-plugins enable rabbitmq_management

Enabling plugins on node rabbit@VM_0_2_centos:

rabbitmq_management

The following plugins have been configured:

  rabbitmq_management

  rabbitmq_management_agent

  rabbitmq_web_dispatch

Applying plugin configuration to rabbit@VM_0_2_centos...

11:26:22.987 [error] Discarding message {'$gen_cast',{force_event_refresh,#Ref<0.805725985.3791126529.13349>}} from <0.440.0> to <0.446.0> in an old incarnation (1597634731) of this node (1597634770)

11:26:22.990 [error] Discarding message {'$gen_cast',{force_event_refresh,#Ref<0.805725985.3791126529.13349>}} from <0.440.0> to <0.449.0> in an old incarnation (1597634731) of this node (1597634770)

11:26:22.991 [error] Discarding message {'$gen_cast',{force_event_refresh,#Ref<0.805725985.3791126529.13349>}} from <0.440.0> to <0.452.0> in an old incarnation (1597634731) of this node (1597634770)

11:26:22.991 [error] Discarding message {'$gen_cast',{force_event_refresh,#Ref<0.805725985.3791126529.13349>}} from <0.440.0> to <0.455.0> in an old incarnation (1597634731) of this node (1597634770)

Plugin configuration unchanged.


原因可能是磁盘满了(检查发现并没有满),或者是强制重启后,恢复队列数据损坏导致的,找到相关目录删除后重启即可:

根据服务器环境不同,以下路径可能不同,删除以下路径中queues下的文件

/var/lib/rabbitmq/mnesia/rabbit@VM_0_2_centos/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/queues

然后重启:

service rabbitmq-server start

赞:(19)
踩:(14)
相关文章
rabbitmq交换机类型图解(exchangeT
rabbitmq基础教程
热门文章
win7中将文件拷贝到虚拟机linux下
phpexcel设置行高及列宽,背景颜色,
rabbitmq无法启动
intellij idea不显示git push按钮
php7中使用mongodb的aggregate进行
centos7.4 64位下swoole安装及配置
laravel页面静态化的方法
navicate连接mycat报1184错误
单点登录sso原理及php实现方式及de
devops-jenkins容器为pending状态
好评文章
phpexcel设置行高及列宽,背景颜色,
php7中使用mongodb的aggregate进行
intellij idea打开文件所在文件夹
windows下使用MongoDB Compass Com
win7中将文件拷贝到虚拟机linux下
laravel 中悲观锁 & 乐观锁的使用
单点登录sso原理及php实现方式及de
navicate连接mycat报1184错误
rabbitmq无法启动
laravel整合dingo/api方法步骤:jwt
标签
rabbitmq mysql备份 elasticsearch golang swoole
我的项目
【github】www.github.com/hurong241
【码云】gitee.com/hu_rong/projects
【docker hub】hub.docker.com/repositories/hurong241
【packagist】packagist.org/users/hurong241/packages
站点信息
建站时间:2011年
文章数:607篇
浏览数:941420
粤ICP备18028092号-1  微信:hurong241