[rabbitmq-discuss] Error starting rabbitmq in IPv6 environment

Jerry Kuch jkuch at gopivotal.com
Fri Dec 20 02:00:30 GMT 2013


Hi, Ed...

Gradually catching up on the thread here... Perhaps next week we could dig
into this a bit further... I'm new to your scenario and problems, but
perhaps we can hammer out some sane solution.

Best regards,
Jerry



On Thu, Dec 12, 2013 at 9:33 AM, Tyrrill, Ed <ed.tyrrill at emc.com> wrote:

> Hi Simon,
>
> This is what I get:
>
> $ erl -sname foo
> Erlang R16B02 (erts-5.10.3) [source] [64-bit] [smp:4:4] [async-threads:10]
> [hipe] [kernel-poll:false]
>
> Eshell V5.10.3  (abort with ^G)
> (foo at a4ipn434)1>
>
> a4ipn434 is defined in /etc/hosts, and yes, is resolvable
>
> $ ping6 a4ipn434
> PING a4ipn434(a4ipn434.asl.lab.emc.com) 56 data bytes
> 64 bytes from a4ipn434.asl.lab.emc.com: icmp_seq=1 ttl=64 time=0.035 ms
>
> Note that on linux, many of the legacy/IPv4 versions of system calls do
> not work, and you have to use the IPv6 equivalent.  Please let me know if
> I can provide you with any further information.
>
> Thanks,
> Ed
>
>
>
> On 12/12/13 2:50 AM, "Simon MacMullen" <simon at rabbitmq.com> wrote:
>
> >This looks like more of an Erlang-level problem, looks like it is
> >failing before RabbitMQ starts starting. Can you start "erl -sname foo"
> >in pure IPv6 mode?
> >
> >And of course, just to make sure, you can resolve a4ipn434, right? :-)
> >
> >Cheers, Simon
> >
> >On 11/12/2013 21:20, Tyrrill, Ed wrote:
> >> Hi RabbitMQ devs,
> >>
> >> I have found a bug starting rabbitmq in a linux pure IPv6 environment
> >> where /etc/resolv.conf has a "nameserver" line specifying an IPv6
> >> address.  This is what I see:
> >>
> >> # service rabbitmq-server start
> >> Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log,
> >> _err}
> >> rabbitmq-server.
> >> # cat /var/log/rabbitmq/startup_log
> >> ERROR: epmd error for host "a4ipn434": address (cannot connect to
> >>host/port)
> >>
> >> Note that /etc/hosts specifies the FQ and short hostnames of the
> >>machine:
> >>
> >> 2620:0:170:586::1:1a4ipn434.xxxxxxxxxxx a4ipn434
> >>
> >> And /etc/resolv.conf specifies a nameserver with an IPv6 address:
> >>
> >> nameserver 2620:0:170:58e::4
> >>
> >> If I comment out this nameserver line in resolv.conf, then rabbitmq
> >> starts with no problem:
> >>
> >> # service rabbitmq-server start
> >> Starting rabbitmq-server: SUCCESS
> >> rabbitmq-server.
> >> # cat /var/log/rabbitmq/startup_log
> >>
> >>                RabbitMQ 3.2.0. Copyright (C) 2007-2013 GoPivotal, Inc.
> >>    ##  ##      Licensed under the MPL.  See http://www.rabbitmq.com/
> >>    ##  ##
> >>    ##########  Logs: /data01/avamar/var/rabbitmq/log/rabbit at a4ipn434.log
> >>    ######  ##
> >>   /data01/avamar/var/rabbitmq/log/rabbit at a4ipn434-sasl.log
> >>    ##########
> >>                Starting broker... completed with 0 plugins.
> >>
> >> Also, FYI, I tried this with rabbitmq versions 3.2.1-1 and 3.2.0-1.
> >>
> >> Thanks,
> >> Ed
> >>
> >>
> >> _______________________________________________
> >> rabbitmq-discuss mailing list
> >> rabbitmq-discuss at lists.rabbitmq.com
> >> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> >>
> >
> >
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131219/be645ae2/attachment.html>


More information about the rabbitmq-discuss mailing list