<div>Thanks a lot.</div>
<div>It's working fine now... :)</div>
<div><br><br> </div>
<div class="gmail_quote">On Mon, Feb 8, 2010 at 1:52 PM, Paul Jones <span dir="ltr"><<a href="mailto:pauljones23@gmail.com">pauljones23@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Seema,<br><br>It looks like the same problem was in the client too. I've fixed that as well - so please do the following in your rabbitmq-bql directory:<br>
make clean
<div class="im"><br> hg pull<br> hg up<br> make<br><br></div>For note, to make it easier to use the client in this circumstance, the client is automatically unpacked in the directory "build/client".<br><font color="#888888"><br>
Paul.</font>
<div>
<div></div>
<div class="h5"><br><br>
<div class="gmail_quote">On Mon, Feb 8, 2010 at 7:28 AM, Seema Biradar <span dir="ltr"><<a href="mailto:seemasbiradar@gmail.com" target="_blank">seemasbiradar@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>Hi,</div>
<div> </div>
<div>I have Rabbitmq running on the same machine and i am trying to execute the BQL script I am getting the follwing error.</div>
<div> </div>
<div><b><font color="#cc0000">{"init terminating in do_boot",{{badmatch,{error,{{anonymous_queue_empty,<<33 bytes>>},{gen_server,call,[<0.41.0>,{call,{'basic.consume',<br>1,<<32 bytes>>,<<0 bytes>>,false,true,false,false},none},infinity]}}}},[{bql_amqp_rpc_client,start,2},{bql_client,connect,5},{bql_shell,s
<div><br>tart,0},{init,start_it,1},{init,start_em,1}]}}</div></font></b></div>
<div>
<div><b><font color="#cc0000">Crash dump was written to: erl_crash.dump</font></b></div>
<div><b><font color="#cc0000">init terminating in do_boot ()</font></b><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank"></a><br><br></div></div>
<div>
<div></div>
<div>
<div class="gmail_quote">On Fri, Feb 5, 2010 at 6:52 PM, Paul Jones <span dir="ltr"><<a href="mailto:pauljones23@gmail.com" target="_blank">pauljones23@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">That is indicating that you don't have Rabbit running on the same machine using the default port. If it is on an alternate page, please refer to the documentation on the web page for connecting to alternate machines/ports.
<div>
<div></div>
<div><br><br>
<div class="gmail_quote">On Fri, Feb 5, 2010 at 1:14 PM, Seema Biradar <span dir="ltr"><<a href="mailto:seemasbiradar@gmail.com" target="_blank">seemasbiradar@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div><br>I have unpack the rabbitmq-bql-client.zip and ran.</div>
<div> </div>
<div><font color="#ff0000">$ sh bql<br>{"init terminating in do_boot",{{badmatch,{error,econnrefused}},[{amqp_connection,start_network_internal,2},{bql_client,connect,5},{bql_shell,start,0},{init,start_it,1},{init,start_em,1}]}}</font></div>
<div><font color="#ff0000">
<div>Crash dump was written to: erl_crash.dump<br></div>init terminating in do_boot ()</font><br><br></div>
<div>
<div></div>
<div>
<div class="gmail_quote">On Fri, Feb 5, 2010 at 6:33 PM, Paul Jones <span dir="ltr"><<a href="mailto:pauljones23@gmail.com" target="_blank">pauljones23@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Seema,<br><br>Did you unpack the client from the zip file, as per the install instructions? The bql script cannot be invoked directly in the source tree - it expects to have approach files put in the right places.<br>
<font color="#888888"><br>Paul.</font>
<div>
<div></div>
<div><br><br>
<div class="gmail_quote">On Fri, Feb 5, 2010 at 11:24 AM, Seema Biradar <span dir="ltr"><<a href="mailto:seemasbiradar@gmail.com" target="_blank">seemasbiradar@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>Hi Paul,</div>
<div> </div>
<div>Thanks a lot for detailed steps....now RabbitMq server is running fine , I am not getting any error while running the server.</div>
<div><br>But when i am trying to BQL script i am getting the following error.</div>
<div> </div>
<div><font color="#ff0000">[Scripts]$ ./bql<br></font></div>
<div><font color="#ff0000">{"init terminating in do_boot",{undef,[{bql_shell,start,[]},{init,start_it,1},{init,start_em,1}]}}<br>init terminating in do_boot ()<br></font></div>
<div>Regards</div>
<div>Seema<font color="#888888"><br></font></div>
<div>
<div></div>
<div>
<div class="gmail_quote">On Fri, Feb 5, 2010 at 2:16 PM, Paul Jones <span dir="ltr"><<a href="mailto:pauljones23@gmail.com" target="_blank">pauljones23@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi Seema,<br><br>I've just done a fresh checkout with the following steps:
<div><br>- hg clone <a href="http://hg.rabbitmq.com/rabbitmq-public-umbrella" target="_blank">http://hg.rabbitmq.com/rabbitmq-public-umbrella</a><br></div>- cd rabbitmq-public-umbrella<br>- make co<br>- make<br>- cd rabbitmq-bql<br>
- make clean<br>- make<br>- mkdir ../rabbitmq-server/plugins<br>- cp dist/{amqp_client.ez,rabbitmq-bql.ez,rfc4627_jsonrpc.ez} ../rabbitmq-server/plugins<br>- cd ../rabbitmq-server<br>- make cleandb run<br><br>These steps are working for me. Can you confirm what version of Erlang you have installed?
<div>
<div></div>
<div><br><br>
<div class="gmail_quote">On Fri, Feb 5, 2010 at 8:33 AM, Seema Biradar <span dir="ltr"><<a href="mailto:seemasbiradar@gmail.com" target="_blank">seemasbiradar@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div> </div>
<div>Hi</div>
<div> </div>
<div>Yes , I have follwed the same steps mentioned by you......still error exists.</div>
<div>
<div></div>
<div>
<div><br><br> </div>
<div class="gmail_quote">On Fri, Feb 5, 2010 at 1:57 PM, Paul Jones <span dir="ltr"><<a href="mailto:pauljones23@gmail.com" target="_blank">pauljones23@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">So just to verify, you've done the following in rabbitmq-bql:<br> hg pull<br> hg up<br> make clean<br>
make<br><br>and then copied the .ez files into your plugins directory?
<div>
<div></div>
<div><br><br>
<div class="gmail_quote">On Fri, Feb 5, 2010 at 8:22 AM, Seema Biradar <span dir="ltr"><<a href="mailto:seemasbiradar@gmail.com" target="_blank">seemasbiradar@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>Hi Paul,</div>
<div> </div>
<div>Even after removing the symlink in the plugin folder i am getting the same error.</div>
<div> </div>
<div><br><font color="#ff0000">node : </font><a href="mailto:rabbit@linux" target="_blank"><font color="#ff0000">rabbit@linux</font></a><br><font color="#ff0000">app descriptor: /usr/local/lib/erlang/lib/rabbitmq-public-umbrella/rabbitmq-server/scripts/../ebin/rabbit.app<br>
home dir : /home/<br>cookie hash : fISy4G9tmNyABJwnAvHjrQ==<br>log : /var/log/rabbitmq/rabbit.log<br>sasl log : /var/log/rabbitmq/rabbit-sasl.log<br>database dir : /var/lib/rabbitmq/mnesia/rabbit</font></div>
<div><font color="#ff0000">starting internal event notification system ...done<br>starting logging server ...done<br>starting database ...done<br>
-- kernel ready<br>starting alarm handler ...done<br>starting queue supervisor ...done<br>starting node monitor ...done<br>
starting cluster router ...done<br>-- core initialized<br>starting empty DB check ...done<br>starting codec correctness check ...done<br>
starting exchange recovery ...done<br>starting queue recovery ...done<br>starting persister ...done<br>
starting guid generator ...done<br>-- message delivery logic ready<br>starting error log relay ...done<br>starting networking ...done<br>
-- network listeners available</font></div>
<div>
<div><font color="#ff0000"></font> </div>
<div><font color="#ff0000">broker running<br>Erlang has closed<br>{"Kernel pid terminated",application_controller,"{application_start_failure,rabbitmq_bql,{shutdown,{rabbitmq_bql,start,[normal,[]]}}}"}</font></div>
<div><font color="#ff0000">Crash dump was written to: erl_crash.dump<br>Kernel pid terminated (application_controller) ({application_start_failure,rabbitmq_bql,{shutdown,{rabbitmq_bql,start,[normal,[]]}}})<br></font></div>
</div>
<div><br>Thanks,</div>
<div>seema<font color="#888888"><br></font></div>
<div>
<div></div>
<div>
<div class="gmail_quote">On Fri, Feb 5, 2010 at 1:48 PM, Paul Jones <span dir="ltr"><<a href="mailto:pauljones23@gmail.com" target="_blank">pauljones23@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">As a starting point, you should remove the two symlinks in the directory - with the .ez files and the symlinks, you now have the erlang client and bql installed as plugins twice.<br>
<br>Once you've done this, are you seeing the exact same error message?
<div>
<div></div>
<div><br><br>
<div class="gmail_quote">On Fri, Feb 5, 2010 at 7:47 AM, Seema Biradar <span dir="ltr"><<a href="mailto:seemasbiradar@gmail.com" target="_blank">seemasbiradar@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>Hi all,</div>
<div> </div>
<div>Even after downloading erlang-rfc4627 and latest rabbitmq-bql I am still facing the same error.</div>
<div> </div>
<div>I have downloded erlang-rfc4627 from the site</div>
<div><a href="http://hg.opensource.lshift.net/erlang-rfc4627/" target="_blank">http://hg.opensource.lshift.net/erlang-rfc4627/</a></div>
<div> </div>
<div>rabbitmq-bql from </div>
<div><a href="http://hg.rabbitmq.com/rabbitmq-bql/" target="_blank">http://hg.rabbitmq.com/rabbitmq-bql/</a>.</div>
<div> </div>
<div>my folder structure is like</div>
<div> </div>
<div>RabbitMQ server : </div>
<div> /usr/local/lib/erlang/lib/rabbitmq-public-umbrella/rabbitmq-server</div>
<div> </div>
<div>Rabbitmq -BQL</div>
<div>/usr/local/lib/erlang/lib/rabbitmq-public-umbrella/rabbitmq-bql</div>
<div> </div>
<div>Plugin folder of rabbitmq-server contains.</div>
<div> </div>
<div>lrwxrwxrwx 1 root rootuser 28 Feb 4 13:44 rabbitmq-erlang-client -> ../../rabbitmq-erlang-client<br>-rwxrwxrwx 1 root rootuser 41041 Feb 5 12:35 rfc4627_jsonrpc.ez<br>-rwxrwxrwx 1 root rootuser 238092 Feb 5 12:37 rabbitmq-bql.ez<br>
-rwxrwxrwx 1 root rootuser 104210 Feb 5 12:37 amqp_client.ez<br>lrwxrwxrwx 1 root rootuser 18 Feb 5 13:17 rabbitmq-bql -> ../../rabbitmq-bql.</div>
<div> </div>
<div>Please help me on this.</div>
<div> </div>
<div>Thanks in advance</div>
<div>Seema<font color="#888888"><br></font></div>
<div>
<div></div>
<div>
<div> </div>
<div><br> </div>
<div><br><br> </div>
<div class="gmail_quote">On Thu, Feb 4, 2010 at 8:30 PM, Paul Jones <span dir="ltr"><<a href="mailto:pauljones23@gmail.com" target="_blank">pauljones23@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi Seema,<br><br>It turns out there were two problems in play here. Firstly, as Matthew said in his emails, you'll also need the erlang-rfc4627 package. You'll also need to pull in the latest change for rabbitmq-bql, since unfortunately a change in the erlang client resulted in the plugin breaking. I've corrected this, and after being able to reproduce the problem before, it is now working for me.<br>
<br>Cheers,<br>Paul.<br><br>
<div class="gmail_quote">
<div>
<div></div>
<div>On Thu, Feb 4, 2010 at 11:40 AM, Seema Biradar <span dir="ltr"><<a href="mailto:seemasbiradar@gmail.com" target="_blank">seemasbiradar@gmail.com</a>></span> wrote:<br></div></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>
<div></div>
<div>
<div>Hi All,</div>
<div> </div>
<div>I am getting the Following error while running the Rabbitmq along with shovel and BQL pluggin.</div>
<div> </div>
<div><font color="#ff0000">broker running<br>Erlang has closed<br> {"Kernel pid terminated",application_controller,"{application_start_failure,rabbitmq_bql,{shutdown,{rabbitmq_bql,start,[normal,[]]}}}"}</font></div>
<div><font color="#ff0000">Crash dump was written to: erl_crash.dump<br>Kernel pid terminated (application_controller) ({application_start_failure,rabbitmq_bql,{shutdown,{rabbitmq_bql,start,[normal,[]]}}})<br>make: *** [run] Error 1<br>
</font></div>
<div> here are the steps I followed while running Shovel and RabbitMQ BQL pluggins.</div>
<div> </div>
<div> </div>
<div>1. hg clone <a href="http://hg.rabbitmq.com/rabbitmq-public-umbrella" target="_blank">http://hg.rabbitmq.com/rabbitmq-public-umbrella</a><br>2 .cd rabbitmq-public-umbrella<br>3 .hg clone <a href="http://hg.rabbitmq.com/rabbitmq-codegen" target="_blank">http://hg.rabbitmq.com/rabbitmq-codegen</a><br>
4 .hg clone <a href="http://hg.rabbitmq.com/rabbitmq-erlang-client" target="_blank">http://hg.rabbitmq.com/rabbitmq-erlang-client</a><br>5 .hg clone <a href="http://hg.rabbitmq.com/rabbitmq-server" target="_blank">http://hg.rabbitmq.com/rabbitmq-server</a><br>
6. hg clone <a href="http://hg.rabbitmq.com/rabbitmq-shovel" target="_blank">http://hg.rabbitmq.com/rabbitmq-shovel</a></div>
<div>7. hg clone <a href="http://hg.rabbitmq.com/rabbitmq-bql" target="_blank">http://hg.rabbitmq.com/rabbitmq-bql</a><br>8. cd rabbitmq-server<br>9. hg up -C bug16653<br>10.make -j<br>11. mkdir -p plugins<br>12. cd plugins<br>
13. ln -s ../../rabbitmq-erlang-client<br>14. ln -s ../../rabbitmq-shovel</div>
<div>15. ln -s ../../rabbitmq-bql<br>16. cd ../../rabbitmq-erlang-client<br>17. make</div>
<div>18. cd ../rabbitmq-shovel<br>19. make</div>
<div>18. cd ../rabbitmq-bql<br>19. make<br>20. cd ../rabbitmq-server<br>21. ./scripts/rabbitmq-activate-plugins<br>22. make cleandb run</div>
<div> </div>
<div> </div>
<div> </div>
<div>Please let me know your suggestions.</div>
<div> </div>
<div>Thanks in adavance.</div>
<div>Seema</div><br></div></div>_______________________________________________<br>rabbitmq-discuss mailing list<br><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br><br></blockquote></div><br></blockquote></div><br></div>
</div></blockquote></div><br></div></div></blockquote></div><br></div></div></blockquote></div><br></div></div></blockquote></div><br></div></div></blockquote></div><br></div></div></blockquote></div><br></div></div></blockquote>
</div><br></div></div></blockquote></div><br></div></div></blockquote></div><br></div></div></blockquote></div><br></div></div><br>_______________________________________________<br>rabbitmq-discuss mailing list<br><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br><br></blockquote></div><br></div></div></blockquote>
</div><br>