NOOB problems with rsync.

General support questions
Post Reply
supertight
Posts: 171
Joined: 2017/02/07 21:47:51

NOOB problems with rsync.

Post by supertight » 2017/06/24 22:29:37

I'm trying to setup this network install server
https://wiki.centos.org/HowTos/NetworkInstallServer

I can't even get the first step complete. I found the rsync server I want to use.
[url]rsync://repos.lax.quadranet.com/centos/[/url]

I made the script as described in the tutorial.

Code: Select all

[root@lsvr cron.weekly]# cat update-centos
#!/bin/sh
# Replace this information with your mirror information
MIRROR=rsync://repos.lax.quadranet.com/centos
LOCALDIR=/var/www/html/centos/6.9

for i in os updates; do
    rsync -aH $MIRROR/$i $LOCALDIR
done


I keep getting this error:

Code: Select all

rsync: link_stat "/os" (in centos) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1505) [receiver=3.0.6]
rsync: link_stat "/updates" (in centos) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1505) [receiver=3.0.6]
Can anyone see where I noob'd this up? Thanks for reading.
Last edited by supertight on 2017/06/24 22:59:22, edited 1 time in total.

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: NOOB problems with rsync.

Post by tunk » 2017/06/24 22:47:38

Try: rsync://repos.lax.quadranet.com/centos/6.9

supertight
Posts: 171
Joined: 2017/02/07 21:47:51

Re: NOOB problems with rsync.

Post by supertight » 2017/06/24 22:58:31

tunk wrote:Try: rsync://repos.lax.quadranet.com/centos/6.9

Working.
- Thank you.

Post Reply