rabbitmq-server fails to start on a IPv6-Only environment/epmd is not IPv6 enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
erlang (Ubuntu) |
Fix Released
|
High
|
James Page | ||
Trusty |
Fix Released
|
High
|
Unassigned | ||
Utopic |
Fix Released
|
High
|
James Page | ||
rabbitmq-server (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Trusty |
Invalid
|
Undecided
|
Unassigned | ||
Utopic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Users of RabbitMQ in IPv6 environments are unable to stop/start/restart rabbitmq.
[Test Case]
On and IPv6 only server:
sudo apt-get install rabbitmq-server
...
* Starting message broker rabbitmq-server
* FAILED - check /var/log/
...fail!
[Regression Potential]
The fix for this issue is in erlang itself; enabling IPv6 support in epmd is a compile time option so there is scope for regression. Testing should ensure that existing IPv4 deployments of erlang tools do not regress with this change (validated RMQ already against PPA packages).
[Original Bug Report]
Guys,
I'm trying to install rabbitmq-server on Ubuntu 14.04 on a IPv6-Only network and it fails, look:
---
root@server-1:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up rabbitmq-server (3.2.4-1) ...
* Starting message broker rabbitmq-server
* FAILED - check /var/log/
...fail!
invoke-rc.d: initscript rabbitmq-server, action "start" failed.
dpkg: error processing package rabbitmq-server (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
rabbitmq-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
---
The log:
---
root@server-1:~# cat /var/log/
ERROR: epmd error for host "server-1": address (cannot connect to host/port)
---
The connectivity (resolved via /etc/hosts):
---
root@server-1:~# ping6 server-1
PING server-
64 bytes from server-
64 bytes from server-
---
However, if I comment out the "nameserver 2001:4860:
Nothing on /etc/resolv.conf now...:
---
root@server-1:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up rabbitmq-server (3.2.4-1) ...
* Starting message broker rabbitmq-server
...done.
---
I found the following topics about this on the net:
* Related:
http://
* Not sure if it is related:
http://
Best!
Thiago
summary: |
- rabbitmq-server fails to start on a IPv6-Only environment + rabbitmq-server fails to start on a IPv6-Only environment/epmd is not + IPv6 enabled |
description: | updated |
Guys,
Is that any workaround for this problem?
It is very annoying to manually edit the /etc/resolv.conf file just to be able to restart RabbirMQ... :-/
Tks in advance!
Thiago