'Error: unable to connect to node 'rabbit@linux-vot7': nodedown'
Here is more output from rabbitmqctl status:
Status of node 'rabbit@linux-vot7' ...
Error: unable to connect to node 'rabbit@linux-vot7': nodedown
DIAGNOSTICS
===========
nodes in question: ['rabbit@linux-vot7']
hosts, their running nodes and ports:
- linux-vot7: [{rabbitmqctl3187,53178},{rabbitmqctl4704,45355}]
current node details:
- node name: 'rabbitmqctl4704@linux-vot7'
- home dir: /var/lib/rabbitmq
- cookie hash: wamEAVLZEVQ4zqN7X2Mdhw==
rab...@linux-vot7.log:
=INFO REPORT==== 5-Feb-2015::06:51:27 ===
closing AMQP connection <0.289.0> (127.0.0.1:59640 -> 127.0.0.1:5672)
=INFO REPORT==== 5-Feb-2015::06:51:27 ===
closing AMQP connection <0.313.0> (127.0.0.1:59643 -> 127.0.0.1:5672)
=ERROR REPORT==== 5-Feb-2015::06:51:27 ===
AMQP connection <0.321.0> (running), channel 1 - error:
{amqp_error,channel_error,"expected 'channel.open'",'channel.close'}
=INFO REPORT==== 5-Feb-2015::06:51:27 ===
closing AMQP connection <0.321.0> (127.0.0.1:59644 -> 127.0.0.1:5672)
=WARNING REPORT==== 5-Feb-2015::06:51:30 ===
closing AMQP connection <0.330.0> (127.0.0.1:59645 -> 127.0.0.1:5672):
connection_closed_abruptly
=INFO REPORT==== 5-Feb-2015::06:51:31 ===
closing AMQP connection <0.295.0> (127.0.0.1:59642 -> 127.0.0.1:5672)
=INFO REPORT==== 5-Feb-2015::06:51:31 ===
closing AMQP connection <0.292.0> (127.0.0.1:59641 -> 127.0.0.1:5672)
=INFO REPORT==== 5-Feb-2015::06:51:31 ===
Stopping RabbitMQ
=INFO REPORT==== 5-Feb-2015::06:51:31 ===
stopped TCP Listener on 0.0.0.0:5672
=INFO REPORT==== 5-Feb-2015::06:51:31 ===
Halting Erlang VM
Stopping and halting node 'rabbit@linux-vot7' ...
...done.
startup_log, startup_err and shutdown_err are empty. Starting RabbitMQ Server stalls and nothing is written to the logs after that.
Feb 5 07:18:38 linux-vot7 su: (to rabbitmq) root on none
Feb 5 07:18:38 linux-vot7 su: (to rabbitmq) root on none
Could you please run:
sh -x /etc/init.d/rabbitmq-server start
And post the output?
+ PATH=/sbin:/usr/sbin:/bin:/usr/bin
+ NAME=rabbitmq-server
+ DAEMON=/usr/sbin/rabbitmq-server
+ CONTROL=/usr/sbin/rabbitmqctl
+ DESC=rabbitmq-server
+ USER=rabbitmq
+ ROTATE_SUFFIX=
+ INIT_LOG_DIR=/var/log/rabbitmq
+ PID_FILE=/var/run/rabbitmq/pid
+ START_PROG=startproc
+ LOCK_FILE=/var/lock/subsys/rabbitmq-server
+ test -x /usr/sbin/rabbitmq-server
+ test -x /usr/sbin/rabbitmqctl
+ RETVAL=0
+ set -e
+ '[' -f /etc/default/rabbitmq-server ']'
+ case "$1" in
+ echo -n 'Starting rabbitmq-server: '
Starting rabbitmq-server: + start_rabbitmq
+ status_rabbitmq quiet
+ set +e
+ '[' quiet '!=' quiet ']'
+ /usr/sbin/rabbitmqctl status
+ '[' 2 '!=' 0 ']'
+ RETVAL=3
+ set -e
+ '[' 3 = 0 ']'
+ RETVAL=0
+ ensure_pid_dir
++ dirname /var/run/rabbitmq/pid
+ PID_DIR=/var/run/rabbitmq
+ '[' '!' -d /var/run/rabbitmq ']'
+ set +e
+ /usr/sbin/rabbitmqctl wait /var/run/rabbitmq/pid
+ RABBITMQ_PID_FILE=/var/run/rabbitmq/pid
+ startproc /usr/sbin/rabbitmq-server
torstai 5. helmikuuta 2015 11.37.33 UTC+2 Jean-Sébastien Pédron kirjoitti:Could you please run:
sh -x /etc/init.d/rabbitmq-server start
And post the output?
+ RETVAL=0
+ set -e
+ case "$RETVAL" in
+ echo SUCCESS
SUCCESS
+ '[' -n /var/lock/subsys/rabbitmq-server ']'
+ touch /var/lock/subsys/rabbitmq-server
+ echo rabbitmq-server.
Could you please run:
sh -x /usr/sbin/rabbitmq-server
+ cd /var/lib/rabbitmq
++ basename /usr/sbin/rabbitmq-server
+ SCRIPT=rabbitmq-server
++ id -u
++ id -u rabbitmq
+ '[' 0 = 111 -a rabbitmq-server = rabbitmq-server ']'
++ id -u
++ id -u rabbitmq
+ '[' 0 = 111 -o rabbitmq-server = rabbitmq-plugins ']'
++ id -u
+ '[' 0 = 0 ']'
+ su rabbitmq -s /bin/sh -c '/usr/lib/rabbitmq/bin/rabbitmq-server '
RabbitMQ 3.1.1. Copyright (C) 2007-2013 VMware, Inc.
## ## Licensed under the MPL. See http://www.rabbitmq.com/
## ##
########## Logs: /var/log/rabbitmq/rab...@linux-vot7.log
###### ## /var/log/rabbitmq/rab...@linux-vot7-sasl.log
##########
Starting broker... completed with 6 plugins.
On 13.02.2015 15:05, Matti Linnanvuori wrote:
> torstai 12. helmikuuta 2015 18.30.40 UTC+2 Jean-Sébastien Pédron kirjoitti:
>
> Could you please run:
> sh -x /usr/sbin/rabbitmq-server
>
> (...)
> Starting broker... completed with 6 plugins.
At this stage, do you get your shell prompt back (you shouldn't)?