Hello, I'm fairly new to rsync so please bear with me. I'm trying to use cwRsync to sync my spambayes installation between my laptop and home computer, both running WinXP. I have configured rsync servers (cwrsync) on both machines. Now, I am trying to pull the files from the laptop rsync server down to the home computer and I'm encountering the error: rsync error: some files could not be transferred (code 23) at main.c(1048) I checked to see what did and did not transfer. All of the spambayes "cache" files fail to transfer while the .db dbm files transfer fine. Each of these cache files is a text record of a raw email stream. The files have names like "1088009747-2". I looked in the source at 1048, and in error.h but all I could determine was that a partial file transfer error occured; just what it told me! My gut feeling is that it's having trouble creating the files with no extension. Can anybody help me find a way to work around this? Thanks for your time! Regards, Steve
I suspectthe spambayes cache files was lock exclusive, so that rsync can't access it. Regards, Milutin Voinivich http://www.nasbackup.com/ ----- Original Message ----- From: "Stephen Anderson" <stephena@hiwaay.net> To: <rsync@lists.samba.org> Sent: Wednesday, June 23, 2004 11:30 PM Subject: Help with Partial Transfer Error?> Hello, > > I'm fairly new to rsync so please bear with me. I'm trying to use cwRsync to sync > my spambayes installation between my laptop and home computer, both running > WinXP. I have configured rsync servers (cwrsync) on both machines. > > Now, I am trying to pull the files from the laptop rsync server down to the home > computer and I'm encountering the error: > > rsync error: some files could not be transferred (code 23) at main.c(1048) > > I checked to see what did and did not transfer. All of the spambayes "cache" files > fail to transfer while the .db dbm files transfer fine. Each of these cache files is a > text record of a raw email stream. The files have names like "1088009747-2". > > I looked in the source at 1048, and in error.h but all I could determine was that a > partial file transfer error occured; just what it told me! > > My gut feeling is that it's having trouble creating the files with no extension. Can > anybody help me find a way to work around this? Thanks for your time! > > Regards, > Steve
Thank you for the suggestions! Rsync had worked for two other backups I had tried so I was at a loss for what would be different with this one. I took your advice and tried just a single file. I was unable to transfer it. I tried renaming then moving it, still unable to transfer. The symptoms got really weird. Finally, I tracked it down to a permission problem. The cache file directories had been created automatically by spambayes and for some reason they had permissions which my rsync user couldn't read. I would have never gotten to that point without your kick in the pants. Thanks! Regards, Steve On 23 Jun 2004 at 17:33, root wrote:> On Wed, Jun 23, 2004 at 02:30:49PM -0700, Stephen Anderson wrote: > > Hello, > > > > I'm fairly new to rsync so please bear with me. I'm trying to use > > cwRsync to sync my spambayes installation between my laptop and home > > computer, both running WinXP. I have configured rsync servers > > (cwrsync) on both machines. > > > > Now, I am trying to pull the files from the laptop rsync server down > > to the home computer and I'm encountering the error: > > > > rsync error: some files could not be transferred (code 23) at > > main.c(1048) > > > > I checked to see what did and did not transfer. All of the spambayes > > "cache" files fail to transfer while the .db dbm files transfer fine. > > Each of these cache files is a text record of a raw email stream. > > The files have names like "1088009747-2". > > > > I looked in the source at 1048, and in error.h but all I could > > determine was that a partial file transfer error occured; just what > > it told me! > > > > My gut feeling is that it's having trouble creating the files with no > > extension. Can anybody help me find a way to work around this? > > Thanks for your time! > > ... and the actual command line producing this error is...? > > Have you tried narrowing it down by transferring only a single file? > > Do transfers work in the other direction? How about with the same > files? > > These are questions you should be asking yourself. If you already > have, then you should report your results. It seems you may have some > more work to do before you have enough information. > -chris > > > > > Regards, > > Steve > > > > -- > > To unsubscribe or change options: > > http://lists.samba.org/mailman/listinfo/rsync Before posting, read: > > http://www.catb.org/~esr/faqs/smart-questions.html >
On Wed, Jun 23, 2004 at 02:30:49PM -0700, Stephen Anderson wrote:> rsync error: some files could not be transferred (code 23) at main.c(1048)If you don't see a file error that would account for this and you're connecting to a daemon rsync, look in the logs on the computer running the rsync daemon to see what the error is. The next release of rsync will put the error both in the log and output it to the user, which will make this less confusing. ..wayne..