0.9.5 release plans
Giorgos Keramidas
keramida at ceid.upatras.gr
Thu Oct 18 05:57:23 CDT 2007
On 2007-10-17 13:55, Danek Duvall <danek.duvall at sun.com> wrote:
>On Wed, Oct 17, 2007 at 04:21:58PM +0300, Giorgos Keramidas wrote:
>>> -abort: error: Connection refused
>>> +abort: error: Network is unreachable
>>
>> I think that's a difference between errno values returned by Solaris vs.
>> Linux vs. BSD. The same test `error' has been happening with Hg tests
>> on Solaris 10 for ages here.
>
> No, they're different errors. It's almost certainly that your IPv6
> setup is incomplete. If you attempt to make a connection to
> "localhost", it'll first try the IPv4 address, 127.0.0.1, and get a
> connection refused error because nothing's listening on the port, so
> it falls back to the IPv6 loopback address, ::1, and get the network
> unreachable, and errors out with that.
>
> If you have IPv6 fully set up, then you should get "Connection
> refused" on both, and you won't see this diff. I just did this on my
> laptop manually by running
>
> route add -inet6 ::1 ::1
> ifconfig lo0 inet6 up
>
> but that's cause I noticed there wasn't a route for ::1, and that lo0
> for IPv6 wasn't up. YMMV.
I haven't enabled IPv6 on this host, and I don't need it, but there was
indeed an entry for ::1 in `/etc/inet/ipnodes'. Since I don't use IPv6
in the local network where this host resides, I deleted ::1 from ipnodes
and now all the tests work correctly, as you guessed :)
Thanks!
More information about the Mercurial
mailing list