rabbitmq启动异常table_attributes_mismatch
rabbitmq启动异常table_attributes_mismatch
-
[root@localhost rabbitmq]# rabbitmq-server start
-
-
RabbitMQ 3.6.6. Copyright (C) 2007-2016 Pivotal Software, Inc.
-
## ## Licensed under the MPL. See http://www.rabbitmq.com/
-
## ##
-
########## Logs: /var/log/rabbitmq/rabbit@localhost.log
-
###### ## /var/log/rabbitmq/rabbit@localhost-sasl.log
-
##########
-
Starting broker...
-
-
-
BOOT FAILED
-
===========
-
-
Error description:
-
{could_not_start,rabbit,
-
{{schema_integrity_check_failed,
-
[{table_attributes_mismatch,rabbit_queue,
-
[name,durable,auto_delete,exclusive_owner,arguments,pid,
-
slave_pids,sync_slave_pids,recoverable_slaves,policy,
-
gm_pids,decorators,state,policy_version],
-
[name,durable,auto_delete,exclusive_owner,arguments,pid,
-
slave_pids,sync_slave_pids,mirror_nodes,policy]}]},
-
{rabbit,start,[normal,[]]}}}
-
-
Log files (may contain more information):
-
/var/log/rabbitmq/rabbit@localhost.log
-
/var/log/rabbitmq/rabbit@localhost-sasl.log
-
-
{"init terminating in do_boot",{could_not_start,rabbit,{{schema_integrity_check_faileguments,pid,slave_pids,sync_slave_pids,recoverable_slaves,policy,gm_pids,decorators,s,sync_slave_pids,mirror_nodes,policy]}]},{rabbit,start,[normal,[]]}}}}
-
/usr/lib/rabbitmq/bin/rabbitmq-server: line 246: 1042 User defined signal 2 start_
一直以蓝色部分查找原因,困扰很久,不得解决之法。
之后以红字字体查找,在国外某技术网站找到解决方案。原文链接是:http://rabbitmq.1065348.n5.nabble.com/installation-problem-service-stops-automatically-web-management-console-missing-td29229.html simon给出的答案在5楼,提出问题这哥们也是折腾疯了。
删除/var/lib/rabbitmq/mnesia文件后,重新启动。
启动成功,但程序不是以deamon形式运行。只要执行-detached可执行成功。
-
[root
-
Warning: PID file not written; -detached was passed.
时来天地皆同力,运去英雄不自由
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!