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