From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GReui-000165-1N for garchives@archives.gentoo.org; Mon, 25 Sep 2006 01:05:40 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8P14NDT024151; Mon, 25 Sep 2006 01:04:23 GMT Received: from bach.pcorp.com.au (mail.pcorp.com.au [150.101.72.21]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8P0xUno014684 for ; Mon, 25 Sep 2006 00:59:31 GMT Received: from localhost (localhost.pcorp.com.au [127.0.0.1]) by bach.pcorp.com.au (Postfix) with ESMTP id 3754618A4E; Mon, 25 Sep 2006 10:27:40 +0930 (CST) Received: from bach.pcorp.com.au ([127.0.0.1]) by localhost (pcorp.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 59162-02; Mon, 25 Sep 2006 10:27:37 +0930 (CST) Received: from orpheus (orpheus.pcorp.com.au [172.16.0.52]) by bach.pcorp.com.au (Postfix) with ESMTP id 46C4418A4C for ; Mon, 25 Sep 2006 10:27:37 +0930 (CST) Subject: [gentoo-user] rsync "locks up" and doesn't continue From: Iain Buchanan To: gentoo-user@lists.gentoo.org Content-Type: text/plain Date: Mon, 25 Sep 2006 10:29:20 +0930 Message-Id: <1159145960.7140.19.camel@orpheus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at pcorp.com.au X-Archives-Salt: 9bf263cc-9e91-4586-a491-415b5c642ec6 X-Archives-Hash: 4569302398c9f2d4e4b8afe77d306fee 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= rsync://@ " 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 I have an existential map. It has "You are here" written all over it. -- Steven Wright -- gentoo-user@gentoo.org mailing list