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

luo roger roger.maillist at gmail.com
Wed Aug 1 04:52:40 BST 2012


debian 5.0
erlang version : 5.6.3
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


More information about the rabbitmq-discuss mailing list