LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-03-2018, 01:15 PM   #1
PoleStar
Member
 
Registered: Jul 2010
Posts: 231

Rep: Reputation: 2
rsync on centOS fails


Hi,
I am trying to make a local repo server.
When I try to download packages on the server in the repositories
it fails.
Please look at the output.

Quote:
rsync -v -rz --progress rsync://mirror.csclub.uwaterloo.ca/centos/6/os/x86_64/ /repos/CentOS/6/5/
rsync: failed to connect to mirror.csclub.uwaterloo.ca: Connection timed out (110)
rsync error: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.6]
How ever the website is reachable from the server in general.

Quote:
wget http://centos.mirror.rafal.ca/6/os/x86_64/
--2018-12-03 19:13:29-- http://centos.mirror.rafal.ca/6/os/x86_64/
Connecting to xxx.xx.xx.xx:3xx8... connected.
Proxy request sent, awaiting response... 200 OK
Length: 3485 (3.4K) [text/html]
Saving to: “index.html.1”
Thank you.

Last edited by PoleStar; 12-03-2018 at 01:16 PM.
 
Old 12-03-2018, 01:30 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,732

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
from man rsync
Code:
       Access via rsync daemon:
         Pull: rsync [OPTION...] [USER@]HOST::SRC... [DEST]
               rsync [OPTION...] rsync://[USER@]HOST[:PORT]/SRC... [DEST]
So it appears that your syntax is OK IF the remote server is running the rsync daemon and IF they don't require a user.
Based on getting "Connection timed out" I'm guessing they're not running the daemon or you need to supply the port.

Also noted is that the server you're attempting to rsync to is not the server you connected to with wget.
rsync: mirror.csclub.uwaterloo.ca/
http: centos.mirror.rafal.ca/

Edit: At centos.org I find
Code:
http://centos.mirror.rafal.ca/	ftp://centos.mirror.rafal.ca/pub/CentOS/	rsync://centos.mirror.rafal.ca/CentOS/
Edit 2: The uwaterloo.ca rsync:// is also listed at centos.org, and can be reached with a web browser. Maybe their rsync is not working. Have you tried another mirror?

Last edited by scasey; 12-03-2018 at 01:42 PM.
 
1 members found this post helpful.
Old 12-03-2018, 02:08 PM   #3
PoleStar
Member
 
Registered: Jul 2010
Posts: 231

Original Poster
Rep: Reputation: 2
Thank you for your reply.
I am using 'reposync' it seems to be working with out issue.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync solaris + ld.so.1: rsync: fatal: libiconv.so.2: open failed: xxx_anuj_xxx Solaris / OpenSolaris 25 02-23-2012 03:23 AM
[SOLVED] rsync fails in cron - ssh key prob for rsync? jonathansfl Linux - Server 6 12-09-2010 09:48 AM
Unifying permissions between two servers (CentOS + Webmin/CentOs +Cpanel) and rsync d60eba Linux - Server 1 01-01-2010 12:55 PM
Rsync server vs rsync over ssh humbletech99 Linux - Networking 1 10-18-2006 12:10 PM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration