[rabbitmq-discuss] The RabbitMQ can't restart when upgraded version 3.3.0

mr.wonglei at gmail.com mr.wonglei at gmail.com
Mon Jun 16 16:36:30 BST 2014


Hi,

I upgraded RabbitMQ from version 3.2.4 to 3.3.0

And DID NOT start after “1process.txt” has been.

Can anybody help me to resolve this issue? *PLEASE*.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140616/ed0b3e46/attachment.html>
-------------- next part --------------
do this by root

./rabbitmqctl stop_app
./rabbitmqctl forget_cluster_node rabbit at rac1
./rabbitmqctl reset

wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.3.0/rabbitmq-server-3.3.0.tar.gz

tar -zxvf rabbitmq-server-3.3.0.tar.gz

cd rabbitmq-server-3.3.0

make

TARGET_DIR=/usr/local/rabbitmq SBIN_DIR=/usr/local/rabbitmq/sbin  MAN_DIR=/usr/local/rabbitmq/man  DOC_DIR=/usr/local/rabbitmq/doc   DOC_INSTALL_DIR=/usr/local/rabbitmq/docinstall  make install



http://ip:15672  This website management page still displays version  3.2.4, 

ps -ef|grep rabbit    AND  kill -9 ***  

THEN ./rabbitmq-server start  get error
-------------- next part --------------
[root at rac1 sbin]# ./rabbitmq-server start

              RabbitMQ 3.3.0. Copyright (C) 2007-2013 GoPivotal, Inc.
  ##  ##      Licensed under the MPL.  See http://www.rabbitmq.com/
  ##  ##
  ##########  Logs: /var/log/rabbitmq/rabbit at rac1.log
  ######  ##        /var/log/rabbitmq/rabbit at rac1-sasl.log
  ##########
              Starting broker...

BOOT FAILED
===========

Error description:
   {could_not_start,rabbitmq_management,
    {{shutdown,
      {failed_to_start_child,rabbit_mgmt_sup,
       {'EXIT',
        {{shutdown,
          [{{'EXIT',
             {undef,
              [{rabbit,force_event_refresh,[],[]},
               {rabbit_mgmt_db,start_link,0,
                [{file,"rabbitmq-management/src/rabbit_mgmt_db.erl"},
                 {line,184}]},
               {supervisor2,do_start_child,2,
                [{file,"src/supervisor2.erl"},{line,420}]},
               {supervisor2,handle_start_child,2,
                [{file,"src/supervisor2.erl"},{line,798}]},
               {supervisor2,handle_call,3,
                [{file,"src/supervisor2.erl"},{line,501}]},
               {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,585}]},
               {proc_lib,init_p_do_apply,3,
                [{file,"proc_lib.erl"},{line,239}]}]}},
            {child,undefined,rabbit_mgmt_db,
             {rabbit_mgmt_db,start_link,[]},
             permanent,4294967295,worker,
             [rabbit_mgmt_db]}}]},
         {gen_server2,call,[<0.309.0>,{init,<0.307.0>},infinity]}}}}},
     {rabbit_mgmt_app,start,[normal,[]]}}}

Log files (may contain more information):
   /var/log/rabbitmq/rabbit at rac1.log
   /var/log/rabbitmq/rabbit at rac1-sasl.log

{"init terminating in do_boot",{rabbit,failure_during_boot,{could_not_start,rabbitmq_management,{{shutdown,{failed_to_start_child,rabbit_mgmt_sup,{'EXIT',{{shutdown,[{{'EXIT',{undef,[{rabbit,force_event_refresh,[],[]},{rabbit_mgmt_db,start_link,0,[{file,"rabbitmq-management/src/rabbit_mgmt_db.erl"},{line,184}]},{supervisor2,do_start_child,2,[{file,"src/supervisor2.erl"},{line,420}]},{supervisor2,handle_start_child,2,[{file,"src/supervisor2.erl"},{line,798}]},{supervisor2,handle_call,3,[{file,"src/supervisor2.erl"},{line,501}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,585}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}},{child,undefined,rabbit_mgmt_db,{rabbit_mgmt_db,start_link,[]},permanent,4294967295,worker,[rabbit_mgmt_db]}}]},{gen_server2,call,[<0.309.0>,{init,<0.307.0>},infinity]}}}}},{rabbit_mgmt_app,start,[normal,[]]}}}}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
[root at rac1 sbin]# 
-------------- next part --------------
[root at rac1 sbin]# ./rabbitmqctl status
Status of node rabbit at rac1 ...
Error: unable to connect to node rabbit at rac1: nodedown

DIAGNOSTICS
===========

attempted to contact: [rabbit at rac1]

rabbit at rac1:
  * rabbit seems not to be running at all
  * no other nodes on rac1

current node details:
- node name: rabbitmqctl11562 at rac1
- home dir: /root
- cookie hash: D2upmGOjCEUC+ArxVf/C1w==

[root at rac1 sbin]# ./rabbitmqctl cluster_status
Cluster status of node rabbit at rac1 ...
Error: unable to connect to node rabbit at rac1: nodedown

DIAGNOSTICS
===========

attempted to contact: [rabbit at rac1]

rabbit at rac1:
  * rabbit seems not to be running at all
  * no other nodes on rac1

current node details:
- node name: rabbitmqctl11625 at rac1
- home dir: /root
- cookie hash: D2upmGOjCEUC+ArxVf/C1w==

[root at rac1 sbin]# 
-------------- next part --------------
[root at rac1 sbin]# cat /etc/issue
Red Hat Enterprise Linux Server release 5.7 (Tikanga)
Kernel \r on an \m

[root at rac1 sbin]# 


[root at rac1 sbin]# hostname
rac1
[root at rac1 sbin]# 


[root at rac1 sbin]#  cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
#127.0.0.1 localhost.localdomain rac1 
172.17.50.13 rac1
172.17.50.31 HTTEST1
172.17.50.33 rac2
172.17.50.13 localhost localhost.localdomain localhost
[root at rac1 sbin]# 


----------- cookie ------------
[root at rac1 sbin]# cat /root/.erlang.cookie
QVAZLGVDXUACPZHPOFUA
[root at rac1 sbin]# 


[root at rac2 /]# cat /root/.erlang.cookie
QVAZLGVDXUACPZHPOFUA
[root at rac2 /]# 


[root at HTTEST1 /]# cat /root/.erlang.cookie
QVAZLGVDXUACPZHPOFUA
[root at HTTEST1 /]# 



[root at rac1 sbin]# ./rabbitmqctl -n rabbit at rac1 cluster_status
Cluster status of node rabbit at rac1 ...
Error: unable to connect to node rabbit at rac1: nodedown

DIAGNOSTICS
===========

attempted to contact: [rabbit at rac1]

rabbit at rac1:
  * rabbit seems not to be running at all
  * no other nodes on rac1

current node details:
- node name: rabbitmqctl12464 at rac1
- home dir: /root
- cookie hash: D2upmGOjCEUC+ArxVf/C1w==

[root at rac1 sbin]# 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rabbit at rac1.log
Type: application/octet-stream
Size: 9466 bytes
Desc: not available
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140616/ed0b3e46/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rabbit at rac1-sasl.log
Type: application/octet-stream
Size: 6506 bytes
Desc: not available
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140616/ed0b3e46/attachment-0001.obj>


More information about the rabbitmq-discuss mailing list