|
From: | Henry Nestler |
Subject: | [Monotone-devel] Re: Can anyone check for the old ipv6 bug? |
Date: | Mon, 10 Apr 2006 23:43:26 +0200 |
User-agent: | Thunderbird 1.5 (Windows/20051201) |
Richard Levitte - VMS Whacker schrieb:
In message <address@hidden> on Fri, 07 Apr 2006 15:49:46 +0200, Henry Nestler <address@hidden> said: Henry.Ne> I'm use unchanged binary from Henry.Ne> http://www.venge.net/monotone/downloads/mtn-0.26pre3-linux-x86.bz2Henry.Ne> Henry.Ne> Running:Henry.Ne> mtn-0.26pre3-linux-x86 ... --bind=:55555 serve '*'Henry.Ne> monotone: fatal: std::runtime_error: network error: failure from Henry.Ne> socket(2): Address family not supported by protocolFixed. Henry.Ne> With IP address: Henry.Ne> mtn-0.26pre3-linux-x86 ... --bind=66.36.228.15:55555 serve '*' Henry.Ne> monotone: network error: name resolution failure for 66.36.228.15Henry.Ne> Henry.Ne> The same error for --bind=0.0.0.0:55555 and Henry.Ne> --bind=monotone.colinux.org:55555I'm guessing this is the exact same problem, just that it causes a different exception to be thrown. Hopefully, my fix fixes that as well. I've made a change to netxx so it includes the text for the errors returned by getaddrinfo() and gethostbyname(). Maybe that will help to figure out what happens if the name resolution problem persists. Could anyone who has experienced all these problems pull the latest revision, rebuild and see if you still get the same problems?
First I would say: You must not fix this problem for old servers. Such server should simple use Moschny's semistatic version. That is working fine!
Running the final version from http://www.venge.net/monotone/downloads/mtn-0.26-linux-x86.bz2 + ./mtn-0.26-linux-x86 --version monotone 0.26 (base revision: 4342565107f26ceda955b66c66b5b7ec152f314e) + ./mtn-0.26-linux-x86 ... --bind=:55555 serve "*" runs fine :)+ ./mtn-0.26-linux-x86 --debug --db=colinux-testing-run.db --norc --rcfile=serv_anonymous.lua --bind=66.36.228.15:55555 serve '*'
...mtn-0: network error: name resolution failure for 66.36.228.15: Bad value for ai_flags
Full debug output: http://www.henrynestler.com/monotone-trace/bind-66.36.228.15.txt Strace, runing without --debug: http://www.henrynestler.com/monotone-trace/strace-bind-66.36.228.15.txtHave tested also --bind=localhost:55555, and some others. Plese see log files at the same place. The only working is "--bind:port", without hostname and without ipaddress.
-- Henry Nestler
[Prev in Thread] | Current Thread | [Next in Thread] |