zoukankan      html  css  js  c++  java
  • 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@localhost rabbitmq]# rabbitmq-server -detached
    Warning: PID file not written; -detached was passed.
    

    成长的乐趣,在于分享!
    大龄程序员,一路走来,感慨颇多。闲暇时写写字,希望能给同行人一点帮助。
    本文版权归作者growithus和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
  • 相关阅读:
    C语言I博客作业04
    C语言I博客作业03
    C语言1博客作业02
    作业1
    C语言||作业01
    C语言寒假大作战04
    C语言寒假大作战03
    C语言寒假大作战02
    C语言寒假大作战01
    笔记本
  • 原文地址:https://www.cnblogs.com/growithus/p/11012232.html
Copyright © 2011-2022 走看看