public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Iain Buchanan <iain@pcorp.com.au>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] rsync "locks up" and doesn't continue
Date: Mon, 25 Sep 2006 10:29:20 +0930	[thread overview]
Message-ID: <1159145960.7140.19.camel@orpheus> (raw)

Hi all,

I have a script that downloads my distfiles from machines on our LAN
before going over the internet.  It uses rsync over ssh to get files
locally, then defaults to wget for internet downloads.

The command line is basically this:
/usr/bin/rsync -avzP --password-file=<filename> rsync://<user>@<host/path> <filename>"

which works fine most of the time, so I know the syntax, password and
permissions are correct.  However, sometimes rsync "dies" (the download
process just stops) and I get this sort of message:


Password: *password sent*

receiving file list ...
rsync: link_stat "/usr/portage/distfiles/Net-DNS-0.59.tar.gz" failed: No
such file or directory (2)
0 files to consider

sent 8 bytes  received 21 bytes  58.00 bytes/sec
total size is 0  speedup is 0.00
rsync error: some files could not be transferred (code 23) at
main.c(1298) [receiver=2.6.8]


And the download won't continue - nor do I get the prompt back because
rsync seems to lock the script up at this point by not returning.  This
is really annoying when it stops at 3 of 50!  I don't mind killing it,
but sometimes this is supposed to run unattended...

Now fair enough, if the file doesn't exist, I can't rsync it, but most
of the time, this makes rsync just exit, and the script continues.

All I can get from google and docs is that code 23 is a "general" error,
meaning some read / write / delete failed.  I'm not out of disk space.

can anyone shed light on this issue?  thanks!
-- 
Iain Buchanan <iain at pcorp dot com dot au>

I have an existential map.  It has "You are here" written all over it.
		-- Steven Wright

-- 
gentoo-user@gentoo.org mailing list



             reply	other threads:[~2006-09-25  1:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-25  0:59 Iain Buchanan [this message]
2006-09-27 19:03 ` [gentoo-user] rsync "locks up" and doesn't continue Stewart Taylor
2006-09-28  5:47   ` Iain Buchanan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1159145960.7140.19.camel@orpheus \
    --to=iain@pcorp.com.au \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox