[rabbitmq-discuss] After enabled rabbitmq_management plugin , RabbitMQ getting crashed .

ponmuthu muniyasamy ponmuthu1988 at live.com
Mon Mar 5 08:15:15 GMT 2012


Hi ,


   kindly help me to fix this issue 

Versions:

RabbitMQ  v2.7.1 
erlang-R12B-5.10.el5
Red Hat Enterprise Linux Server release 5.2 (Tikanga)
                    


---------------------------------------------------------------------------------------------------------------------

Before Enable rabbitmq_management plugin , no issue in my RabbitMQ getting proper log as below :

---------------------------------------------------------------------------------------------------------------------
=INFO REPORT==== 2-Mar-2012::02:27:00 ===
stopped TCP Listener on [::]:5672

=INFO REPORT==== 2-Mar-2012::02:28:06 ===
Limiting to approx 924 file handles (829 sockets)

=INFO REPORT==== 2-Mar-2012::02:28:06 ===
Memory limit set to 401MB of 1002MB total.

=INFO REPORT==== 2-Mar-2012::02:28:06 ===
Management plugin upgraded statistics to fine.

=INFO REPORT==== 2-Mar-2012::02:28:06 ===
msg_store_transient: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 2-Mar-2012::02:28:06 ===
msg_store_persistent: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 2-Mar-2012::02:28:06 ===
started TCP Listener on [::]:5672

=INFO REPORT==== 2-Mar-2012::02:28:06 ===
Management agent started.


-----------------------------------------------------------------------------------------------------------------

After Enabled rabbitmq_management plugin , my RabbitMQ getting crashed logs as below :

-----------------------------------------------------------------------------------------------------------------

Erlang has closed
{"Kernel
 pid 
terminated",application_controller,"{application_start_failure,rabbitmq_management,{bad_return,{{rabbit_mgmt_app,start,[normal,[]]},{'EXIT',{{{case_clause,{error,{{'EXIT',{undef,[{lists,keyfind,[name,1,[{loop,#Fun<mochiweb_http.0.65037361>},{name,rabbit_mochiweb_web_mgmt},{port,55672}]]},{mochilists,is_defined,2},{mochilists,set_default,2},{lists,foldl,3},{mochiweb_http,start,1},{supervisor,do_start_child,2},{supervisor,handle_start_child,2},{supervisor,handle_call,3}]}},{child,undefined,{rabbit_mochiweb_web,mgmt},{rabbit_mochiweb_web,start,[{mgmt,[{port,55672}]}]},transient,5000,worker,dynamic}}}},[{rabbit_mochiweb_sup,ensure_listener,1},{rabbit_mochiweb_registry,handle_call,3},{gen_server,handle_msg,5},{proc_lib,init_p_do_apply,3}]},{gen_server,call,[rabbit_mochiweb_registry,{add,rabbit_mgmt,#Fun<rabbit_mochiweb.2.75707079>,#Fun<rabbit_mochiweb.0.51174676>,{[],[82,97,98,98,105,116,77,81,32,77,97,110,97,103,101,109,101,110,116]}},infinity]}}}}}}"}

Crash dump was written to: erl_crash.dump
Kernel
 pid terminated (application_controller) 
({application_start_failure,rabbitmq_management,{bad_return,{{rabbit_mgmt_app,start,[normal,[]]},{'EXIT',{{{case_clause,{error,{{'EXIT',{undef,[{lists,




=INFO REPORT==== 2-Mar-2012::02:26:40 ===
Limiting to approx 924 file handles (829 sockets)

=INFO REPORT==== 2-Mar-2012::02:26:40 ===
Memory limit set to 401MB of 1002MB total.

=INFO REPORT==== 2-Mar-2012::02:26:40 ===
Management plugin upgraded statistics to fine.

=INFO REPORT==== 2-Mar-2012::02:26:40 ===
msg_store_transient: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 2-Mar-2012::02:26:40 ===
msg_store_persistent: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 2-Mar-2012::02:26:40 ===
started TCP Listener on [::]:5672

=INFO REPORT==== 2-Mar-2012::02:26:40 ===
Management agent started.

=ERROR REPORT==== 2-Mar-2012::02:26:40 ===
** Generic server rabbit_mochiweb_registry terminating
** Last message in was {add,rabbit_mgmt,#Fun<rabbit_mochiweb.2.75707079>,
                            #Fun<rabbit_mochiweb.0.51174676>,
                            {[],"RabbitMQ Management"}}
** When Server state == undefined
** Reason for termination ==
** {{case_clause,
        {error,
            {{'EXIT',
                 {undef,
                     [{lists,keyfind,
                          [name,1,
                           [{loop,#Fun<mochiweb_http.0.65037361>},
                            {name,rabbit_mochiweb_web_mgmt},
                            {port,55672}]]},
                      {mochilists,is_defined,2},
                      {mochilists,set_default,2},
                      {lists,foldl,3},
                      {mochiweb_http,start,1},
                      {supervisor,do_start_child,2},
                      {supervisor,handle_start_child,2},
                      {supervisor,handle_call,3}]}},
             {child,undefined,
                 {rabbit_mochiweb_web,mgmt},
                 {rabbit_mochiweb_web,start,[{mgmt,[{port,55672}]}]},
                 transient,5000,worker,dynamic}}}},
    [{rabbit_mochiweb_sup,ensure_listener,1},
     {rabbit_mochiweb_registry,handle_call,3},
     {gen_server,handle_msg,5},
     {proc_lib,init_p_do_apply,3}]}

=INFO REPORT==== 2-Mar-2012::02:26:40 ===
    application: rabbitmq_management
    exited: {bad_return,
             {{rabbit_mgmt_app,start,[normal,[]]},
              {'EXIT',
               {{{case_clause,
                  {error,
                   {{'EXIT',
                     {undef,
                      [{lists,keyfind,
                        [name,1,
                         [{loop,#Fun<mochiweb_http.0.65037361>},
                          {name,rabbit_mochiweb_web_mgmt},
                          {port,55672}]]},
                       {mochilists,is_defined,2},
                       {mochilists,set_default,2},
                       {lists,foldl,3},
                       {mochiweb_http,start,1},
                       {supervisor,do_start_child,2},
                       {supervisor,handle_start_child,2},
                       {supervisor,handle_call,3}]}},
                    {child,undefined,
                     {rabbit_mochiweb_web,mgmt},
                     {rabbit_mochiweb_web,start,[{mgmt,[{port,55672}]}]},
                     transient,5000,worker,dynamic}}}},
                 [{rabbit_mochiweb_sup,ensure_listener,1},
                  {rabbit_mochiweb_registry,handle_call,3},
                  {gen_server,handle_msg,5},
                  {proc_lib,init_p_do_apply,3}]},
                {gen_server,call,
                 [rabbit_mochiweb_registry,
                  {add,rabbit_mgmt,#Fun<rabbit_mochiweb.2.75707079>,
                   #Fun<rabbit_mochiweb.0.51174676>,
                   {[],"RabbitMQ Management"}},
                  infinity]}}}}}
    type: permanent


Please help me to fix this issue , waiting for solution 
                     		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120305/505f7aad/attachment.htm>


More information about the rabbitmq-discuss mailing list