I suspect that this fix also broke rabbitmq on one of my servers. For
unimportant reasons this particular server had ipv6 disabled through the
kernel command line ( GRUB_CMDLINE_LINUX="ipv6.disable=1" ). I ran
strace on epmd and this is, I assume, the relevant section:
---
socket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = -1 EAFNOSUPPORT (Address family not
supported by protocol)
open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f9e056a0000
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096)
= 1892
lseek(3, -1217, SEEK_CUR) = 675
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0\6\0\0\0\0"..., 4096)
= 1217
close(3) = 0
munmap(0x7f9e056a0000, 4096) = 0
write(2, "epmd: Mon Sep 29 15:09:23 2014: "..., 103epmd: Mon Sep 29 15:09:23
2014: error opening stream socket: Address family not supported by protocol
) = 103
exit_group(1) = ?
+++ exited with 1 +++
Re-enabling ipv6 fixes the problem.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1312507
Title:
rabbitmq-server fails to start on a IPv6-Only environment/epmd is not
IPv6 enabled
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/erlang/+bug/1312507/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs