Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why does rsync fail so much when doing 'emerge sync' ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
peaceful
Apprentice
Apprentice


Joined: 06 Jun 2003
Posts: 287
Location: Utah

PostPosted: Fri Nov 21, 2003 3:12 pm    Post subject: Why does rsync fail so much when doing 'emerge sync' ? Reply with quote

When I do an 'emerge sync', rsync usually ancounters the following error with one or two servers before finding one that actually works completely.

Anyone know what's causing this?

Code:
rsync: connection unexpectedly closed (1490379 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)
Back to top
View user's profile Send private message
Oopsz
Guru
Guru


Joined: 08 Oct 2002
Posts: 340

PostPosted: Fri Nov 21, 2003 3:39 pm    Post subject: Reply with quote

That happens when the stream gets dropped somewhere.. how solid is your net connection?
_________________
Pop-before-SMTP with the Gentoo Virtual Mailhosting Guide
Back to top
View user's profile Send private message
Angry Geek
Apprentice
Apprentice


Joined: 23 Apr 2003
Posts: 162
Location: .uk

PostPosted: Fri Nov 21, 2003 7:00 pm    Post subject: Reply with quote

I have exactly the same issue and my net connection is fairly stable. Only seems to be rsync that has the issue, all other services work fine.
_________________
Linux user 327411. Go get counted!
Back to top
View user's profile Send private message
peaceful
Apprentice
Apprentice


Joined: 06 Jun 2003
Posts: 287
Location: Utah

PostPosted: Sun Nov 23, 2003 5:12 am    Post subject: Rock Solid Reply with quote

Oopsz wrote:
That happens when the stream gets dropped somewhere.. how solid is your net connection?


My connection is rock solid. I'm running on dual-T3's.

(Beat that :P )
Back to top
View user's profile Send private message
JSharku
Apprentice
Apprentice


Joined: 09 Feb 2003
Posts: 189
Location: Belgium

PostPosted: Sun Nov 23, 2003 6:15 am    Post subject: Reply with quote

I often have the same problem when manually doing an 'emerge sync' however my rsync cron script (adapted from the Gentoo rsync mirror Howto) is run I hardly ever have problems with rsyncing. The script itself:

Code:

#!/bin/bash

RSYNC="/usr/bin/rsync"
OPTS="--quiet --recursive --links --perms --times --devices --compress --delete
--delete-after --exclude=distfiles/ --exclude=packages/ --timeout=600"

SRC="rsync://rsync.gentoo.skynet.be/gentoo-portage"
DST="/usr/portage/"
BASENAME="/usr/bin/basename"

echo "Started update at "`date` >> /var/log/`$BASENAME $0`.log 2>&1
logger -t rsync "re-rsyncing the gentoo-portage tree"
${RSYNC} ${OPTS} ${SRC} ${DST} >>  /var/log/`$BASENAME $0`.log 2>&1

echo "  Ended update at "`date` >> /var/log/`$BASENAME $0`.log 2>&1


Sharku
Back to top
View user's profile Send private message
c_kuzmanic
Guru
Guru


Joined: 18 Apr 2002
Posts: 488
Location: Los Angeles , California

PostPosted: Mon Nov 24, 2003 5:59 am    Post subject: Reply with quote

I had this problem when using mm-sources and the supplied nforce-net driver (forcedeth). Drove me nutts, using a hacked up version of the original nvnet driver from nvidia finally fixed it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum