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

Simon MacMullen simon at rabbitmq.com
Tue Jun 17 09:35:27 BST 2014


Please keep rabbitmq-discuss on CC.

So it sounds like you have two RabbitMQ installations on top of each 
other. Probably the easiest way forward is to remove /usr/local/rabbitmq 
and re-run "make install".

In general though we recommend use of OS-specific packages or the binary 
tarball, "make install" requires more fiddling to use correctly.

Cheers, Simon

On 16/06/2014 20:25, 王磊 wrote:
> *Thanks  for your reply. Just now re-run the 'make' ,'make install' and
> got the same error.*
> *What should I do?
> *
>
>         [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 ()
>
>
>
> *plugins info *
>
>     [root at rac1 sbin]# ./rabbitmq-plugins list
>     [e] amqp_client                       3.2.4
>     [e] amqp_client                       3.3.0
>     [ ] cowboy                            0.5.0-rmq3.2.4-git4b93c2d
>     [ ] cowboy                            0.5.0-rmq3.3.0-git4b93c2d
>     [ ] eldap                             3.2.4-gite309de4
>     [ ] eldap                             3.3.0-gite309de4
>     [e] mochiweb                          2.7.0-rmq3.2.4-git680dba8
>     [e] mochiweb                          2.7.0-rmq3.3.0-git680dba8
>     [ ] rabbitmq_amqp1_0                  3.2.4
>     [ ] rabbitmq_amqp1_0                  3.3.0
>     [ ] rabbitmq_auth_backend_ldap        3.2.4
>     [ ] rabbitmq_auth_backend_ldap        3.3.0
>     [ ] rabbitmq_auth_mechanism_ssl       3.2.4
>     [ ] rabbitmq_auth_mechanism_ssl       3.3.0
>     [ ] rabbitmq_consistent_hash_exchange 3.2.4
>     [ ] rabbitmq_consistent_hash_exchange 3.3.0
>     [ ] rabbitmq_federation               3.2.4
>     [ ] rabbitmq_federation               3.3.0
>     [ ] rabbitmq_federation_management    3.2.4
>     [ ] rabbitmq_federation_management    3.3.0
>     [ ] rabbitmq_jsonrpc                  3.2.4
>     [ ] rabbitmq_jsonrpc_channel          3.2.4
>     [ ] rabbitmq_jsonrpc_channel_examples 3.2.4
>     [E] rabbitmq_management               3.2.4
>     [E] rabbitmq_management               3.3.0
>     [e] rabbitmq_management_agent         3.2.4
>     [e] rabbitmq_management_agent         3.3.0
>     [ ] rabbitmq_management_visualiser    3.2.4
>     [ ] rabbitmq_management_visualiser    3.3.0
>     [ ] rabbitmq_mqtt                     3.2.4
>     [ ] rabbitmq_mqtt                     3.3.0
>     [ ] rabbitmq_shovel                   3.2.4
>     [ ] rabbitmq_shovel                   3.3.0
>     [ ] rabbitmq_shovel_management        3.2.4
>     [ ] rabbitmq_shovel_management        3.3.0
>     [ ] rabbitmq_stomp                    3.2.4
>     [ ] rabbitmq_stomp                    3.3.0
>     [ ] rabbitmq_tracing                  3.2.4
>     [ ] rabbitmq_tracing                  3.3.0
>     [e] rabbitmq_web_dispatch             3.2.4
>     [e] rabbitmq_web_dispatch             3.3.0
>     [ ] rabbitmq_web_stomp                3.2.4
>     [ ] rabbitmq_web_stomp                3.3.0
>     [ ] rabbitmq_web_stomp_examples       3.2.4
>     [ ] rabbitmq_web_stomp_examples       3.3.0
>     [ ] rfc4627_jsonrpc                   3.2.4-git5e67120
>     [ ] sockjs                            0.3.4-rmq3.2.4-git3132eb9
>     [ ] sockjs                            0.3.4-rmq3.3.0-git3132eb9
>     [e] webmachine                        1.10.3-rmq3.2.4-gite9359c7
>     [e] webmachine                        1.10.3-rmq3.3.0-gite9359c7
>     [root at rac1 sbin]#
>
>
>
>
> 2014-06-17 1:11 GMT+08:00 Simon MacMullen <simon at rabbitmq.com
> <mailto:simon at rabbitmq.com>>:
>
>     On 16/06/2014 4:36PM, mr.wonglei at gmail.com
>     <mailto:mr.wonglei at gmail.com> wrote:
>
>         I upgraded RabbitMQ from version 3.2.4 to 3.3.0
>
>         And DID NOT start after “1process.txt” has been.
>
>
>     I confess to not fully understanding your upgrade process. But this:
>
>                       {undef,
>                        [{rabbit,force_event_refresh,[__],[]},
>
>
>     is telling me that you somehow have ended up with 3.2.x plugins (or
>     at least the management plugin) and a 3.3.x broker.
>
>     Cheers, Simon
>
>     --
>     Simon MacMullen
>     RabbitMQ, Pivotal
>
>



More information about the rabbitmq-discuss mailing list