Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Fail to start rabbitmq-server.service on opensuse13.2

Following this doc:

http://docs.openstack.org/juno/install-guide/install/zypper/content/index.html

I'm trying to install openstack on opensuse13.2. When I go to 'messaging server' section of 'Chapter 2. Basic environment':

http://docs.openstack.org/juno/install-guide/install/zypper/content/ch_basic_environment.html#basics-messaging-server

after installing rabbitmq-server:

# zypper install rabbitmq-server

It failed to start rabbitmq-server:

# systemctl enable rabbitmq-server.service
# systemctl start rabbitmq-server.service

And error message is:

controller:~ # systemctl status rabbitmq-server.service 
rabbitmq-server.service - RabbitMQ broker
   Loaded: loaded (/usr/lib/systemd/system/rabbitmq-server.service; enabled)
   Active: failed (Result: exit-code) since 二 2015-04-14 10:36:02 CST; 45min ago
  Process: 2966 ExecStopPost=/usr/bin/rm /var/run/rabbitmq/pid (code=exited, status=0/SUCCESS)
  Process: 2925 ExecStop=/usr/sbin/rabbitmqctl stop (code=exited, status=2)
  Process: 2840 ExecStartPost=/usr/sbin/rabbitmqctl wait /var/run/rabbitmq/pid (code=exited, status=2)
  Process: 2839 ExecStart=/usr/sbin/rabbitmq-server (code=exited, status=1/FAILURE)
 Main PID: 2839 (code=exited, status=1/FAILURE)

4月 14 10:36:02 controller rabbitmqctl[2925]: Error: unable to connect to node rabbit@controller: nodedown
4月 14 10:36:02 controller rabbitmqctl[2925]: DIAGNOSTICS
4月 14 10:36:02 controller rabbitmqctl[2925]: ===========
4月 14 10:36:02 controller rabbitmqctl[2925]: attempted to contact: [rabbit@controller]
4月 14 10:36:02 controller rabbitmqctl[2925]: rabbit@controller:
4月 14 10:36:02 controller rabbitmqctl[2925]: * unable to connect to epmd (port 4369) on controller: address (cannot connect to host/port)
4月 14 10:36:02 controller rabbitmqctl[2925]: current node details:
4月 14 10:36:02 controller rabbitmqctl[2925]: - node name: rabbitmqctl2933@controller
4月 14 10:36:02 controller rabbitmqctl[2925]: - home dir: /var/lib/rabbitmq
4月 14 10:36:02 controller rabbitmqctl[2925]: - cookie hash: kBnKPRMCXBnfQlB8kipSdA==

Does anyone ever get the same problem?