[rabbitmq-discuss] gen_event handler rabbit_error_logger crashed. Reason badarg

Michi Oshima moshima at advent.com
Fri Feb 25 23:38:15 GMT 2011


Hi, 

I just got a similar error.  I'm wondering if this is something I should
worry about.

=ERROR REPORT==== 25-Feb-2011::22:27:15 ===
** gen_event handler rabbit_error_logger crashed.
** Was installed in error_logger
** Last event was: {info_msg,<0.112.0>,
                             {<0.139.0>,"Deleted vhost ~p~n",[<<"/">>]}}
** When handler state == {resource,<<"/">>,exchange,<<"amq.rabbitmq.log">>}
** Reason == {{badmatch,{error,not_found}},
              [{rabbit_error_logger,publish1,4},
               {rabbit_error_logger,handle_event,2},
               {gen_event,server_update,4},
               {gen_event,server_notify,4},
               {gen_event,handle_msg,5},
               {proc_lib,init_p_do_apply,3}]}

I'm using version 2.3.1:

# ./rabbitmqctl status
Status of node rabbit at loadtester ...
[{running_applications,[{rabbit,"RabbitMQ","2.3.1"},
                        {ssl,"Erlang/OTP SSL application","4.1.1"},
                        {public_key,"Public key infrastructure","0.10"},
                        {crypto,"CRYPTO version 2","2.0.2"},
                        {os_mon,"CPO  CXC 138 46","2.2.5"},
                        {sasl,"SASL  CXC 138 11","2.1.9.2"},
                        {mnesia,"MNESIA  CXC 138 12","4.4.16"},
                        {stdlib,"ERTS  CXC 138 10","1.17.2"},
                        {kernel,"ERTS  CXC 138 10","2.14.2"}]},
 {nodes,[{disc,[rabbit at loadtester]}]},
 {running_nodes,[rabbit at loadtester]}]
...done.

I'm running this on CentOS 5.  Erlang version is R14B01.  I had to build
Erlang myself as I couldn't find a suitable RPM.  Above error apparently
happens when I delete the default virtual host, as a part of my setup.  I do
this through JInterface.

Hm.  Could it be that I should not be deleting the virtual host "/"?

Michi Oshima
-- 
View this message in context: http://old.nabble.com/gen_event-handler-rabbit_error_logger-crashed.-Reason-badarg-tp30593834p31017300.html
Sent from the RabbitMQ mailing list archive at Nabble.com.



More information about the rabbitmq-discuss mailing list