stoil valchkov
2005-Nov-01 13:05 UTC
error in rsync protocol data stream (code 12) at io.c(359)
Hi, I've been experiencing this error for 2 weeks now. I don't now ehat could be a reason. I've tried to update with latest sources, but the same result (I'm not sure for line number, but the rest is the same). rsync: connection unexpectedly closed (5881604 bytes received so far) [generator] rsync error: error in rsync protocol data stream (code 12) at io.c(359) My synchronized data is about - 6.6GB & lot of files. It used to run without problems but now it can't finish rvrn 1 time. Interesting part is that it breaks often at the same place it was filed previous run (I have a loop in shell script). I've checked source and destination rights - everything should be fine. I've even deleted part of destination data. It didn't succeed to download the deleted data. So what could be a reason for this problem? Where can I look for possible problems? Is it in rsync or in communication channel (I use ssh tunneling)? Do you think that rsync server might do this better? 10x in advance! -------------- next part -------------- HTML attachment scrubbed and removed
stoil valchkov
2005-Nov-03 17:08 UTC
error in rsync protocol data stream (code 12) at io.c(359)
It seems however that this issue maight have soemthing with permisions on the client side. I've noticed that somehow rights of some directories are changed during rsync-ing. So I've tried to reset rights (added write access for owner) in all directoris recursievely after each rsync try. I don't know if this was the reason but this is 1st time for more than 2 weeks now it succeeded! Do you have ideas what is the reason? ---------- Forwarded message ---------- From: stoil valchkov <svalchkov@gmail.com> Date: Nov 1, 2005 3:05 PM Subject: error in rsync protocol data stream (code 12) at io.c(359) To: rsync@lists.samba.org Hi, I've been experiencing this error for 2 weeks now. I don't now ehat could be a reason. I've tried to update with latest sources, but the same result (I'm not sure for line number, but the rest is the same). rsync: connection unexpectedly closed (5881604 bytes received so far) [generator] rsync error: error in rsync protocol data stream (code 12) at io.c(359) My synchronized data is about - 6.6GB & lot of files. It used to run without problems but now it can't finish rvrn 1 time. Interesting part is that it breaks often at the same place it was filed previous run (I have a loop in shell script). I've checked source and destination rights - everything should be fine. I've even deleted part of destination data. It didn't succeed to download the deleted data. So what could be a reason for this problem? Where can I look for possible problems? Is it in rsync or in communication channel (I use ssh tunneling)? Do you think that rsync server might do this better? 10x in advance! -------------- next part -------------- HTML attachment scrubbed and removed
stoil valchkov
2005-Nov-08 09:28 UTC
Fwd: error in rsync protocol data stream (code 12) at io.c(359)
No solution yet :( I tought that it is ok, but in fact it didn't run without problems. It was a mistake in shell script and it finished with ok status and I tought rsync finished with success. How can I troubleshoot this? Here is the command line: rsync --partial --partial-dir=$partial_dir --timeout=$rsyncTimeout -vv --compress --force -t -L --delete --rsync-path=/home/me/bin/rsync --exclu de **something** --exclude=someBugUnimportandFile.xml --include-from=rsyncInclude.txt --exclude '*' --recursive me @remoteHost:/remotepath /localPath &> $rsyncLog rsyncErrCode=$? ---------- Forwarded message ---------- From: stoil valchkov <svalchkov@gmail.com> Date: Nov 1, 2005 3:05 PM Subject: error in rsync protocol data stream (code 12) at io.c(359) To: rsync@lists.samba.org Hi, I've been experiencing this error for 2 weeks now. I don't now ehat could be a reason. I've tried to update with latest sources, but the same result (I'm not sure for line number, but the rest is the same). rsync: connection unexpectedly closed (5881604 bytes received so far) [generator] rsync error: error in rsync protocol data stream (code 12) at io.c(359) My synchronized data is about - 6.6GB & lot of files. It used to run without problems but now it can't finish rvrn 1 time. Interesting part is that it breaks often at the same place it was filed previous run (I have a loop in shell script). I've checked source and destination rights - everything should be fine. I've even deleted part of destination data. It didn't succeed to download the deleted data. So what could be a reason for this problem? Where can I look for possible problems? Is it in rsync or in communication channel (I use ssh tunneling)? Do you think that rsync server might do this better? 10x in advance! -------------- next part -------------- HTML attachment scrubbed and removed
Wayne Davison
2005-Nov-10 00:11 UTC
Fwd: error in rsync protocol data stream (code 12) at io.c(359)
On Tue, Nov 08, 2005 at 11:28:19AM +0200, stoil valchkov wrote:> How can I troubleshoot this?I sent a message to this list just a few hours after your original request responding to a message with an almost identical subject to yours. It essentially told you that the Issues and Debugging page is your best resource for figuring out how to trouble-shoot a remote rsync failure. One of the first suggestions on that page is to upgrade rsync (on both ends!) to 2.6.6 for better error reporting of remote problems. Upgrading will also improve the timeout handling (which may be why the remote rsync is going away). You might also try increasing the timeout value. ..wayne..