error in rsync protocol data stream (code 12) at io.c(165)

Linux Linux at
Tue Jun 22 14:06:49 GMT 2004

I get the same error even after taking the advise from the subsequent
posts to this message and other message stateing "error in rsync
protocol data stream (code 12) at io.c(165)" . 

The one thing that i have noticed is that is only errors when the size
of the directory on the remote machine exceeds 65GB. if it's 66GB the
transfer will fail half way through. The files i'm transfering are BKF
files from veritas backup exec and they range from 2-4GB each. In
addition my --timeout period is set to "4000"

So with that said if i keep the folder under 65GB i have no problems
what so ever. Also both machines taking part in this process are 2.4ghz
and have 512mb or pc-3200.


On Mon, 2004-06-21 at 13:47, Nick Sylvester wrote:
> I am recieving a connection unexpectedly closed error while trying to 
> sync a directory on two machines.  Rsync is in my path on both 
> machines.  I am using ssh and I can connect to the server fine through 
> ssh.  I am using a vpn but have no problems connecting to any of the 
> servers with it.  This is the full error message I get:
> Remote Machine: Connection refused
> rsync: connection unexpectedly closed (0 bytes read so far)
> rsync error: error in rsync protocol data stream (code 12) at io.c(165)
> Here is the command I am using
> rsync -r --timeout=600 user at remote machine:/opt/u91/scripts/sqlpath/* 
> /home/oracle/sqlpath
> I am a new user to rsync and any suggestions or help would be much 
> appreciated.
> Thanks
> Nick Sylvester

More information about the rsync mailing list