<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"><<a href="mailto:tim@rabbitmq.com" target="_blank">tim@rabbitmq.com</a>></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'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're also working on OTP packaging (i.e., delivering rabbit as a self contained package/release), though I'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>
> Take a good look at the startup scripts. There are environment variables aplenty and various things that get passed the beam as arguments - you'll need to filter through those and make sure everything is set up properly in 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 ...done<br>
>> starting worker pool ...done<br>
>> starting database ...<br>
>><br>
>> BOOT FAILED<br>
>> ===========<br>
>><br>
>> Error description:<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>
>> [{file,"src/rabbit_node_monitor.erl"},{line,139}]},<br>
>> {rabbit_mnesia,cluster_status,1,<br>
>> [{file,"src/rabbit_mnesia.erl"},{line,391}]},<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>
>> {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 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>
</div></div></blockquote></div><br></div>