1 |
Hi all, |
2 |
|
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. |
6 |
|
7 |
The command line is basically this: |
8 |
/usr/bin/rsync -avzP --password-file=<filename> rsync://<user>@<host/path> <filename>" |
9 |
|
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: |
13 |
|
14 |
|
15 |
Password: *password sent* |
16 |
|
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 |
21 |
|
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] |
26 |
|
27 |
|
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... |
32 |
|
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. |
35 |
|
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. |
38 |
|
39 |
can anyone shed light on this issue? thanks! |
40 |
-- |
41 |
Iain Buchanan <iain at pcorp dot com dot au> |
42 |
|
43 |
I have an existential map. It has "You are here" written all over it. |
44 |
-- Steven Wright |
45 |
|
46 |
-- |
47 |
gentoo-user@g.o mailing list |