2014-09-25 19:40:08 |
alexander |
bug |
|
|
added bug |
2014-09-25 19:42:49 |
alexander |
description |
The bug is actually located in erlang itself. epmd fails to bind to any IPv4 address if instructed to do so
[Impact]
Users of RabbitMQ in IPv4 environments are unable to start rabbitmq unless the environment variable ERL_EPMD_ADDRESS is unset. In case of disabled IPv6 support there is no valid setting for ERL_EPMD_ADDRESS as
* IPv4 addresses will be rejected as syntacitcally invalid
* IPv6 addresses will fail to bind
[Test Case]
service rabbitmq-server stop && killall epmd
ERL_EPMD_ADDRESS="127.0.0.1" epmd
epmd: Thu Sep 25 21:00:16 2014: cannot parse IP address "127.0.0.1"
same could be acieved with the epmd's -address option
In case IPv6 support is disabled:
ERL_EPMD_ADDRESS="::1" epmd
epmd: Thu Sep 25 21:01:40 2014: failed to bind socket: Cannot assign requested address
-- rabbitmq case:
cat rabbitmq-env.conf
export RABBITMQ_NODENAME=rabbit@localhost
export RABBITMQ_NODE_IP_ADDRESS=127.0.0.1
export ERL_EPMD_ADDRESS=127.0.0.1
service rabbitmq-server start
* Starting message broker rabbitmq-server
* FAILED - check /var/log/rabbitmq/startup_\{log, _err\} [fail]
Commenting/removing the "export ERL_EPMD_ADDRESS=127.0.0.1" line resolves the issue
[Possible cause]
In this bug: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1312507?comments=all
The issue was fixed using -DEPMD6" in CPPFLAGS (https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1312507/comments/5) which perhaps (I speculate only)
There is another complaint regarding the same issue here: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1312507/comments/14
[System info]
lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04
apt-cache policy rabbitmq-server
rabbitmq-server:
Installed: 3.2.4-1
Candidate: 3.2.4-1
Version table:
*** 3.2.4-1 0
500 http://mirror.hetzner.de/ubuntu/packages/ trusty/main amd64 Packages
500 http://de.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
apt-cache policy erlang-base
erlang-base:
Installed: 1:16.b.3-dfsg-1ubuntu2.1
Candidate: 1:16.b.3-dfsg-1ubuntu2.1
Version table:
*** 1:16.b.3-dfsg-1ubuntu2.1 0
500 http://mirror.hetzner.de/ubuntu/packages/ trusty-updates/main amd64 Packages
500 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
100 /var/lib/dpkg/status
1:16.b.3-dfsg-1ubuntu2 0
500 http://mirror.hetzner.de/ubuntu/packages/ trusty/main amd64 Packages
500 http://de.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages |
The bug is actually located in erlang itself. epmd fails to bind to any IPv4 address if instructed to do so
[Impact]
Users of RabbitMQ in IPv4 environments are unable to start rabbitmq unless the environment variable ERL_EPMD_ADDRESS is unset. In case of disabled IPv6 support there is no valid setting for ERL_EPMD_ADDRESS as
* IPv4 addresses will be rejected as syntacitcally invalid
* IPv6 addresses will fail to bind
[Test Case]
service rabbitmq-server stop && killall epmd
ERL_EPMD_ADDRESS="127.0.0.1" epmd
epmd: Thu Sep 25 21:00:16 2014: cannot parse IP address "127.0.0.1"
same could be acieved with the epmd's -address option
In case IPv6 support is disabled:
ERL_EPMD_ADDRESS="::1" epmd
epmd: Thu Sep 25 21:01:40 2014: failed to bind socket: Cannot assign requested address
-- rabbitmq case:
cat rabbitmq-env.conf
export RABBITMQ_NODENAME=rabbit@localhost
export RABBITMQ_NODE_IP_ADDRESS=127.0.0.1
export ERL_EPMD_ADDRESS=127.0.0.1
service rabbitmq-server start
* Starting message broker rabbitmq-server
* FAILED - check /var/log/rabbitmq/startup_\{log, _err\} [fail]
Commenting/removing the "export ERL_EPMD_ADDRESS=127.0.0.1" line resolves the issue
[Possible cause]
In this bug: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1312507?comments=all
The issue was fixed using -DEPMD6" in CPPFLAGS (https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1312507/comments/5) which perhaps (I speculate only) activates some of the erlang's IPV6_V6ONLY definitions.
There is another complaint regarding the same issue here: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1312507/comments/14
[System info]
lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04
apt-cache policy rabbitmq-server
rabbitmq-server:
Installed: 3.2.4-1
Candidate: 3.2.4-1
Version table:
*** 3.2.4-1 0
500 http://mirror.hetzner.de/ubuntu/packages/ trusty/main amd64 Packages
500 http://de.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
apt-cache policy erlang-base
erlang-base:
Installed: 1:16.b.3-dfsg-1ubuntu2.1
Candidate: 1:16.b.3-dfsg-1ubuntu2.1
Version table:
*** 1:16.b.3-dfsg-1ubuntu2.1 0
500 http://mirror.hetzner.de/ubuntu/packages/ trusty-updates/main amd64 Packages
500 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
100 /var/lib/dpkg/status
1:16.b.3-dfsg-1ubuntu2 0
500 http://mirror.hetzner.de/ubuntu/packages/ trusty/main amd64 Packages
500 http://de.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages |
|
2014-09-25 19:45:31 |
alexander |
description |
The bug is actually located in erlang itself. epmd fails to bind to any IPv4 address if instructed to do so
[Impact]
Users of RabbitMQ in IPv4 environments are unable to start rabbitmq unless the environment variable ERL_EPMD_ADDRESS is unset. In case of disabled IPv6 support there is no valid setting for ERL_EPMD_ADDRESS as
* IPv4 addresses will be rejected as syntacitcally invalid
* IPv6 addresses will fail to bind
[Test Case]
service rabbitmq-server stop && killall epmd
ERL_EPMD_ADDRESS="127.0.0.1" epmd
epmd: Thu Sep 25 21:00:16 2014: cannot parse IP address "127.0.0.1"
same could be acieved with the epmd's -address option
In case IPv6 support is disabled:
ERL_EPMD_ADDRESS="::1" epmd
epmd: Thu Sep 25 21:01:40 2014: failed to bind socket: Cannot assign requested address
-- rabbitmq case:
cat rabbitmq-env.conf
export RABBITMQ_NODENAME=rabbit@localhost
export RABBITMQ_NODE_IP_ADDRESS=127.0.0.1
export ERL_EPMD_ADDRESS=127.0.0.1
service rabbitmq-server start
* Starting message broker rabbitmq-server
* FAILED - check /var/log/rabbitmq/startup_\{log, _err\} [fail]
Commenting/removing the "export ERL_EPMD_ADDRESS=127.0.0.1" line resolves the issue
[Possible cause]
In this bug: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1312507?comments=all
The issue was fixed using -DEPMD6" in CPPFLAGS (https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1312507/comments/5) which perhaps (I speculate only) activates some of the erlang's IPV6_V6ONLY definitions.
There is another complaint regarding the same issue here: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1312507/comments/14
[System info]
lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04
apt-cache policy rabbitmq-server
rabbitmq-server:
Installed: 3.2.4-1
Candidate: 3.2.4-1
Version table:
*** 3.2.4-1 0
500 http://mirror.hetzner.de/ubuntu/packages/ trusty/main amd64 Packages
500 http://de.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
apt-cache policy erlang-base
erlang-base:
Installed: 1:16.b.3-dfsg-1ubuntu2.1
Candidate: 1:16.b.3-dfsg-1ubuntu2.1
Version table:
*** 1:16.b.3-dfsg-1ubuntu2.1 0
500 http://mirror.hetzner.de/ubuntu/packages/ trusty-updates/main amd64 Packages
500 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
100 /var/lib/dpkg/status
1:16.b.3-dfsg-1ubuntu2 0
500 http://mirror.hetzner.de/ubuntu/packages/ trusty/main amd64 Packages
500 http://de.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages |
The bug is actually located in erlang itself. epmd fails to bind to any IPv4 address if instructed to do so
[Impact]
Users of RabbitMQ in IPv4 environments are unable to start rabbitmq unless the environment variable ERL_EPMD_ADDRESS is unset. In case of disabled IPv6 support there is no valid setting for ERL_EPMD_ADDRESS as
* IPv4 addresses will be rejected as syntacitcally invalid
* IPv6 addresses will fail to bind
[Test Case]
service rabbitmq-server stop && killall epmd
ERL_EPMD_ADDRESS="127.0.0.1" epmd
epmd: Thu Sep 25 21:00:16 2014: cannot parse IP address "127.0.0.1"
same could be acieved with the epmd's -address option
In case IPv6 support is disabled:
ERL_EPMD_ADDRESS="::1" epmd
epmd: Thu Sep 25 21:01:40 2014: failed to bind socket: Cannot assign requested address
-- rabbitmq case:
cat rabbitmq-env.conf
export RABBITMQ_NODENAME=rabbit@localhost
export RABBITMQ_NODE_IP_ADDRESS=127.0.0.1
export ERL_EPMD_ADDRESS=127.0.0.1
service rabbitmq-server start
* Starting message broker rabbitmq-server
* FAILED - check /var/log/rabbitmq/startup_\{log, _err\} [fail]
Commenting/removing the "export ERL_EPMD_ADDRESS=127.0.0.1" line resolves the issue
[Possible cause]
In this bug: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1312507?comments=all
The issue was fixed using -DEPMD6" in CPPFLAGS (https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1312507/comments/5) which perhaps (I speculate only) activates some of the erlang's IPV6_V6ONLY definitions.
There is another complaint regarding the same issue here: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1312507/comments/14
[System info]
lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04
apt-cache policy rabbitmq-server
rabbitmq-server:
Installed: 3.2.4-1
Candidate: 3.2.4-1
apt-cache policy erlang-base
erlang-base:
Installed: 1:16.b.3-dfsg-1ubuntu2.1
Candidate: 1:16.b.3-dfsg-1ubuntu2.1 |
|
2014-09-26 18:48:23 |
alexander |
affects |
rabbitmq-server (Ubuntu) |
erlang (Ubuntu) |
|
2014-10-29 01:39:24 |
Launchpad Janitor |
erlang (Ubuntu): status |
New |
Confirmed |
|
2014-11-04 09:55:09 |
Mihaly Arva-Toth |
bug |
|
|
added subscriber Mihaly Arva-Toth |
2014-11-10 14:17:44 |
Louis Bouchard |
tags |
|
cts |
|
2014-11-14 13:48:11 |
James Page |
erlang (Ubuntu): importance |
Undecided |
High |
|
2014-11-17 09:55:44 |
Dariusz Gadomski |
erlang (Ubuntu): assignee |
|
Dariusz Gadomski (dgadomski) |
|
2014-12-19 21:27:43 |
David Rees |
bug |
|
|
added subscriber David Rees |
2015-02-10 07:50:25 |
Jordan |
bug |
|
|
added subscriber Jordan |
2015-02-13 21:17:58 |
David Medberry |
bug |
|
|
added subscriber James Page |
2015-02-13 21:18:30 |
David Medberry |
bug |
|
|
added subscriber David Medberry |
2015-02-16 15:41:21 |
Eric Desrochers |
bug |
|
|
added subscriber eric.desrochers |
2015-03-23 18:55:45 |
Peter Matulis |
bug |
|
|
added subscriber Peter Matulis |
2015-05-07 09:05:41 |
Dr. Jens Harbott |
bug |
|
|
added subscriber Dr. Jens Rosenboom |
2015-07-29 15:56:05 |
L-reimann |
bug |
|
|
added subscriber L-reimann |
2015-11-25 16:43:33 |
Edward Hope-Morley |
tags |
cts |
sts |
|
2017-07-12 08:56:20 |
John Lewis |
bug |
|
|
added subscriber John Lewis |
2019-06-04 18:45:51 |
Dan Streetman |
tags |
sts |
|
|
2019-06-04 19:06:34 |
Dariusz Gadomski |
erlang (Ubuntu): assignee |
Dariusz Gadomski (dgadomski) |
|
|