[rabbitmq-discuss] bql causing crash on startup
elij
elij.mx at gmail.com
Thu May 20 23:12:45 BST 2010
I am having, what appears to be, the same issue as this:
http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2010-April/006924.html
log messages (startup messages that all look normal, then):
broker running
Erlang has closed
{"Kernel pid terminated",application_controller,"{application_start_failure,rabbitmq_bql,{shutdown,{rabbitmq_bql,start,[normal,[]]}}}"}
Kernel pid terminated (application_controller)
({application_start_failure,rabbitmq_bql,{shutdown,{rabbitmq_bql,start,[normal,[]]}}})
in rabbit.log:
=INFO REPORT====
started TCP Listener on 0.0.0.0:5672
=INFO REPORT====
application: rabbitmq_bql
exited: {shutdown,{rabbitmq_bql,start,[normal,[]]}}
type: permanent
rabbit-sasl has quite a bit of log info.
=CRASH REPORT====
crasher:
initial call: amqp_direct_connection:init/1
pid: <0.179.0>
registered_name: []
exception exit: {undef,[{rabbit_reader,server_properties,[]},
{amqp_direct_connection,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}
in function gen_server:init_it/6
ancestors: [<0.178.0>,rabbitmq_bql_sup,<0.175.0>]
messages: []
links: []
dictionary: []
trap_exit: true
status: running
heap_size: 1597
stack_size: 24
reductions: 289
neighbours:
=CRASH REPORT====
crasher:
initial call: bql_amqp_rpc_server:init/1
pid: <0.178.0>
registered_name: []
exception exit: {{badmatch,
{error,
{undef,
[{rabbit_reader,server_properties,[]},
{amqp_direct_connection,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}}},
[{amqp_connection,start_direct_internal,2},
{bql_amqp_rpc_server,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}
in function gen_server:init_it/6
ancestors: [rabbitmq_bql_sup,<0.175.0>]
messages: []
links: [<0.176.0>]
dictionary: []
trap_exit: false
status: running
heap_size: 233
stack_size: 24
reductions: 132
neighbours:
=SUPERVISOR REPORT====
Supervisor: {local,rabbitmq_bql_sup}
Context: start_error
Reason: {{badmatch,
{error,
{undef,
[{rabbit_reader,server_properties,[]},
{amqp_direct_connection,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}}},
[{amqp_connection,start_direct_internal,2},
{bql_amqp_rpc_server,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}
Offender: [{pid,undefined},
{name,bql_amqp_rpc_server},
{mfa,{bql_amqp_rpc_server,start_link,[]}},
{restart_type,permanent},
{shutdown,10000},
{child_type,worker}]
Note that if I remove just the rabbitmq-bql.ez plugin (leaving the
amqp_client.ez and rfc4627_jsonrpc.ez plugins) rabbitmq starts up just
fine. Only when I add the rabbitmq-bql.ez plugin does it crash on
startup.
More information about the rabbitmq-discuss
mailing list