今天服务器登录不了,到腾讯云管理平台强制重启后,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
- 热门文章
- win7中将文件拷贝到虚拟机linux下
- phpexcel设置行高及列宽,背景颜色,
- rabbitmq无法启动
- intellij idea不显示git push按钮
- php7中使用mongodb的aggregate进行
- laravel页面静态化的方法
- centos7.4 64位下swoole安装及配置
- navicate连接mycat报1184错误
- curl设置超时不起作用(CURLOPT_TIM
- 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
- 我的项目
- 【github】www.github.com/hurong241
- 【码云】gitee.com/hu_rong/projects
- 【docker hub】hub.docker.com/repositories/hurong241
- 【packagist】packagist.org/users/hurong241/packages
- 站点信息
- 建站时间:2011年
- 文章数:623篇
- 浏览数:1300144