title: CentOS running RabbitMQ failed to create a trace file and log on other vhost remotely
body: <p>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. </p>
  
  <p>For instance, in the figure below, 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.</p>
  
  <p><a href="https://i.stack.imgur.com/YHhpx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YHhpx.png" alt="enter image description here"></a></p>
  
  <p>Update:</p>
  
  <p>The latest server error which is added to the file rabbit@server79.log at the time of creating the trace file represented below:</p>
  
  <pre><code>=ERROR REPORT==== 26-Jan-2016::13:13:19 ===
  webmachine error: path="/api/traces/hafizTest/newTraceFile"
  "Bad Request"
  </code></pre>
  
  <p>Also user "moha" has full permission like user "guest" over both vhost "test" and "test2". The permission over both virtual hosts represented in figures below.</p>
  
  <p><a href="https://i.stack.imgur.com/tHOq8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tHOq8.png" alt="user permission over vhost &quot;test&quot;"></a>
  <a href="https://i.stack.imgur.com/A7LQJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/A7LQJ.png" alt="user permission over vhost &quot;test2&quot;"></a></p>