Problems with Installing RabbitMQ 3.6.5-1 on ubuntu 16.04

2,264 views
Skip to first unread message

Master Lee

unread,
Oct 2, 2016, 6:09:21 AM10/2/16
to rabbitmq-users
Hi all:
I'm trying to install rabbitmq 3.6.5-1 on an ubuntu 16.04 VM instance,the host OS is win7 64bit.
I followed the steps listed on the home page,http://www.rabbitmq.com/install-debian.html; After install,the rabbitmq-server failed to start,and gives the following Error msg:
california@vm-openstack-controller:~$ sudo systemctl status rabbitmq-server.service
rabbitmq-server.service - RabbitMQ broker
  Loaded: loaded (/lib/systemd/system/rabbitmq-server.service; enabled; vendor preset: enabled)
  Active: failed (Result: exit-code) since 2016-10-02 17:59:38 CST; 4min 26s ago
 Process: 4454 ExecStop=/usr/lib/rabbitmq/bin/rabbitmqctl stop (code=exited, status=0/SUCCESS)
 Process: 4349 ExecStart=/usr/lib/rabbitmq/bin/rabbitmq-server (code=exited, status=1/FAILURE)
Main PID: 4349 (code=exited, status=1/FAILURE)
  Status: "Exited."

10 02 17:58:30 vm-openstack-controller systemd[1]: Starting RabbitMQ broker...
10 02 17:59:00 vm-openstack-controller rabbitmq-server[4349]: ERROR: epmd error for host vm-openstack-controller: timeout (timed out)
10 02 17:59:00 vm-openstack-controller systemd[1]: rabbitmq-server.service: Main process exited, code=exited, status=1/FAILURE
10 02 17:59:01 vm-openstack-controller rabbitmqctl[4454]: Stopping and halting node 'rabbit@vm-openstack-controller' ...
10 02 17:59:08 vm-openstack-controller rabbitmqctl[4454]: Error: unable to connect to node 'rabbit@vm-openstack-controller': nodedown
10 02 17:59:38 vm-openstack-controller systemd[1]: Failed to start RabbitMQ broker.
10 02 17:59:38 vm-openstack-controller systemd[1]: rabbitmq-server.service: Unit entered failed state.
10 02 17:59:38 vm-openstack-controller systemd[1]: rabbitmq-server.service: Failed with result 'exit-code'.

I googled the error msg,got some similar results,and i tried some solutions as follow:
1.Disable the firewall of ubuntu
2.Remove and Reinstall
But i still can't get things work.Any one knows where's the problem and how to fix?

Thanks Very much


Michael Klishin

unread,
Oct 2, 2016, 6:58:35 AM10/2/16
to rabbitm...@googlegroups.com
RabbitMQ cannot connect to epmd, which is a local process the Erlang runtime depends on. Check your system's permissions (including systemd, SELinux, firewalls) and see http://rabbitmq.com/networking.html.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Master Lee

unread,
Oct 2, 2016, 9:49:20 AM10/2/16
to rabbitmq-users
Finally found the cause.

I've changed the hostname during the working process with ubuntu:
The current hostname is: vm-openstack-controller
but in the /etc/hosts file,the hostname remains: openstack-VB-X250

After edit the hosts file,to change the hostname as the same as current,the rabbitmq-server service started successfully


在 2016年10月2日星期日 UTC+8下午6:09:21,Master Lee写道:
Reply all
Reply to author
Forward
0 new messages