[openstack-dev] devstack: Unable to restart rabbitmq-server
Deepak C Shetty
deepakcs at redhat.com
Mon Mar 17 08:29:45 UTC 2014
Hi List,
It been few hours and I tried everything from ensuring /etc/hosts,
/etc/hostname etc (per google results) and rabbitmq-server still doesn't
start. I am using latest devstack as of today on F20
Below is the error I see
[stack at devstack-vm ~]$ sudo systemctl status rabbitmq-server.service
rabbitmq-server.service - RabbitMQ broker
Loaded: loaded (/usr/lib/systemd/system/rabbitmq-server.service;
disabled)
Active: failed (Result: timeout) since Mon 2014-03-17 07:20:47 UTC;
14s ago
Process: 30065 ExecStopPost=/usr/bin/rm /var/run/rabbitmq/pid
(code=exited, status=0/SUCCESS)
Process: 30027 ExecStop=/usr/lib/rabbitmq/bin/rabbitmqctl stop
(code=exited, status=0/SUCCESS)
Process: 29879 ExecStart=/usr/lib/rabbitmq/bin/rabbitmq-server
(code=killed, signal=TERM)
Main PID: 29879 (code=killed, signal=TERM)
CGroup: /system.slice/rabbitmq-server.service
Mar 17 07:19:11 devstack-vm.localdomain rabbitmqctl[29880]: pid is 29879 ...
Mar 17 07:19:12 devstack-vm.localdomain rabbitmq-server[29879]: RabbitMQ
3.1.5. Copyright (C) 2007-2013 GoPivotal, Inc.
Mar 17 07:19:12 devstack-vm.localdomain rabbitmq-server[29879]: ##
## Licensed under the MPL. See http://www.rabbitmq.com/
Mar 17 07:19:12 devstack-vm.localdomain rabbitmq-server[29879]: ## ##
Mar 17 07:19:12 devstack-vm.localdomain rabbitmq-server[29879]:
########## Logs: /var/log/rabbitmq/rabbit at devstack-vm.log
Mar 17 07:19:12 devstack-vm.localdomain rabbitmq-server[29879]: ######
## /var/log/rabbitmq/rabbit at devstack-vm-sasl.log
Mar 17 07:19:12 devstack-vm.localdomain rabbitmq-server[29879]: ##########
Mar 17 07:20:41 devstack-vm.localdomain systemd[1]:
rabbitmq-server.service operation timed out. Stopping.
Mar 17 07:20:41 devstack-vm.localdomain rabbitmqctl[30027]: Stopping and
halting node 'rabbit at devstack-vm' ...
Mar 17 07:20:46 devstack-vm.localdomain rabbitmq-server[29879]: Starting
broker... completed with 0 plugins.
Mar 17 07:20:47 devstack-vm.localdomain rabbitmqctl[29880]: ...done.
Mar 17 07:20:47 devstack-vm.localdomain rabbitmqctl[30027]: ...done.
Mar 17 07:20:47 devstack-vm.localdomain systemd[1]: Failed to start
RabbitMQ broker.
Mar 17 07:20:47 devstack-vm.localdomain systemd[1]: Unit
rabbitmq-server.service entered failed state.
[stack at devstack-vm ~]$ sudo systemctl start rabbitmq-server.service
Any additional things I can try to get past the above issue ?
===================
debug info ...
[stack at devstack-vm ~]$ hostname -s
devstack-vm
[stack at devstack-vm ~]$ sudo cat /etc/hostname
devstack-vm.localdomain
[stack at devstack-vm ~]$ hostname
devstack-vm.localdomain
[stack at devstack-vm ~]$ sudo cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4
localhost4.localdomain4 devstack-vm
::1 localhost localhost.localdomain localhost6
localhost6.localdomain6
[stack at devstack-vm ~]$ sudo cat /etc/hostname
devstack-vm.localdomain
[stack at devstack-vm ~]$ hostname -s
devstack-vm
[stack at devstack-vm ~]$
More information about the OpenStack-dev
mailing list