CentOS running RabbitMQ failed to create a trace file and log on other vhost remotely

414 views
Skip to first unread message

moha fazel

unread,
Jan 26, 2016, 8:31:36 AM1/26/16
to rabbitmq-users

We have installed and run RabbitMQ on a CentOS server. Although it is OK to create a trace file using Firehose tracer from the management console on another computer remotely in the vhost that is under permission ofthe guest user, it is failed to create the same log file remotely in the other vhosts which are not under permission of the guest user.

For instance, in the figure above, we simply create the testLogTracer on the test vhost but it is failed to create the same log file testLogTracer2 on test2 vhost. The only difference between the two vhosts is that the guest user has permission over the test vhost.

complete question availble in the link below:

http://stackoverflow.com/questions/35008083/centos-running-rabbitmq-failed-to-create-a-trace-file-and-log-on-other-vhost-rem

Michael Klishin

unread,
Jan 26, 2016, 8:34:18 AM1/26/16
to rabbitm...@googlegroups.com, moha fazel
 On 26 January 2016 at 16:31:40, moha fazel (moha....@gmail.com) wrote:
> OK to create a trace file using Firehose tracer from the management
> console on another computer remotely in the vhost that is under
> permission ofthe guest user, it is failed to create the same log
> file remotely in the other vhosts which are not under permission
> of the guest user.

As of 3.6.0, rabbitmq_tracing.username and rabbitmq_tracing.password can be used
to make tracer connections use any other user.
--
MK

Staff Software Engineer, Pivotal/RabbitMQ


moha fazel

unread,
Jan 27, 2016, 3:29:55 AM1/27/16
to rabbitmq-users, moha....@gmail.com
Thanks Michael for your response, I create the tracer file in a management plugin in browser.
I don't know where exactly I should put rabbitmq_tracing.myusername and rabbitmq_tracing.mypassword in order to create the trace file with another permission. I have read that it is the RabbitMQ tracing config file but I don't know the location of this file. I will be appreciate if help me about this problem or get me a link of a useful tutorial.

Michael Klishin

unread,
Jan 27, 2016, 6:36:34 AM1/27/16
to rabbitm...@googlegroups.com, moha fazel
On 27 January 2016 at 11:29:57, moha fazel (moha....@gmail.com) wrote:
> I don't know where exactly I should put rabbitmq_tracing.myusername
> and rabbitmq_tracing.mypassword in order to create the trace
> file with another permission

Into RabbitMQ config file (and then restart your node):
http://www.rabbitmq.com/configure.html#configuration-file 

moha fazel

unread,
Jan 27, 2016, 7:03:23 AM1/27/16
to rabbitmq-users, moha....@gmail.com
Yeah, I have done that already.
Tnx for your support.
Reply all
Reply to author
Forward
0 new messages