View previous topic :: View next topic |
Author |
Message |
bloedie Tux's lil' helper
Joined: 03 Jul 2006 Posts: 88 Location: Germany
|
Posted: Fri Jun 06, 2008 10:29 am Post subject: emerge --sync protocol data stream (code 12) at io.c(458) |
|
|
Hi.
Since a few days I can not make an emerge --sync.
I always get a message like this
Code: |
emerge --sync
>>> Starting rsync with rsync://140.211.166.165/gentoo-portage...
>>> Checking server timestamp ...
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(458) [receiver=2.6.9]
>>> Retrying...
>>> Starting retry 1 of 3 with rsync://134.68.220.74/gentoo-portage
>>> Checking server timestamp ...
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(609) [receiver=2.6.9]
>>> Retrying...
>>> Starting retry 2 of 3 with rsync://134.68.220.73/gentoo-portage
>>> Checking server timestamp ...
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(458) [receiver=2.6.9]
>>> Retrying...
>>> Starting retry 3 of 3 with rsync://134.68.220.97/gentoo-portage
>>> Checking server timestamp ...
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(458) [receiver=2.6.9]
>>> Exceeded PORTAGE_RSYNC_RETRIES: 3
|
Does anyone has a solution?
Cu.
Bloedie |
|
Back to top |
|
|
Akhouk Guru
Joined: 23 May 2003 Posts: 476 Location: The Two Niles, Africa
|
Posted: Fri Jun 06, 2008 2:38 pm Post subject: |
|
|
Are you sure the rsync port hasn't been blocked someone on your firewall? It seems to be allowing the connection but blocking data transfer. _________________ AMD 64 3500+, 2Gb RAM DDR400, 2 x 180Gb SATA, 256Mb Nvidia |
|
Back to top |
|
|
bloedie Tux's lil' helper
Joined: 03 Jul 2006 Posts: 88 Location: Germany
|
Posted: Fri Jun 06, 2008 3:32 pm Post subject: |
|
|
Hi.
No it's not blocked. An rsync to other servers is possible.
If I try a emerge --sync a serveral times, then the emerge --sync
will work.
So what's wrong? Any ideas?
Cu.
Bloedie |
|
Back to top |
|
|
Akhouk Guru
Joined: 23 May 2003 Posts: 476 Location: The Two Niles, Africa
|
Posted: Fri Jun 06, 2008 5:15 pm Post subject: |
|
|
It still sounds like a firewall problem....connection reset by peer sounds like something didn't like rsync somewhere along the route.
When you say eventually it syncs? When it does is it with a particular rsync server? Perhaps you try changing your SYNC line to rsync servers that work and then try to figure out why the others don't. _________________ AMD 64 3500+, 2Gb RAM DDR400, 2 x 180Gb SATA, 256Mb Nvidia |
|
Back to top |
|
|
skellr l33t
Joined: 18 Jun 2005 Posts: 975 Location: The Village, Portmeirion
|
Posted: Fri Jun 06, 2008 10:29 pm Post subject: |
|
|
I've been getting this also. it seems to be intermittent.
Code: | skellr@srishti ~ $ rsync raven.gentoo.org::
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(635) [receiver=3.0.2]
skellr@srishti ~ $ rsync raven.gentoo.org::
Welcome to raven.gentoo.org
Server Address : 134.68.220.73
Contact Name : mirror-admin@gentoo.org
Hardware : 2 x Intel(R) Xeon(TM) CPU 1700MHz, 2019MB RAM
Please note: common gentoo-netiquette says you should not sync more
than once a day. Users who abuse the rsync.gentoo.org rotation
may be added to a temporary ban list.
MOTD autogenerated by update-rsync-motd on Sun Mar 30 16:05:05 UTC 2008
gentoo-x86-portage Gentoo Linux Portage tree
gentoo-portage Gentoo Linux Portage tree mirror
gentoo-sec Gentoo Linux Security tree mirror |
I could understand if the servers were busy at the time but when it runs through 4 different servers with the same results then.. what are the chances. |
|
Back to top |
|
|
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Sat Jun 07, 2008 2:05 am Post subject: |
|
|
I'm getting the same error:
Code: | >>> Starting rsync with rsync://134.68.220.97/gentoo-portage...
>>> Checking server timestamp ...
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(458) [receiver=2.6.9]
>>> Retrying... |
It seems like a bug; any solutions? |
|
Back to top |
|
|
--D_S-- Tux's lil' helper
Joined: 06 Jan 2005 Posts: 90 Location: Guatemala
|
Posted: Sat Jun 07, 2008 3:04 am Post subject: Same error |
|
|
emerge --sync
>>> Starting rsync with rsync://134.68.220.73/gentoo-portage...
>>> Checking server timestamp ...
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(458) [receiver=2.6.9]
>>> Retrying...
It seems to be random, I could successfully sync in a remote server and after a while I could sync successfully on mine. _________________
Athlon Xp 2400+
|
|
Back to top |
|
|
RayDude Advocate
Joined: 29 May 2004 Posts: 2062 Location: San Jose, CA
|
Posted: Sat Jun 07, 2008 6:18 am Post subject: |
|
|
I'm having the same problem. emerge-webrsync seems to work though its a bit slow.
Once I did this emerge --sync worked.
Raydude _________________ Some day there will only be free software. |
|
Back to top |
|
|
bloedie Tux's lil' helper
Joined: 03 Jul 2006 Posts: 88 Location: Germany
|
Posted: Sat Jun 07, 2008 6:35 am Post subject: |
|
|
Hi.
Akhouk wrote: | It still sounds like a firewall problem....connection reset by peer sounds like something didn't like rsync somewhere along the route.
When you say eventually it syncs? When it does is it with a particular rsync server? Perhaps you try changing your SYNC line to rsync servers that work and then try to figure out why the others don't. |
The problem is only with the gentoo servers and only by trying an emerge --sync. After a random try it will work.
I changed the make make.conf entry to
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
Yesterday evening the same problem, Today it works after a second try.
Cu.
Bloedie |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
|
Back to top |
|
|
|