<div dir="ltr">Thanks for your help. Found out there were erlnag riak installed, Get rid of it makes rmq working now.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 5, 2013 at 12:42 PM, Michael Klishin <span dir="ltr"><<a href="mailto:mklishin@gopivotal.com" target="_blank">mklishin@gopivotal.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 5 Nov 2013, at 22:58, Alan Hsin <<a href="mailto:ahsin01@gmail.com">ahsin01@gmail.com</a>> wrote:<br>
<br>
</div><div class="im">> =ERROR REPORT==== 5-Nov-2013::12:34:59 ===<br>
> webmachine error: path="/api/definitions"<br>
> {error,{error,function_clause,<br>
> [{orddict,find,<br>
> [vhost,<br>
> {dict,0,16,16,8,80,48,<br>
> {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],<br>
> []},<br>
> {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],<br>
> []}}}]},<br>
> {rabbit_mgmt_util,id0,2},<br>
> {rabbit_mgmt_util,vhost,1},<br>
> {rabbit_mgmt_util,all_or_one_vhost,2},<br>
> {rabbit_mgmt_wm_exchanges,basic,1},<br>
> {rabbit_mgmt_wm_definitions,to_json,2},<br>
> {webmachine_resource,resource_call,3},<br>
> {webmachine_resource,do,3}]}}<br>
<br>
</div>We traced it down to this Webmachine change:<br>
<a href="https://github.com/basho/webmachine/commit/d7dbbddeb9e6a9a415f7a7f09261dfcd3c2bd001" target="_blank">https://github.com/basho/webmachine/commit/d7dbbddeb9e6a9a415f7a7f09261dfcd3c2bd001</a><br>
<br>
RabbitMQ management plugin bundles its own version of Webmachine. Can it be that you<br>
somehow have another copy on the global Erlang load path? (wrq.beam)<br>
<br>
There were reports of similar issues earlier and uninstalling a system-wide package<br>
that was included into Erlang code path helped, e.g.<br>
<br>
<a href="http://markmail.org/thread/mdi4ga635gljvgws" target="_blank">http://markmail.org/thread/mdi4ga635gljvgws</a><br>
<br>
MK<br>
<br>
Software Engineer, Pivotal/RabbitMQ<br>
<br>
<br>
</blockquote></div><br></div>