With known problems in metronome this is probably obsolete, but <br>here goes anyway:<br><br>&#39;make run&#39; creates the following files in /tmp:<br><br>bunny-sasl.log shows:<br><br><div style="margin-left: 40px;"><font face="courier new,monospace">=CRASH REPORT==== 18-Mar-2011::14:52:03 ===<br>

� crasher:<br>��� pid: &lt;0.247.0&gt;<br>
��� registered_name: []<br>��� exception exit: {undef,[{amqp_connection,start_direct,[]},<br>��������������������������� {rabbit_metronome_worker,init,1},<br>��������������������������� {gen_server,init_it,6},<br>��������������������������� {proc_lib,init_p_do_apply,3}]}<br>


����� in function� gen_server:init_it/6<br>��� initial call: rabbit_metronome_worker:init/1<br>��� ancestors: [rabbit_metronome_sup,&lt;0.245.0&gt;]<br>��� messages: [] <br>��� links: [&lt;0.246.0&gt;]<br>��� dictionary: []<br>


��� trap_exit: false<br>��� status: running<br>��� heap_size: 233<br>��� stack_size: 23<br>��� reductions: 139 <br>� neighbours:<br><br>=SUPERVISOR REPORT==== 18-Mar-2011::14:52:03 ===<br>���� Supervisor: {local,rabbit_metronome_sup}<br>


���� Context:��� start_error<br>���� Reason:���� {undef,[{amqp_connection,start_direct,[]},<br>������������������������ {rabbit_metronome_worker,init,1},<br>������������������������ {gen_server,init_it,6},<br>������������������������ {proc_lib,init_p_do_apply,3}]}<br>


���� Offender:�� [{pid,undefined},<br>����������������� {name,rabbit_metronome_worker},<br>����������������� {mfa,{rabbit_metronome_worker,start_link,[]}},<br>����������������� {restart_type,permanent},<br>����������������� {shutdown,10000},<br>


����������������� {child_type,worker}]<br>��� <br>��� <br>=CRASH REPORT==== 18-Mar-2011::14:52:03 ===<br>� crasher:<br>��� pid: &lt;0.244.0&gt;<br>��� registered_name: []<br>��� exception exit: {shutdown,{rabbit_metronome,start,[normal,[]]}}<br>


