public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Stewart Taylor <stewarta.taylor@btopenworld.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] rsync "locks up" and doesn't continue
Date: Wed, 27 Sep 2006 20:03:48 +0100	[thread overview]
Message-ID: <451ACB14.9060105@btopenworld.com> (raw)
In-Reply-To: <1159145960.7140.19.camel@orpheus>


Hi

Don't know if this will help but I had a similar problem when I set up my 
archiving system. The problem was that I set it to use ssh which needs it own 
password and the password file was only used by rsync. the answer was to not use 
ssh  and just use rsync client to rsync server. This was just over my lan but it 
solved the problem.

HTH

Stewart.

Iain Buchanan wrote:
> 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!

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-09-27 19:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-25  0:59 [gentoo-user] rsync "locks up" and doesn't continue Iain Buchanan
2006-09-27 19:03 ` Stewart Taylor [this message]
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=451ACB14.9060105@btopenworld.com \
    --to=stewarta.taylor@btopenworld.com \
    --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