<div dir="ltr">Pete,<br><br>This is the procedure I use to install RabbitMQ on Ubuntu, which is Debian based. You don't necessarily have to do it all, but if you do, I am sure it will work.<br><ol id="k511"><li id="cgrw">
Ensure Erlang is installed. I recommend the latest R12 release.<br id="x:j0"></li><li id="jn9c14">Download
rabbitmq-server-1.4.0.tar.gz from the <a href="http://www.rabbitmq.com">www.rabbitmq.com</a> site. The
current link is
<a href="http://www.rabbitmq.com/releases/binary/rabbitmq-server-1.4.0.tar.gz">http://www.rabbitmq.com/releases/binary/rabbitmq-server-1.4.0.tar.gz</a>,
but this may change in future. Then type in the following command lines.<br id="pvms"><span id="upck" style="font-family: Courier New;">$ sudo bash; cd /usr/local/lib/erlang/lib</span><br style="font-family: Courier New;" id="x7jf">
<span id="uluw" style="font-family: Courier New;">$ tar xfz $SOME_DIR/rabbitmq-server-1.4.0.tar.gz</span><br style="font-family: Courier New;" id="xoxm"><span id="j42e" style="font-family: Courier New;">$ groupadd rabbitmq</span><br style="font-family: Courier New;" id="dtvc">
<span id="s2i2" style="font-family: Courier New;">$ useradd -c 'RabbitMQ Control Account' -m -d /home/rabbitmq -G erts,rabbitmq -s /bin/bash rabbitmq</span><br style="font-family: Courier New;" id="s7fl"><span id="ehy8" style="font-family: Courier New;">$ passwd rabbitmq # Add some suitable password</span><br style="font-family: Courier New;" id="vqc5">
<span id="z:d6" style="font-family: Courier New;">$ chown -R rabbitmq:rabbitmq /usr/local/lib/erlang/lib/rabbitmq_server-1.4.0</span><br style="font-family: Courier New;" id="gfsb"><span id="qzp2" style="font-family: Courier New;">$ cd /usr/local/sbin</span><br style="font-family: Courier New;" id="b_dp">
<span id="pofc" style="font-family: Courier New;">$ ln -s /usr/local/lib/erlang/lib/rabbitmq_server-1.4.0/sbin/rabbitmqctl .</span><br style="font-family: Courier New;" id="ehh8"><span id="mcgf" style="font-family: Courier New;">$ ln -s /usr/local/lib/erlang/lib/rabbitmq_server-1.4.0/sbin/rabbitmq-multi .</span><br style="font-family: Courier New;" id="i.zv">
<span id="el.b" style="font-family: Courier New;">$ ln -s /usr/local/lib/erlang/lib/rabbitmq_server-1.4.0/sbin/rabbitmq-server .</span><br style="font-family: Courier New;" id="e6l4"><span id="ud940" style="font-family: Courier New;">$ mkdir -p /var/log/rabbitmq; chown -R rabbitmq:rabbitmq /var/log/rabbitmq</span><br style="font-family: Courier New;" id="fd6m">
<span id="v8g7" style="font-family: Courier New;">$ mkdir -p /var/lib/rabbitmq/mnesia; chown -R rabbitmq:rabbitmq /var/lib/rabbitmq</span></li><li id="jn9c15">Ensure
that port 5672 is in /etc/services for both tcp and udp. It may already
be there, named amqp (RabbitMQ is an AMQP implementer). If not, add it
to /etc/services:</li><li style="font-family: Courier New;" id="jn9c16">amqp 5672/tcp # AMQP<br id="j68m">amqp 5672/udp # AMQP</li><li id="jn9c18">Start RabbitMQ<br id="i1a0"><span id="j_8j" style="font-family: Courier New;"></span></li>
</ol>Hope this helps.<br><br>Regards,<br>Edwin Fine<br><br><div class="gmail_quote">On Sun, Aug 24, 2008 at 8:40 PM, Pete Kay <span dir="ltr"><<a href="mailto:petedao@gmail.com">petedao@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr"><div class="gmail_quote"><br><br><div dir="ltr">Hi,<br><br>I am very sorry to email multiple times to this list for my problem. I am just starting out to learn to use RabbitMQ. Hopefully, things will get better when I get more experience with this excellent tools.<br>
<br>I was not able to use Debian install, but I managed to install the tarball, so that is what I am using. When I attempted to start the server with the rabbitmq-server, I am getting the following error: <br><br>debian:/usr/src/rabbitmq/rabbitmq-server-1.4.0/scripts# ./rabbitmq-server<br>
RabbitMQ 1.4.0 (AMQP 8-0)<br>Copyright (C) 2007-2008 LShift Ltd., Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd.<br>Licensed under the MPL. See <a href="http://www.rabbitmq.com/" target="_blank">http://www.rabbitmq.com/</a><br>
<br>Logging to "/var/log/rabbitmq/rabbit.log"<br>SASL logging to "/var/log/rabbitmq/rabbit-sasl.log"<br><br>starting database ...done<br>starting core processes ...done<br>starting recovery ...done<br>
starting persister ...done<br>starting builtin applications ...done<br>starting TCP listeners ...{"init terminating in do_boot",{{nocatch,{error,{cannot_start_application,rabbit,{bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{{badmatch,{error,{shutdown,{child,undefined,'rabbit_tcp_listener_sup_0.0.0.0:5672',{tcp_listener_sup,start_link,[{0,0,0,0},5672,[binary,{packet,raw},{reuseaddr,true},{exit_on_close,false}],{rabbit_networking,tcp_listener_started,[]},{rabbit_networking,tcp_listener_stopped,[]},{rabbit_networking,start_client,[]}]},transient,infinity,supervisor,[tcp_listener_sup]}}}},[{rabbit_networking,start_tcp_listener,2},{rabbit,'-start/2-fun-6-',1},{lists,foreach,2},{rabbit,'-start/2-fun-0-',1},{lists,foreach,2},{rabbit,start,2},{application_master,start_it_old,4}]}}}}}}},[{init,start_it,1},{init,start_em,1}]}}<br>
<br>Crash dump was written to: erl_crash.dump<br>init terminating in do_boot ()<br>debian:/usr/src/rabbitmq/rabbitmq-server-1.4.0/scripts#<br><br><br>Any help will be greatly appreciated.<br><br>Best Regards,<br>Pete<br>
<br>
</div>
</div><br></div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>For every expert there is an equal and opposite expert - Arthur C. Clarke<br>
</div>