Gentoo Archives: gentoo-user

From: Iain Buchanan <iain@×××××××××.au>
To: gentoo-user@l.g.o
Subject: [gentoo-user] rsync "locks up" and doesn't continue
Date: Mon, 25 Sep 2006 01:05:40
Message-Id: 1159145960.7140.19.camel@orpheus
1 Hi all,
3 I have a script that downloads my distfiles from machines on our LAN
4 before going over the internet. It uses rsync over ssh to get files
5 locally, then defaults to wget for internet downloads.
7 The command line is basically this:
8 /usr/bin/rsync -avzP --password-file=<filename> rsync://<user>@<host/path> <filename>"
10 which works fine most of the time, so I know the syntax, password and
11 permissions are correct. However, sometimes rsync "dies" (the download
12 process just stops) and I get this sort of message:
15 Password: *password sent*
17 receiving file list ...
18 rsync: link_stat "/usr/portage/distfiles/Net-DNS-0.59.tar.gz" failed: No
19 such file or directory (2)
20 0 files to consider
22 sent 8 bytes received 21 bytes 58.00 bytes/sec
23 total size is 0 speedup is 0.00
24 rsync error: some files could not be transferred (code 23) at
25 main.c(1298) [receiver=2.6.8]
28 And the download won't continue - nor do I get the prompt back because
29 rsync seems to lock the script up at this point by not returning. This
30 is really annoying when it stops at 3 of 50! I don't mind killing it,
31 but sometimes this is supposed to run unattended...
33 Now fair enough, if the file doesn't exist, I can't rsync it, but most
34 of the time, this makes rsync just exit, and the script continues.
36 All I can get from google and docs is that code 23 is a "general" error,
37 meaning some read / write / delete failed. I'm not out of disk space.
39 can anyone shed light on this issue? thanks!
40 --
41 Iain Buchanan <iain at pcorp dot com dot au>
43 I have an existential map. It has "You are here" written all over it.
44 -- Steven Wright
46 --
47 gentoo-user@g.o mailing list


Subject Author
Re: [gentoo-user] rsync "locks up" and doesn't continue Stewart Taylor <stewarta.taylor@×××××××××××.com>