rabbitmq启动异常table_attributes_mismatch

rabbitmq启动异常table_attributes_mismatch

  1.  
    [root@localhost rabbitmq] # rabbitmq-server start
  2.  
     
  3.  
    RabbitMQ 3.6.6. Copyright (C) 2007-2016 Pivotal Software, Inc.
  4.  
    ## ## Licensed under the MPL. See http://www.rabbitmq.com/
  5.  
    ## ##
  6.  
    ########## Logs: /var/log/rabbitmq/rabbit@localhost.log
  7.  
    ###### ## /var/log/rabbitmq/rabbit@localhost-sasl.log
  8.  
    ##########
  9.  
    Starting broker...
  10.  
     
  11.  
     
  12.  
    BOOT FAILED
  13.  
    ===========
  14.  
     
  15.  
    Error description:
  16.  
    {could_not_start,rabbit,
  17.  
    {{schema_integrity_check_failed,
  18.  
    [{table_attributes_mismatch,rabbit_queue,
  19.  
    [name,durable,auto_delete,exclusive_owner,arguments,pid,
  20.  
    slave_pids,sync_slave_pids,recoverable_slaves,policy,
  21.  
    gm_pids,decorators,state,policy_version],
  22.  
    [name,durable,auto_delete,exclusive_owner,arguments,pid,
  23.  
    slave_pids,sync_slave_pids,mirror_nodes,policy]}]},
  24.  
    {rabbit,start,[normal,[]]}}}
  25.  
     
  26.  
    Log files (may contain more information):
  27.  
    /var/log/rabbitmq/rabbit@localhost.log
  28.  
    /var/log/rabbitmq/rabbit@localhost-sasl.log
  29.  
     
  30.  
    { "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,[]]}}}}
  31.  
    /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可执行成功。

 

  1.  
    [root @localhost rabbitmq]# rabbitmq-server -detached
  2.  
    Warning: PID file not written; -detached was passed.

转载于:https://www.cnblogs.com/gaoyuechen/p/10368188.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值