[rabbitmq-discuss] Reading a message from sys.log
Simon MacMullen
simon at rabbitmq.com
Wed Oct 23 11:31:38 BST 2013
Have you by any chance deleted the exchange amq.rabbitmq.trace?
Admittedly that's not exactly a clear error message.
Cheers, Simon
On 23/10/13 07:58, Tomasz Szymkowiak wrote:
> I forgot to mention, that sys.log is durable queue which has two
> bindings with amq.rabbitmq.log exchange: one with binding key error and
> the other one with warning.
> Regards,
> T.
>
> W dniu wtorek, 22 października 2013 17:12:37 UTC+2 użytkownik Tomasz
> Szymkowiak napisał:
>
> Hi,
> when i'm trying to get a message from sys.log queue via
> rabbitmq_management plugin i'm getting:
>
>
> Got response code 500 with body
> Internal Server Error
>
> The server encountered an error while processing this request:
> {error,
> {exit,
> {{{badmatch,
> {badrpc,
> {'EXIT',
> {{badmatch,
> {error,
> {'EXIT',
> {{badmatch,
> {error,
> {{{badmatch,{error,not_found}},
> [{rabbit_trace,init,1},
> {rabbit_channel,init,1},
> {gen_server2,init_it,6},
> {proc_lib,init_p_do_apply,3}]},
> {child,undefined,channel,
> {rabbit_channel,start_link,
> [1,<0.12001.10>,<0.12001.10>,<0.11994.10>,
> <<"<'rabbit at host'.2.11994.10>">>,
> rabbit_framing_amqp_0_9_1,
> {user,<<"user">>,
> [administrator],
> rabbit_auth_backend_internal,
> {internal_user,<<"user">>,
>
> <<103,27,123,114,70,159,120,205,173,29,114,226,83,153,225,
> 33,146,220,255,20>>,
> [administrator]}},
> <<"/">>,
> [{<<"publisher_confirms">>,bool,true},
> {<<"exchange_exchange_bindings">>,bool,true},
> {<<"basic.nack">>,bool,true},
> {<<"consumer_cancel_notify">>,bool,true}],
> <0.11998.10>,<0.12003.10>]},
> intrinsic,4294967295,worker,
> [rabbit_channel]}}}},
> [{rabbit_channel_sup,start_link,1},
> {supervisor2,do_start_child_i,3},
> {supervisor2,handle_call,3},
> {gen_server,handle_msg,5},
> {proc_lib,init_p_do_apply,3}]}}}},
> [{rabbit_direct,start_channel,9},
> {rpc,local_call,3},
> {amqp_channel_sup,'-start_writer_fun/4-fun-0-',7},
> {amqp_channel,start_writer,1},
> {amqp_channel,do_rpc,1},
> {amqp_channel,handle_call,3},
> {gen_server,handle_msg,5},
> {proc_lib,init_p_do_apply,3}]}}}},
> [{amqp_channel_sup,'-start_writer_fun/4-fun-0-',7},
> {amqp_channel,start_writer,1},
> {amqp_channel,do_rpc,1},
> {amqp_channel,handle_call,3},
> {gen_server,handle_msg,5},
> {proc_lib,init_p_do_apply,3}]},
> {gen_server,call,[<0.12001.10>,open,infinity]}},
> [{gen_server,call,3},
> {amqp_gen_connection,open_channel,3},
> {rabbit_mgmt_util,with_channel,5},
> {rabbit_mgmt_util,with_decode,5},
> {rabbit_mgmt_wm_queue_get,process_post,2},
> {webmachine_resource,resource_call,3},
> {webmachine_resource,do,3},
> {webmachine_decision_core,resource_call,1}]}}
>
>
> it happens only, when the tracing is on (vhost "/")
> when i turn it off - the message is read properly
> what am i doing wrong ?
>
> rabbitmqctl status:
>
> Status of node 'rabbit at host' ...
> [{pid,3510},
> {running_applications,
> [{rabbitmq_management_visualiser,"RabbitMQ Visualiser","3.1.5"},
> {rabbitmq_tracing,"RabbitMQ message logging / tracing","3.1.5"},
> {rabbitmq_management,"RabbitMQ Management Console","3.1.5"},
> {rabbitmq_management_agent,"RabbitMQ Management Agent","3.1.5"},
> {rabbit,"RabbitMQ","3.1.5"},
> {os_mon,"CPO CXC 138 46","2.2.7"},
> {rabbitmq_web_dispatch,"RabbitMQ Web Dispatcher","3.1.5"},
> {webmachine,"webmachine","1.10.3-rmq3.1.5-gite9359c7"},
> {mochiweb,"MochiMedia Web Server","2.7.0-rmq3.1.5-git680dba8"},
> {xmerl,"XML parser","1.2.10"},
> {inets,"INETS CXC 138 49","5.7.1"},
> {mnesia,"MNESIA CXC 138 12","4.5"},
> {amqp_client,"RabbitMQ AMQP Client","3.1.5"},
> {sasl,"SASL CXC 138 11","2.1.10"},
> {stdlib,"ERTS CXC 138 10","1.17.5"},
> {kernel,"ERTS CXC 138 10","2.14.5"}]},
> {os,{unix,linux}},
> {erlang_version,
> "Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:8:8] [rq:8]
> [async-threads:30] [kernel-poll:true]\n"},
> {memory,
> [{total,50383256},
> {connection_procs,605416},
> {queue_procs,560056},
> {plugins,702048},
> {other_proc,11365416},
> {mnesia,229240},
> {mgmt_db,541664},
> {msg_index,99296},
> {other_ets,1374104},
> {binary,13453984},
> {code,17552765},
> {atom,1601817},
> {other_system,2297450}]},
> {vm_memory_high_watermark,0.4},
> {vm_memory_limit,3150484275},
> {disk_free_limit,1000000000},
> {disk_free,11425714176},
> {file_descriptors,
>
> [{total_limit,924},{total_used,25},{sockets_limit,829},{sockets_used,9}]},
> {processes,[{limit,1048576},{used,351}]},
> {run_queue,0},
> {uptime,1052426}]
>
>
> Regards,
> T.
>
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
--
Simon MacMullen
RabbitMQ, Pivotal
More information about the rabbitmq-discuss
mailing list