����� in function� application_master:init/4<br>��� initial call: application_master:init/4<br>��� ancestors: [&lt;0.243.0&gt;]<br>��� messages: [{&#39;EXIT&#39;,&lt;0.245.0&gt;,normal}]<br>��� links: [&lt;0.243.0&gt;,&lt;0.6.0&gt;]<br>


��� dictionary: []<br>��� trap_exit: true<br>��� status: running<br>��� heap_size: 233<br>��� stack_size: 23<br>��� reductions: 100<br>� neighbours:<br></font><br></div><br><br><br>bunny.log shows:<br><br><div style="margin-left: 40px; font-family: courier new,monospace;">


=INFO REPORT==== 18-Mar-2011::14:52:03 === <br>Limiting to approx 924 file handles (829 sockets)<br><br>=INFO REPORT==== 18-Mar-2011::14:52:03 === <br>��� application: mnesia<br>��� exited: stopped<br>��� type: permanent<br>


<br>=INFO REPORT==== 18-Mar-2011::14:52:03 === <br>Memory limit set to 1416MB.<br><br>=INFO REPORT==== 18-Mar-2011::14:52:03 === <br>Added vhost &lt;&lt;&quot;/&quot;&gt;&gt;<br><br>=INFO REPORT==== 18-Mar-2011::14:52:03 === <br>


Created user &lt;&lt;&quot;guest&quot;&gt;&gt;<br><br>=INFO REPORT==== 18-Mar-2011::14:52:03 === <br>Set user admin flag for user &lt;&lt;&quot;guest&quot;&gt;&gt; to true<br><br>=INFO REPORT==== 18-Mar-2011::14:52:03 === <br>


msg_store_transient: using rabbit_msg_store_ets_index to provide index<br><br>=INFO REPORT==== 18-Mar-2011::14:52:03 === <br>msg_store_persistent: using rabbit_msg_store_ets_index to provide index<br><br>=WARNING REPORT==== 18-Mar-2011::14:52:03 === <br>


msg_store_persistent: rebuilding indices from scratch<br><br>=INFO REPORT==== 18-Mar-2011::14:52:03 === <br>started TCP Listener on [::]:5679<br><br>=INFO REPORT==== 18-Mar-2011::14:52:03 === <br>��� application: rabbit_metronome<br>


��� exited: {shutdown,{rabbit_metronome,start,[normal,[]]}}<br>��� type: permanent<br><br>=INFO REPORT==== 18-Mar-2011::14:52:03 === <br>stopped TCP Listener on [::]:5679<br></div><br>Thanks,<br><br>
- Jim<br><br>Jim Irrer� �� <a href="mailto:irrer@umich.edu" target="_blank">irrer@umich.edu</a>� � �� <a href="tel:%28734%29%20647-4409" target="_blank">(734) 647-4409</a><br>University of Michigan Hospital Radiation Oncology<br>

519 W. William St.� � � � � �� Ann Arbor, MI 48103<br>
<br><br><div class="gmail_quote">On Fri, Mar 18, 2011 at 12:56 PM, Jerry Kuch <span dir="ltr">&lt;<a href="mailto:jerryk@vmware.com" target="_blank">jerryk@vmware.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


Hi, Jim...<br>
<br>
Can you look in the directory Rabbit&#39;s dropping logs into (see RABBIT_LOG_BASE in the broker&#39;s startup preamble) and take a peek at the rabbit and SASL logs? �There may be a bit more information in there on what made the metronome application unhappy when it tried to start up...<br>



<br>
Best regards,<br>
Jerry<br>
<br>
________________________________________<br>
From: <a href="mailto:rabbitmq-discuss-bounces@lists.rabbitmq.com" target="_blank">rabbitmq-discuss-bounces@lists.rabbitmq.com</a> [<a href="mailto:rabbitmq-discuss-bounces@lists.rabbitmq.com" target="_blank">rabbitmq-discuss-bounces@lists.rabbitmq.com</a>] On Behalf Of Jim Irrer [<a href="mailto:irrer@umich.edu" target="_blank">irrer@umich.edu</a>]<br>



Sent: Friday, March 18, 2011 9:22 AM<br>
To: <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
Cc: Jim Irrer<br>
Subject: Re: [rabbitmq-discuss] Fwd: Problem with plugin development guide � � �example<br>
<div><div></div><div><br>
That was helpful - I got farther - but not there yet.<br>
<br>
I did the checkout of the umbrella with the command above:<br>
<br>
hg clone <a href="http://hg.rabbitmq.com/rabbitmq-public-umbrella" target="_blank">http://hg.rabbitmq.com/rabbitmq-public-umbrella</a> -r bug23568<br>
<br>
but I did the &#39;make co&#39; without any special parameters, so I assumed<br>
that it did hg commands with respect to the bug23568 branch.<br>
<br>
I built the metronome project as outlined on the Rabbit site and added<br>
the rabbit_metronome-0.0.0.ez and amqp_client.ez files to the<br>
rabbitmq-public-umbrella/rabbitmq-server/plugins directory, but when I<br>
start it up I get:<br>
<br>
linus:make run<br>
RABBITMQ_NODE_IP_ADDRESS=&quot;&quot; RABBITMQ_NODE_PORT=&quot;5679&quot; RABBITMQ_LOG_BASE=&quot;/tmp&quot; RABBITMQ_MNESIA_DIR=&quot;/tmp/rabbitmq-bunny-mnesia&quot; RABBITMQ_PLUGINS_EXPAND_DIR=&quot;/tmp/rabbitmq-bunny-plugins-scratch&quot; \<br>



 � � � � � � � �RABBITMQ_ALLOW_INPUT=true \<br>
 � � � � � � � �RABBITMQ_SERVER_START_ARGS=&quot;&quot; \<br>
 � � � � � � � �./scripts/rabbitmq-server<br>
Activating RabbitMQ plugins ...<br>
*WARNING* Undefined function amqp_connection:start_direct/0<br>
*WARNING* Undefined function gb_trees:map/2<br>
*WARNING* Undefined function os:timestamp/0<br>
*WARNING* Undefined function random:seed/1<br>
*WARNING* Undefined function ssl:ssl_accept/3<br>
2 plugins activated:<br>
* amqp_client-0.0.0<br>
* rabbit_metronome-0.0.0<br>
<br>
Erlang (BEAM) emulator version 5.6.5 [source] [64-bit] [smp:2] [async-threads:30] [hipe] [kernel-poll:true]<br>
<br>
<br>
+---+ � +---+<br>
| � | � | � |<br>
| � | � | � |<br>
| � | � | � |<br>
| � +---+ � +-------+<br>
| � � � � � � � � � |<br>
| RabbitMQ �+---+ � |<br>
| � � � � � | � | � |<br>
| v%%VSN%% �+---+ � |<br>
| � � � � � � � � � |<br>
+-------------------+<br>
AMQP 0-9-1 / 0-9 / 0-8<br>
Copyright (C) 2007-2011 VMware, Inc.<br>
Licensed under the MPL. �See <a href="http://www.rabbitmq.com/" target="_blank">http://www.rabbitmq.com/</a><br>
<br>
node � � � � � : bunny@linus<br>
app descriptor : /devel/home/irrer/tmp/erl/r2/rabbitmq-public-umbrella/rabbitmq-server/scripts/../ebin/rabbit.app<br>
home dir � � � : /home/irrer<br>
config file(s) : (none)<br>
cookie hash � �: JG6HnrDO2nMIVTU2s7iwoA==<br>
log � � � � � �: /tmp/bunny.log<br>
sasl log � � � : /tmp/bunny-sasl.log<br>
database dir � : /tmp/rabbitmq-bunny-mnesia<br>
erlang version : 5.6.5<br>
<br>
starting file handle cache server � � � � � � � � � � � � � � � � � � ...done<br>
starting worker pool � � � � � � � � � � � � � � � � � � � � � � � � �...done<br>
starting database � � � � � � � � � � � � � � � � � � � � � � � � � � ...done<br>
starting codec correctness check � � � � � � � � � � � � � � � � � � �...done<br>
-- external infrastructure ready<br>
starting statistics event manager � � � � � � � � � � � � � � � � � � ...done<br>
starting logging server � � � � � � � � � � � � � � � � � � � � � � � ...done<br>
starting plugin registry � � � � � � � � � � � � � � � � � � � � � � �...done<br>
starting auth mechanism amqplain � � � � � � � � � � � � � � � � � � �...done<br>
starting auth mechanism cr-demo � � � � � � � � � � � � � � � � � � � ...done<br>
starting auth mechanism plain � � � � � � � � � � � � � � � � � � � � ...done<br>
starting exchange type direct � � � � � � � � � � � � � � � � � � � � ...done<br>
starting exchange type fanout � � � � � � � � � � � � � � � � � � � � ...done<br>
starting exchange type headers � � � � � � � � � � � � � � � � � � � �...done<br>
starting exchange type topic � � � � � � � � � � � � � � � � � � � � �...done<br>
-- kernel ready<br>
starting node monitor � � � � � � � � � � � � � � � � � � � � � � � � ...done<br>
starting cluster delegate � � � � � � � � � � � � � � � � � � � � � � ...done<br>
starting guid generator � � � � � � � � � � � � � � � � � � � � � � � ...done<br>
starting alarm handler � � � � � � � � � � � � � � � � � � � � � � � �...done<br>
starting memory monitor � � � � � � � � � � � � � � � � � � � � � � � ...done<br>
-- core initialized<br>
starting empty DB check � � � � � � � � � � � � � � � � � � � � � � � ...done<br>
starting exchange recovery � � � � � � � � � � � � � � � � � � � � � �...done<br>
starting queue supervisor and queue recovery � � � � � � � � � � � � �...done<br>
-- message delivery logic ready<br>
starting error log relay � � � � � � � � � � � � � � � � � � � � � � �...done<br>
starting networking � � � � � � � � � � � � � � � � � � � � � � � � � ...done<br>
starting notify cluster nodes � � � � � � � � � � � � � � � � � � � � ...done<br>
starting direct_client � � � � � � � � � � � � � � � � � � � � � � � �...done<br>
<br>
broker running<br>
Eshell V5.6.5 �(abort with ^G)<br>
(bunny@linus)1&gt; Erlang has closed<br>
 � � � � � � � � � � � � � � � � {&quot;Kernel pid terminated&quot;,application_controller,&quot;{application_start_failure,rabbit_metronome,{shutdown,{rabbit_metronome,start,[normal,[]]}}}&quot;}<br>
<br>
Crash dump was written to: erl_crash.dump<br>
Kernel pid terminated (application_controller) ({application_start_failure,rabbit_metronome,{shutdown,{rabbit_metronome,start,[normal,[]]}}})<br>
<br>
And as advertised it creates a big honkin&#39; dump file.<br>
<br>
I also had to create symbolic links so that the code would build. �In my<br>
rabbitmq-public-umbrella/rabbit_metronome directory I created:<br>
<br>
amqp_client -&gt; ../rabbitmq-erlang-client/dist/amqp_client<br>
rabbit_common -&gt; ../rabbitmq-erlang-client/dist/rabbit_common<br>
<br>
The server works fine if run without adding plugins, but when I add them<br>
it bombs, so I know the plugins are the problem (Right?).<br>
<br>
I&#39;m new to Erlang (interesting language), so all I did was cut and paste<br>
the example Erlang code, so if that code is out of date then it would be a problem.<br>
<br>
Also: I changed the port to 5679 so it would not interfere with the official<br>
installed RabbitMQ server on the same machine, and I set RABBITMQ_NODENAME<br>
to &#39;bunny&#39;.<br>
<br>
Thanks,<br>
<br>
- Jim<br>
<br>
</div></div>Jim Irrer � � <a href="mailto:irrer@umich.edu" target="_blank">irrer@umich.edu</a>&lt;mailto:<a href="mailto:irrer@umich.edu" target="_blank">irrer@umich.edu</a>&gt; � � � <a href="tel:%28734%29%20647-4409" target="_blank">(734) 647-4409</a>&lt;tel:%28734%29%20647-4409&gt;<br>



<div>University of Michigan Hospital Radiation Oncology<br>
519 W. William St. � � � � � � Ann Arbor, MI 48103<br>
<br>
<br>
</div><div>On Thu, Mar 17, 2011 at 8:27 AM, Matthew Sackman &lt;<a href="mailto:matthew@rabbitmq.com" target="_blank">matthew@rabbitmq.com</a>&lt;mailto:<a href="mailto:matthew@rabbitmq.com" target="_blank">matthew@rabbitmq.com</a>&gt;&gt; wrote:<br>



On Tue, Mar 15, 2011 at 07:00:28PM -0400, Jim Irrer wrote:<br>
&gt; If I checkout the latest server code, will I get the bug23274 fix?<br>
<br>
Nope. bug23274 has been abandoned. bug23568 replaces it, but is yet to<br>
go through QA. None of the documentation regarding writing plugins has<br>
been updated.<br>
<br>
&gt; If not, what is the Mercurial command to get it?<br>
<br>
hg clone <a href="http://hg.rabbitmq.com/rabbitmq-public-umbrella" target="_blank">http://hg.rabbitmq.com/rabbitmq-public-umbrella</a> -r bug23568<br>
<br>
But you&#39;ll need to make sure all the plugins are also on branch bug23568<br>
for them to work with the new build system.<br>
<br>
If you&#39;re writing plugins from scratch, be sure to read the<br>
rabbitmq-public-umbrella/README.makefiles file, which has a helpful<br>
section on &quot;Creating a new package&quot;.<br>
<br>
Matthew<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
</div><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a>&lt;mailto:<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a>&gt;<br>


<div><div></div><div><a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br>
</div></div></blockquote></div><br>