[rabbitmq-discuss] Issues getting RabbitMQ running using apt-get

Jason Frame Frame at SNHDMAIL.ORG
Wed Mar 12 23:56:56 GMT 2014


I have had no luck getting RabbitMQ to run using the apt repository.  I have been working on this for a couple of weeks now.

The server is Ubuntu 12.04 running on Linode, and I have opened up port 5672 on the iptables firewall.


Installation gets this far and then just hangs:


Unpacking rabbitmq-server (from .../rabbitmq-server_3.2.4-1_all.deb) ...

Processing triggers for man-db ...

Processing triggers for ureadahead ...

Setting up rabbitmq-server (3.2.4-1) ...

 * Starting message broker rabbitmq-server



ps aux | grep rabbit shows:

root      1756  0.0  0.0  38952  1648 pts/2    S+   16:44   0:00 sudo apt-get install rabbitmq-server

root      1757  0.1  0.6  85208 50344 pts/2    S+   16:44   0:01 apt-get install rabbitmq-server

root      2071  0.0  0.0  14636  3180 pts/0    Ss+  16:44   0:00 /usr/bin/dpkg --status-fd 63 --configure rabbitmq-server:all

root      2072  0.0  0.0   4408   684 pts/0    S+   16:44   0:00 /bin/sh /var/lib/dpkg/info/rabbitmq-server.postinst configure

root      2078  0.0  0.0   4408   708 pts/0    S+   16:44   0:00 /bin/sh /usr/sbin/invoke-rc.d rabbitmq-server start

root      2094  0.0  0.0   4408   752 pts/0    S+   16:44   0:00 /bin/sh /etc/init.d/rabbitmq-server start

rabbitmq  2146  0.0  0.0   4408   612 ?        S    16:44   0:00 /bin/sh /usr/sbin/rabbitmq-server

root      2147  0.0  0.0   4408   676 pts/0    S+   16:44   0:00 /bin/sh /usr/sbin/rabbitmqctl wait /var/run/rabbitmq/pid

rabbitmq  2155  0.3  0.3 2236732 31120 ?       Sl   16:44   0:01 /usr/lib/erlang/erts-5.8.5/bin/beam.smp -W w -K true -A30 -P 1048576 -- -root /usr/lib/erlang -progname erl -- -home /var/lib/rabbitmq -- -pa /usr/lib/rabbitmq/lib/rabbitmq_server-3.2.4/sbin/../ebin -noshell -noinput -s rabbit boot -sname rabbit at webdb -boot start_sasl -kernel inet_default_connect_options [{nodelay,true}] -rabbit tcp_listeners [{"127.0.0.1",5672}] -sasl errlog_type error -sasl sasl_error_logger false -rabbit error_logger {file,"/var/log/rabbitmq/rabbit at webdb.log"} -rabbit sasl_error_logger {file,"/var/log/rabbitmq/rabbit at webdb-sasl.log"} -rabbit enabled_plugins_file "/etc/rabbitmq/enabled_plugins" -rabbit plugins_dir "/usr/lib/rabbitmq/lib/rabbitmq_server-3.2.4/sbin/../plugins" -rabbit plugins_expand_dir "/var/lib/rabbitmq/mnesia/rabbit at webdb-plugins-expand" -os_mon start_cpu_sup false -os_mon start_disksup false -os_mon start_memsup false -mnesia dir "/var/lib/rabbitmq/mnesia/rabbit at webdb"

rabbitmq  2165  0.0  0.0  40812  1380 pts/0    S+   16:44   0:00 su rabbitmq -s /bin/sh -c /usr/lib/rabbitmq/bin/rabbitmqctl  "wait" "/var/run/rabbitmq/pid"

rabbitmq  2168  0.0  0.0   4408   608 pts/0    S+   16:44   0:00 sh -c /usr/lib/rabbitmq/bin/rabbitmqctl  "wait" "/var/run/rabbitmq/pid"

rabbitmq  2171  0.0  0.1 181536  9692 pts/0    Sl+  16:44   0:00 /usr/lib/erlang/erts-5.8.5/bin/beam.smp -- -root /usr/lib/erlang -progname erl -- -home /var/lib/rabbitmq -- -pa /usr/lib/rabbitmq/lib/rabbitmq_server-3.2.4/sbin/../ebin -noshell -noinput -hidden -sname rabbitmqctl2171 -boot start_clean -s rabbit_control_main -nodename rabbit at webdb -extra wait /var/run/rabbitmq/pid

rabbitmq  2225  0.0  0.0   7388   420 ?        Ss   16:44   0:00 inet_gethost 4

rabbitmq  2258  0.0  0.0   9488   648 ?        S    16:44   0:00 inet_gethost 4

rabbitmq  2272  0.0  0.0   7388   420 ?        Ss   16:44   0:00 inet_gethost 4

rabbitmq  2273  0.0  0.0   9488   628 ?        S    16:44   0:00 inet_gethost 4


/etc/hosts:

$ more /etc/hosts

127.0.0.1       localhost

127.0.0.1       webdb webdb.snhdportal.org

127.0.1.1       li512-122 ubuntu

more /var/log/rabbitmq/startup_log

              RabbitMQ 3.2.4. Copyright (C) 2007-2013 GoPivotal, Inc.
  ##  ##      Licensed under the MPL.  See http://www.rabbitmq.com/
  ##  ##
  ##########  Logs: /var/log/rabbitmq/rabbit at webdb.log
  ######  ##        /var/log/rabbitmq/rabbit at webdb-sasl.log
  ##########
              Starting broker... completed with 0 plugins.


more /var/log/rabbitmq/startup_log

              RabbitMQ 3.2.4. Copyright (C) 2007-2013 GoPivotal, Inc.
  ##  ##      Licensed under the MPL.  See http://www.rabbitmq.com/
  ##  ##
  ##########  Logs: /var/log/rabbitmq/rabbit at webdb.log
  ######  ##        /var/log/rabbitmq/rabbit at webdb-sasl.log
  ##########
              Starting broker... completed with 0 plugins.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140312/d3952d33/attachment.html>


More information about the rabbitmq-discuss mailing list