Richard Levitte - VMS Whacker schrieb:
In message <[EMAIL PROTECTED]> on Fri, 07 Apr 2006 15:49:46 +0200, Henry Nestler
<[EMAIL PROTECTED]> said:
Henry.Ne> I'm use unchanged binary from
Henry.Ne> http://www.venge.net/monotone/downloads/mtn-0.26pre3-linux-x86.bz2
Henry.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 protocol
Fixed.
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.15
Henry.Ne>
Henry.Ne> The same error for --bind=0.0.0.0:55555 and
Henry.Ne> --bind=monotone.colinux.org:55555
I'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.txt
Have 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
_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel