[rabbitmq-discuss] Really bizarre startup issue...

Robert Nickel rnickel at scea.com
Thu May 6 00:22:45 BST 2010


On 2010.04.30 16:01:43 -0700, Robert Nickel wrote:
> First, thank you.
> 
> I have two hosts (sdcloudsh01 and sdcloudsh02) with the following specifications:
>   CentOS 5.1
>   erlang R13B03
>   rabbitmq-server 1.7.2
>   selinux is disabled

Still no luck figuring out what is going on with this machine.

Can someone advise me on how to get erlang to do a debug trace of some sort?
I have zero experience with erlang programming and would rather not delve into
it at this time.

That said, the lack of any kind of useful error is driving me nuts.

Some additional information surrounding this issue:

* rabbitmq-server was downloaded from
  http://www.rabbitmq.com/releases/rabbitmq-server/v1.7.2/rabbitmq-server-1.7.2-1.i386.rpm
  $ rpm -qi rabbitmq-server
  Name        : rabbitmq-server              Relocations: (not relocatable)
  Version     : 1.7.2                             Vendor: (none)
  Release     : 1                             Build Date: Mon 15 Feb 2010 08:02:10 AM PST
  Install Date: Wed 05 May 2010 02:30:56 PM PDT      Build Host: debian
  Group       : Development/Libraries         Source RPM: rabbitmq-server-1.7.2-1.src.rpm
  Size        : 706344                           License: MPLv1.1
  Signature   : DSA/SHA1, Mon 15 Feb 2010 08:07:35 AM PST, Key ID f7b8cea6056e8e56
  URL         : http://www.rabbitmq.com/
  Summary     : The RabbitMQ server
  Description :
  RabbitMQ is an implementation of AMQP, the emerging standard for high
  performance enterprise messaging. The RabbitMQ server is a robust and
  scalable implementation of an AMQP broker.

Adding set -x to /usr/lib/bin/rabbitmq-multi at the top yeilds the following
output in /var/lib/rabbitmq/startup_err:

    + for arg in '"$@"'
    ++ sed -e 's/"/\\"/g'
    + arg=start_all
    + CMDLINE=' "start_all"'
    + for arg in '"$@"'
    ++ sed -e 's/"/\\"/g'
    + arg=1
    + CMDLINE=' "start_all" "1"'
    + cd /var/lib/rabbitmq
    ++ basename /usr/sbin/rabbitmq-multi
    + SCRIPT=rabbitmq-multi
    ++ id -u
    + '[' 0 = 0 ']'
    + su rabbitmq -s /bin/sh -c '/usr/lib/rabbitmq/bin/rabbitmq-multi  "start_all" "1"'
    + NODENAME=rabbit
    ++ dirname /usr/lib/rabbitmq/bin/rabbitmq-multi
    + SCRIPT_HOME=/usr/lib/rabbitmq/bin
    + PIDS_FILE=/var/lib/rabbitmq/pids
    + MULTI_ERL_ARGS=
    + MULTI_START_ARGS=
    + CONFIG_FILE=/etc/rabbitmq/rabbitmq
    ++ dirname /usr/lib/rabbitmq/bin/rabbitmq-multi
    + . /usr/lib/rabbitmq/bin/rabbitmq-env
    ++ SCRIPT_PATH=/usr/lib/rabbitmq/bin/rabbitmq-multi
    ++ '[' -h /usr/lib/rabbitmq/bin/rabbitmq-multi ']'
    +++ readlink -f /usr/lib/rabbitmq/bin/rabbitmq-multi
    ++ FULL_PATH=/usr/lib/rabbitmq/lib/rabbitmq_server-1.7.2/sbin/rabbitmq-multi
    ++ '[' 0 '!=' 0 ']'
    ++ SCRIPT_PATH=/usr/lib/rabbitmq/lib/rabbitmq_server-1.7.2/sbin/rabbitmq-multi
    ++ '[' -h /usr/lib/rabbitmq/lib/rabbitmq_server-1.7.2/sbin/rabbitmq-multi ']'
    +++ dirname /usr/lib/rabbitmq/lib/rabbitmq_server-1.7.2/sbin/rabbitmq-multi
    ++ SCRIPT_DIR=/usr/lib/rabbitmq/lib/rabbitmq_server-1.7.2/sbin
    ++ RABBITMQ_HOME=/usr/lib/rabbitmq/lib/rabbitmq_server-1.7.2/sbin/..
    ++ '[' -f /etc/rabbitmq/rabbitmq.conf ']'
    ++ . /etc/rabbitmq/rabbitmq.conf
    +++ NODENAME=regsvc at sdcloudsh01
    + DEFAULT_NODE_IP_ADDRESS=0.0.0.0
    + DEFAULT_NODE_PORT=5672
    + '[' x = x ']'
    + '[' x '!=' x ']'
    + '[' x = x ']'
    + '[' x '!=' x ']'
    + '[' x = x ']'
    + '[' x '!=' x ']'
    + '[' x = x ']'
    + RABBITMQ_NODENAME=regsvc at sdcloudsh01
    + '[' x = x ']'
    + RABBITMQ_SCRIPT_HOME=/usr/lib/rabbitmq/bin
    + '[' x = x ']'
    + RABBITMQ_PIDS_FILE=/var/lib/rabbitmq/pids
    + '[' x = x ']'
    + RABBITMQ_MULTI_ERL_ARGS=
    + '[' x = x ']'
    + RABBITMQ_MULTI_START_ARGS=
    + '[' x = x ']'
    + RABBITMQ_CONFIG_FILE=/etc/rabbitmq/rabbitmq
    + export RABBITMQ_NODENAME RABBITMQ_NODE_IP_ADDRESS RABBITMQ_NODE_PORT RABBITMQ_SCRIPT_HOME RABBITMQ_PIDS_FILE RABBITMQ_CONFIG_FILE
    + env
    + RABBITMQ_CONFIG_ARG=
    + '[' -f /etc/rabbitmq/rabbitmq.config ']'
    + RABBITMQ_CONFIG_ARG='-config /etc/rabbitmq/rabbitmq'
    + set -f
    + exec erl -pa /usr/lib/rabbitmq/lib/rabbitmq_server-1.7.2/sbin/../ebin -noinput -hidden -sname rabbitmq_multi32076 -config /etc/rabbitmq/rabbitmq -s rabbit_multi -extra start_all 1
    Error: {node_start_failed,normal}

Thanks in advance for any help.

--Robert



More information about the rabbitmq-discuss mailing list