[Yazlist] ruby-zoom no longer able to connect to Zebra
Walter McGinnis
walter at katipo.co.nz
Mon Aug 8 03:16:08 CEST 2011
Hi,
On Aug 5, 2011, at 8:35 PM, Heikki Levanto wrote:
> On Wed, Aug 03, 2011 at 12:11:07PM +1200, Walter McGinnis wrote:
>>
>> Turns out, at least on Debian Lenny, that unlike zoomsh and yaz-client, when
>> running ruby-zoom's Zoom::Connection#connect specifying 'localhost' wouldn't
>> even hit the Zebra instance (well, nothing noted in log) whereas '127.0.0.1'
>> works fine.
>
> I have seen something similar with some (totally unrelated) Java stuff. What
> happened there was that 'localhost' resolved to IPv6 address, and it tried
> to connect to that - and nothing was listning on the IPv6 port. One workaround
> there was to disable IPv6 completely by adding these two lines to
> /etc/modprobe.d/aliases.conf:
> alias net-pf-10 off
> alias ipv6 off
> and rebooting.
>
> Alternatively, setting
> net.ipv6.bindv6only=0
> in /etc/sysctl.d/bindv6only.conf made things work.
>
> This is, of course, a stab in the dark, and may not have any relevance to your
> problem.
Thanks Heikki, but it doesn't look to be relevant to my problematic set up.
Cheers,
Walter
More information about the Yazlist
mailing list