[Bug 1312507] Re: rabbitmq-server fails to start on a IPv6-Only environment

James Page james.page at ubuntu.com
Tue Aug 12 13:48:36 UTC 2014


Thiago

If you want to test I have a patched erlang in:

   ppa:james-page/rabbitmq

I think it forces the right behaviour in epmd:

tcp6       0      0 :::5672                 :::*                    LISTEN     
tcp6       0      0 :::4369                 :::*                    LISTEN    


** Also affects: erlang (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Also affects: rabbitmq-server (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Also affects: erlang (Ubuntu Utopic)
   Importance: Undecided
       Status: New

** Also affects: rabbitmq-server (Ubuntu Utopic)
   Importance: Undecided
       Status: Confirmed

** Changed in: rabbitmq-server (Ubuntu Utopic)
       Status: Confirmed => Invalid

** Changed in: rabbitmq-server (Ubuntu Trusty)
       Status: New => Invalid

** Changed in: erlang (Ubuntu Utopic)
       Status: New => In Progress

** Changed in: erlang (Ubuntu Utopic)
   Importance: Undecided => High

** Changed in: erlang (Ubuntu Utopic)
     Assignee: (unassigned) => James Page (james-page)

** Changed in: erlang (Ubuntu Trusty)
       Status: New => Triaged

** Changed in: erlang (Ubuntu Trusty)
   Importance: Undecided => High

** Summary changed:

- 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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to erlang in Ubuntu.
https://bugs.launchpad.net/bugs/1312507

Title:
  rabbitmq-server fails to start on a IPv6-Only environment/epmd is not
  IPv6 enabled

Status in “erlang” package in Ubuntu:
  In Progress
Status in “rabbitmq-server” package in Ubuntu:
  Invalid
Status in “erlang” source package in Trusty:
  Triaged
Status in “rabbitmq-server” source package in Trusty:
  Invalid
Status in “erlang” source package in Utopic:
  In Progress
Status in “rabbitmq-server” source package in Utopic:
  Invalid

Bug description:
  Guys,

  I'm trying to install rabbitmq-server on Ubuntu 14.04 on a IPv6-Only
  network and it fails, look:

  ---
  root at 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/rabbitmq/startup_\{log, _err\}
     ...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 at server-1:~# cat /var/log/rabbitmq/startup_log 
  ERROR: epmd error for host "server-1": address (cannot connect to host/port)
  ---

  The connectivity (resolved via /etc/hosts):

  ---
  root at server-1:~# ping6 server-1
  PING server-1(server-1.domain.com.br) 56 data bytes
  64 bytes from server-1.domain.com.br: icmp_seq=1 ttl=64 time=0.019 ms
  64 bytes from server-1.domain.com.br: icmp_seq=2 ttl=64 time=0.044 ms
  ---

  However, if I comment out the "nameserver 2001:4860:4860::8844"
  entries out from /etc/resolv.conf, then, rabbitmq-server starts! Very
  weird...

  Nothing on /etc/resolv.conf now...:

  ---
  root at 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://rabbitmq.1065348.n5.nabble.com/Error-starting-rabbitmq-in-IPv6
  -environment-td32001.html

  * Not sure if it is related:

  http://blog.domb.net/?p=290

  http://hg.rabbitmq.com/rabbitmq-erlang-client/rev/7f53561c0c11

  
  Best!
  Thiago

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/erlang/+bug/1312507/+subscriptions



More information about the foundations-bugs mailing list