[rabbitmq-discuss] after enable management, rabbitMQ cant work

Tim Watson watson.timothy at gmail.com
Wed Aug 1 08:28:45 BST 2012


On 1 Aug 2012, at 04:52, luo roger <roger.maillist at gmail.com> wrote:

> debian 5.0
> erlang version : 5.6.3

lists:keyfind/3 was added in OTP stdlib 1.6 iirc so it's probable that you need a later version of erlang. I also seem to remember this is documented for the plugin on the compatibility page of the website, though I'll check that once I get into the office.

> rabbitmq 2.8.4
> 
> whitout management, everything is ok,
> after enable management, rabbitMQ cant start
> in the console, after echo" broker running,"
> echo "{"Kernel pid terminated............
> 
> in the startup_log:
> 
> =INFO REPORT==== 1-Aug-2012::10:49:28 ===
> Limiting to approx 924 file handles (829 sockets)
> 
> =INFO REPORT==== 1-Aug-2012::10:49:28 ===
> Memory limit set to 3198MB of 7996MB total.
> 
> =INFO REPORT==== 1-Aug-2012::10:49:28 ===
> Disk free limit set to 953MB
> 
> =INFO REPORT==== 1-Aug-2012::10:49:28 ===
> Management plugin upgraded statistics to fine.
> 
> =INFO REPORT==== 1-Aug-2012::10:49:28 ===
> msg_store_transient: using rabbit_msg_store_ets_index to provide index
> 
> =INFO REPORT==== 1-Aug-2012::10:49:28 ===
> msg_store_persistent: using rabbit_msg_store_ets_index to provide index
> 
> =INFO REPORT==== 1-Aug-2012::10:49:28 ===
> started TCP Listener on 0.0.0.0:5672
> 
> =INFO REPORT==== 1-Aug-2012::10:49:28 ===
> Management agent started.
> 
> =ERROR REPORT==== 1-Aug-2012::10:49:28 ===
> ** Generic server rabbit_mochiweb_registry terminating
> ** Last message in was {add,rabbit_mgmt,#Fun<rabbit_mochiweb.2.886060>,
>                            #Fun<rabbit_mochiweb.0.69727660>,
>                            {[],"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,5}]}
> 
> =INFO REPORT==== 1-Aug-2012::10:49:28 ===
>    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,5}]},
>                {gen_server,call,
>                 [rabbit_mochiweb_registry,
>                  {add,rabbit_mgmt,#Fun<rabbit_mochiweb.2.886060>,
>                   #Fun<rabbit_mochiweb.0.69727660>,
>                   {[],"RabbitMQ Management"}},
>                  infinity]}}}}}
>    type: permanent
> 
> =INFO REPORT==== 1-Aug-2012::10:49:28 ===
> stopped TCP Listener on 0.0.0.0:5672
> 
> Is there somethin worng?
> 
> Thanks,
> roger
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


More information about the rabbitmq-discuss mailing list