e2

滴滴侠,fai抖

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

3台集群docker部署,下面是错误日志,我用rabbitmqctl trace_on -p hospital启动的

2018-10-25 07:47:55.486 [info] <0.831.0> Enabling tracing for vhost 'hospital'
2018-10-25 07:47:55.497 [error] <0.10425.0> CRASH REPORT Process <0.10425.0> with 0 neighbours exited with reason: no match of right hand value {error,{auth_failure,"Refused"}} in rabbit_tracing_consumer:init/1 line 58 in gen_server:init_it/6 line 352
2018-10-25 07:47:55.497 [error] <0.10424.0> Supervisor {<0.10424.0>,rabbit_tracing_consumer_sup} had child consumer started with rabbit_tracing_consumer:start_link([{vhost,<<"hospital">>},{name,<<"dev">>},{format,<<"text">>},{pattern,<<"#">>},{<<"format">>,<<"te...">>},...]) at undefined exit with reason no match of right hand value {error,{auth_failure,"Refused"}} in rabbit_tracing_consumer:init/1 line 58 in context start_error

用rabbitmqctl trace_on启动同样的错误。。好像是缺少什么权限,但我不知道哪里配

 
答案
 

我也碰到这个问题了,最后发现插件默认是使用 guest 用户,是因为把 guest 用户删除了,或者在配置文件里面使用其他用户

 

配置文件在哪里啊?什么文件名?

@天尘·云烟: https://blog.csdn.net/mixiu888/article/details/80672212

在配置文件里面加入 {rabbitmq_tracing, [{username,"admin"},{password,"123456"}]}

posted on 2019-09-06 20:28  纯黑Se丶  阅读(239)  评论(0编辑  收藏  举报