<div dir="ltr">That&#39;s great to hear. AFAIK there&#39;s nothing Mac specific in the OTP packaging, the thing is for now we only integrated the build for Mac, that is Erlang and so on is built on the Mac. So it&#39;s great to know that it also works on RHEL</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 27, 2013 at 7:23 PM, Jorge Diz Pico <span dir="ltr">&lt;<a href="mailto:jorge.diz@nomasystems.com" target="_blank">jorge.diz@nomasystems.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I tried my luck at the OTP packaging in RHEL6 and it seems to work as<br>
fine as it did on my MacBook, so I&#39;ll take my chances with it.<br>
<br>
Thank y&#39;all for your replies.<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Mar 26, 2013 at 2:30 PM, Alvaro Videla &lt;<a href="mailto:videlalvaro@gmail.com">videlalvaro@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; The OTP packaging has been merged into default, at the moment it works for<br>
&gt; Mac only. Some of the files involved in making the release are here:<br>
&gt; <a href="http://hg.rabbitmq.com/rabbitmq-server/file/0271f21bd596/packaging/standalone" target="_blank">http://hg.rabbitmq.com/rabbitmq-server/file/0271f21bd596/packaging/standalone</a><br>
&gt;<br>
&gt; Then the sbin scripts have been modified to support different erlang boot<br>
&gt; files and so on.<br>
&gt;<br>
&gt; The related bug branch is bug25271.<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Alvaro<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Mar 26, 2013 at 2:19 PM, Tim Watson &lt;<a href="mailto:tim@rabbitmq.com">tim@rabbitmq.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Another thing to consider is that you&#39;re starting the vm via a script, you<br>
&gt;&gt; might be able to get away with setting SYS_PREFIX in rabbitmq-defaults (as<br>
&gt;&gt; the generic unix packaging does). We&#39;re also working on OTP packaging (i.e.,<br>
&gt;&gt; delivering rabbit as a self contained package/release), though I&#39;m not sure<br>
&gt;&gt; what kind of timescales are involved in that.<br>
&gt;&gt;<br>
&gt;&gt; Cheers,<br>
&gt;&gt; Tim<br>
&gt;&gt;<br>
&gt;&gt; On 26 Mar 2013, at 13:11, Tim Watson wrote:<br>
&gt;&gt;<br>
&gt;&gt; &gt; Take a good look at the startup scripts. There are environment variables<br>
&gt;&gt; &gt; aplenty and various things that get passed the beam as arguments - you&#39;ll<br>
&gt;&gt; &gt; need to filter through those and make sure everything is set up properly in<br>
&gt;&gt; &gt; order for the startup sequence to work.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Cheers,<br>
&gt;&gt; &gt; Tim<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On 26 Mar 2013, at 12:18, Jorge Diz Pico wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; Hi folks, I&#39;m trying to run a RabbitMQ server the OTP way, but it&#39;s<br>
&gt;&gt; &gt;&gt; becoming harder than I thought. I added all dependencies to my<br>
&gt;&gt; &gt;&gt; release, but when I run application:start(rabbit), I get the following<br>
&gt;&gt; &gt;&gt; error:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; [...]<br>
&gt;&gt; &gt;&gt; -- rabbit boot start<br>
&gt;&gt; &gt;&gt; starting file handle cache server<br>
&gt;&gt; &gt;&gt; ...done<br>
&gt;&gt; &gt;&gt; starting worker pool<br>
&gt;&gt; &gt;&gt; ...done<br>
&gt;&gt; &gt;&gt; starting database<br>
&gt;&gt; &gt;&gt; ...<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; BOOT FAILED<br>
&gt;&gt; &gt;&gt; ===========<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Error description:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; {error,{corrupt_or_missing_cluster_files,{error,enoent},{error,enoent}}}<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Log files (may contain more information):<br>
&gt;&gt; &gt;&gt; �undefined<br>
&gt;&gt; &gt;&gt; �undefined<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Stack trace:<br>
&gt;&gt; &gt;&gt; �[{rabbit_node_monitor,read_cluster_status,0,<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; [{file,&quot;src/rabbit_node_monitor.erl&quot;},{line,139}]},<br>
&gt;&gt; &gt;&gt; � {rabbit_mnesia,cluster_status,1,<br>
&gt;&gt; &gt;&gt; � � � � � � � � �[{file,&quot;src/rabbit_mnesia.erl&quot;},{line,391}]},<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; {rabbit_mnesia,node_type,0,[{file,&quot;src/rabbit_mnesia.erl&quot;},{line,410}]},<br>
&gt;&gt; &gt;&gt; � {rabbit_mnesia,init,0,[{file,&quot;src/rabbit_mnesia.erl&quot;},{line,97}]},<br>
&gt;&gt; &gt;&gt; � {rabbit,&#39;-run_boot_step/1-lc$^1/1-1-&#39;,1,<br>
&gt;&gt; &gt;&gt; � � � � � [{file,&quot;src/rabbit.erl&quot;},{line,481}]},<br>
&gt;&gt; &gt;&gt; � {rabbit,run_boot_step,1,[{file,&quot;src/rabbit.erl&quot;},{line,480}]},<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; {rabbit,&#39;-start/2-lc$^0/1-0-&#39;,1,[{file,&quot;src/rabbit.erl&quot;},{line,440}]},<br>
&gt;&gt; &gt;&gt; � {rabbit,start,2,[{file,&quot;src/rabbit.erl&quot;},{line,440}]}]<br>
&gt;&gt; &gt;&gt; [...]<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; But of course there are no clusters and there had never been (fresh<br>
&gt;&gt; &gt;&gt; run).<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Has anybody managed to do this? There has to be a way to embed the<br>
&gt;&gt; &gt;&gt; RabbitMQ server in your own applications.<br>
&gt;&gt; &gt;&gt; _______________________________________________<br>
&gt;&gt; &gt;&gt; rabbitmq-discuss mailing list<br>
&gt;&gt; &gt;&gt; <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
&gt;&gt; &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;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; rabbitmq-discuss mailing list<br>
&gt;&gt; &gt; <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
&gt;&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;&gt;<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;<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>
&gt;<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>