monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Re: coLinux and 0.26pre1: Address family not supported


From: Henry Nestler
Subject: [Monotone-devel] Re: coLinux and 0.26pre1: Address family not supported by protocol
Date: Wed, 18 Jan 2006 22:15:26 +0100
User-agent: Mozilla Thunderbird 0.6 (Windows/20040502)



Thomas Moschny wrote:

On Wednesday 18 January 2006 20:22, Henry Nestler wrote:

Henry Nestler wrote:

+ monotone-0.26pre1-x86-semistatic --db=colinux-testing.db
--rcfile=serv_anonymous.lua serve --bind=monotone.colinux.org:55555 '*'
monotone: network error: name resolution failure for monotone.colinux.org

Use monotone any of functions getnetent(), getnetbyname() or
getnetbyaddr()? see:
http://linux.about.com/library/cmd/blcmdl3_getnetent.htm

If yes, this could be a problem: My RH9 box has no file /etc/networks.


No, it doesn't. Try this command:
$ readelf -s ./monotone-0.26pre1-x86-semistatic | grep getnet

But it *does* use getaddrinfo(), which might be broken (resp. not implemented) on older systems according to some earlier messages.

So, I built a new binary that doesn't use getaddrinfo(), but gethostbyname() and getservbyname() instead. It has additionally ipv6 disabled, as this seems to cause problems, too.

Henry, could you please try this binary as a server on your rh9 and/or suse9.0 machines and see, whether there are still name resolution failures?

It can be found at the usual place:
http://www.ipd.uni-karlsruhe.de/~moschny/monotone/

Currently, there's only a 0.26pre1 version, though.

Ok, nice.  Name resolving works. Is listen on socked.
Connecting is ok. Client starts, then the server terminates with

monotone: fatal: std::logic_error: error in revision:1:13:E: wanted symbol 'format_version', got TOK_SYMBOL with value new_manifest

I'm not shure. Perhaps is something from old 0.18 buggy revisions in database. I will do a fresh copy and database check, from repaired version 0.23 and mail more than.

--
Henry Nestler
(The server)

address@hidden mt-0.26]$ ./monotone-0.26pre1-x86-semistatic-no_getaddrinfo 
--db=colinux-testing.db --rcfile=serv_anonymous.lua serve 
--bind=monotone.colinux.org:55555 '*'
monotone: beginning service on monotone.colinux.org : 55555
monotone: accepted new client connection from 84.130.154.236 : 16713
monotone: allowed anonymous read permission for '*' excluding ''
monotone: finding items to synchronize:
monotone: certs | keys | revisions
monotone:  1151 |    1 |       379
monotone: fatal: std::logic_error: error in revision:1:13:E: wanted symbol 
'format_version', got TOK_SYMBOL with value new_manifest
monotone:
monotone: this is almost certainly a bug in monotone.
monotone: please send this error message, the output of 'monotone 
--full-version',
monotone: and a description of what you were doing to address@hidden
monotone: discarding debug log (maybe you want --debug or --dump?)

----
(the client)
address@hidden:/tmp> monotone --db=colinux-0.26-test.db pull 
monotone.colinux.org:55555 '*'
monotone: doing anonymous pull; use -kKEYNAME if you need authentication
monotone: connecting to monotone.colinux.org:55555
monotone: first time connecting to server monotone.colinux.org:55555
monotone: I'll assume it's really them, but you might want to double-check
monotone: their key's fingerprint: 687707c45360b876f22611cb63a6a6c2573d00e7
monotone: warning: saving public key for henry to database
monotone: finding items to synchronize:
monotone: bytes in | bytes out | certs in | revs in
monotone:    2,4 k |     0,6 k |        0 |       0
monotone: error: I/O failure while talking to peer monotone.colinux.org:55555, 
disconnecting

reply via email to

[Prev in Thread] Current Thread [Next in Thread]