<div dir="ltr"><div style>Hi,</div><div style><br></div>The OTP packaging has been merged into default, at the moment it works for Mac only. Some of the files involved in making the release are here: <a href="http://hg.rabbitmq.com/rabbitmq-server/file/0271f21bd596/packaging/standalone">http://hg.rabbitmq.com/rabbitmq-server/file/0271f21bd596/packaging/standalone</a><div>
<br></div><div style>Then the sbin scripts have been modified to support different erlang boot files and so on.</div><div style><br></div><div style>The related bug branch is bug25271.</div>







<div style><br></div><div style>Regards,</div><div style><br></div><div style>Alvaro</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 26, 2013 at 2:19 PM, Tim Watson <span dir="ltr">&lt;<a href="mailto:tim@rabbitmq.com" target="_blank">tim@rabbitmq.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Another thing to consider is that you&#39;re starting the vm via a script, you might be able to get away with setting SYS_PREFIX in rabbitmq-defaults (as the generic unix packaging does). We&#39;re also working on OTP packaging (i.e., delivering rabbit as a self contained package/release), though I&#39;m not sure what kind of timescales are involved in that.<br>

<br>
Cheers,<br>
Tim<br>
<div class="HOEnZb"><div class="h5"><br>
On 26 Mar 2013, at 13:11, Tim Watson wrote:<br>
<br>
&gt; Take a good look at the startup scripts. There are environment variables aplenty and various things that get passed the beam as arguments - you&#39;ll need to filter through those and make sure everything is set up properly in order for the startup sequence to work.<br>

&gt;<br>
&gt; Cheers,<br>
&gt; Tim<br>
&gt;<br>
&gt; On 26 Mar 2013, at 12:18, Jorge Diz Pico wrote:<br>
&gt;<br>
&gt;&gt; Hi folks, I&#39;m trying to run a RabbitMQ server the OTP way, but it&#39;s<br>
&gt;&gt; becoming harder than I thought. I added all dependencies to my<br>
&gt;&gt; release, but when I run application:start(rabbit), I get the following<br>
&gt;&gt; error:<br>
&gt;&gt;<br>
&gt;&gt; [...]<br>
&gt;&gt; -- rabbit boot start<br>
&gt;&gt; starting file handle cache server                                     ...done<br>
&gt;&gt; starting worker pool                                                  ...done<br>
&gt;&gt; starting database                                                     ...<br>
&gt;&gt;<br>
&gt;&gt; BOOT FAILED<br>
&gt;&gt; ===========<br>
&gt;&gt;<br>
&gt;&gt; Error description:<br>
&gt;&gt;  {error,{corrupt_or_missing_cluster_files,{error,enoent},{error,enoent}}}<br>
&gt;&gt;<br>
&gt;&gt; Log files (may contain more information):<br>
&gt;&gt;  undefined<br>
&gt;&gt;  undefined<br>
&gt;&gt;<br>
&gt;&gt; Stack trace:<br>
&gt;&gt;  [{rabbit_node_monitor,read_cluster_status,0,<br>
&gt;&gt;                        [{file,&quot;src/rabbit_node_monitor.erl&quot;},{line,139}]},<br>
&gt;&gt;   {rabbit_mnesia,cluster_status,1,<br>
&gt;&gt;                  [{file,&quot;src/rabbit_mnesia.erl&quot;},{line,391}]},<br>
&gt;&gt;   {rabbit_mnesia,node_type,0,[{file,&quot;src/rabbit_mnesia.erl&quot;},{line,410}]},<br>
&gt;&gt;   {rabbit_mnesia,init,0,[{file,&quot;src/rabbit_mnesia.erl&quot;},{line,97}]},<br>
&gt;&gt;   {rabbit,&#39;-run_boot_step/1-lc$^1/1-1-&#39;,1,<br>
&gt;&gt;           [{file,&quot;src/rabbit.erl&quot;},{line,481}]},<br>
&gt;&gt;   {rabbit,run_boot_step,1,[{file,&quot;src/rabbit.erl&quot;},{line,480}]},<br>
&gt;&gt;   {rabbit,&#39;-start/2-lc$^0/1-0-&#39;,1,[{file,&quot;src/rabbit.erl&quot;},{line,440}]},<br>
&gt;&gt;   {rabbit,start,2,[{file,&quot;src/rabbit.erl&quot;},{line,440}]}]<br>
&gt;&gt; [...]<br>
&gt;&gt;<br>
&gt;&gt; But of course there are no clusters and there had never been (fresh run).<br>
&gt;&gt;<br>
&gt;&gt; Has anybody managed to do this? There has to be a way to embed the<br>
&gt;&gt; RabbitMQ server in your own applications.<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; rabbitmq-discuss mailing list<br>
&gt;&gt; <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
&gt;&gt; <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>
&gt;<br>
&gt; _______________________________________________<br>
&gt; rabbitmq-discuss mailing list<br>
&gt; <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
&gt; <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>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<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>
</div></div></blockquote></div><br></div>