Issue while doing rsync from ubuntu mirrors

Mail List maillist at crucialp.com
Fri Jun 21 07:01:59 UTC 2013


Hello Jared,


Yeah. We have tried several mirrors, however all are failing with this error. This worked well for all the other flavors of Linux. We are facing issue while syncing from Ubuntu only. That's why we thought if this is an Ubuntu specific issue.

Thanks for your suggestions, Jared :).

Now I've initiated one more rsync with the options you mentioned. Let us see how it goes.

By the way, may I know if any one else also can throw some light into this??



----- Original Message -----
From: "Jared Norris" <jrnorris at gmail.com>
To: "Ubuntu user technical support, not for general discussions" <ubuntu-users at lists.ubuntu.com>
Sent: Wednesday, June 19, 2013 11:19:17 AM
Subject: Re: Issue while doing rsync from ubuntu mirrors






On 19 June 2013 15:37, Mail List < maillist at crucialp.com > wrote: 


Hi All, 

We are facing an issue while rsyncing packages from the ubuntu mirrors. 

The commands we used are as the following 
---- 
/usr/bin/rsync -avzH --bwlimit=50000 --delay-updates --delete --exclude-from=/opt/crucial_mirror/ubuntu-exclude-list.txt --exclude "Packages*" --exclude "Sources*" --exclude "Release*" rsync:// mirror.uber.com.au/ubuntu/archive/ /distros/ubuntu; 

/usr/bin/rsync -avzH --bwlimit=50000 --delay-updates --delete --exclude-from=/opt/crucial_mirror/ubuntu-exclude-list.txt rsync:// mirror.uber.com.au/ubuntu/archive/ /distros/ubuntu; 
---- 

The command will start rsync process, however after a few hours, it will get failed with an error message like this: 
---------- 
rsync: read error: Connection reset by peer (104) 
rsync error: error in rsync protocol data stream (code 12) at io.c(759) [receiver=3.0.6] 
rsync: connection unexpectedly closed (21172499 bytes received so far) [generator] 
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [generator=3.0.6] 
---------- 


Earlier, we have tried without setting bandwidth limit for rsync, however that also failed. 

We tried to rsync from several mirrors (uber, aarnet). However, all failed. 

This command worked well when we tried to sync from mirrors of other favors. Any issues noted with Ubuntu mirrors? 

Regards 
CP Support 

-- 
ubuntu-users mailing list 
ubuntu-users at lists.ubuntu.com 
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users 

Is the error the same for both mirrors you are trying to use? Does the rsync start off from where it finished last time? I rsync from aarnet regularly and don't face any problems although it must be said I don't use as much switches. If it helps, my command is: 


rsync -vtlrh --ipv4 --progress --stats --delete --exclude .~tmp~/ www.mirror.aarnet.edu.au::ubuntu /media/Repository/ubuntu/ 


I would start with trying to eliminate errors from the mirror end and internet connectivity end (connection reset by peer seems a bit connectivity related rather than rsync related according to the samba help site - question 3 at http://rsync.samba.org/issues.html ). Otherwise perhaps give my working one a try and see if it runs all the way though. If that works, I'm at a loss and hopefully someone else can chime in. 





-- 
Regards, 

Jared Norris 
https://wiki.ubuntu.com/JaredNorris 
-- 
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list