[rabbitmq-discuss] Rabbit Crash on Startup

Edwin Fine rabbitmq-discuss_efine at usa.net
Mon Aug 25 02:04:42 BST 2008


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.

   1. Ensure Erlang is installed. I recommend the latest R12 release.
   2. Download rabbitmq-server-1.4.0.tar.gz from the www.rabbitmq.com site.
   The current link is
   http://www.rabbitmq.com/releases/binary/rabbitmq-server-1.4.0.tar.gz, but
   this may change in future. Then type in the following command lines.
   $ sudo bash; cd /usr/local/lib/erlang/lib
   $ tar xfz $SOME_DIR/rabbitmq-server-1.4.0.tar.gz
   $ groupadd rabbitmq
   $ useradd -c 'RabbitMQ Control Account' -m -d /home/rabbitmq -G
   erts,rabbitmq -s /bin/bash rabbitmq
   $ passwd rabbitmq # Add some suitable password
   $ chown -R rabbitmq:rabbitmq
   $ cd /usr/local/sbin
   $ ln -s /usr/local/lib/erlang/lib/rabbitmq_server-1.4.0/sbin/rabbitmqctl
   $ ln -s
   /usr/local/lib/erlang/lib/rabbitmq_server-1.4.0/sbin/rabbitmq-multi .
   $ ln -s
   /usr/local/lib/erlang/lib/rabbitmq_server-1.4.0/sbin/rabbitmq-server .
   $ mkdir -p /var/log/rabbitmq; chown -R rabbitmq:rabbitmq
   $ mkdir -p /var/lib/rabbitmq/mnesia; chown -R rabbitmq:rabbitmq
   3. 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:
   4. amqp            5672/tcp   # AMQP
   amqp            5672/udp   # AMQP
   5. Start RabbitMQ

Hope this helps.

Edwin Fine

On Sun, Aug 24, 2008 at 8:40 PM, Pete Kay <petedao at gmail.com> wrote:

> Hi,
> 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.
> 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:
> debian:/usr/src/rabbitmq/rabbitmq-server-1.4.0/scripts# ./rabbitmq-server
> RabbitMQ 1.4.0 (AMQP 8-0)
> Copyright (C) 2007-2008 LShift Ltd., Cohesive Financial Technologies LLC.,
> and Rabbit Technologies Ltd.
> Licensed under the MPL.  See http://www.rabbitmq.com/
> Logging to "/var/log/rabbitmq/rabbit.log"
> SASL logging to "/var/log/rabbitmq/rabbit-sasl.log"
> starting database             ...done
> starting core processes       ...done
> starting recovery             ...done
> starting persister            ...done
> starting builtin applications ...done
> 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}]}}
> Crash dump was written to: erl_crash.dump
> init terminating in do_boot ()
> debian:/usr/src/rabbitmq/rabbitmq-server-1.4.0/scripts#
> Any help will be greatly appreciated.
> Best Regards,
> Pete
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

For every expert there is an equal and opposite expert - Arthur C. Clarke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20080824/80f9bf4f/attachment.htm 

More information about the rabbitmq-discuss mailing list