Error in rsync protocol datastream on sync of

Sturla Holm Hansen sturla at hitconsult.no
Sat Jan 13 00:50:35 GMT 2007


On tor, januar 11, 2007 23:30, Matt McCutchen wrote:
> On 1/11/07, Sturla Holm Hansen <sturla at hitconsult.no> wrote:
>> Hi list.
>> I'm using OpenVPN to rsync a bunch of hosts each night and it works
>> great
>> on all but two of them which gives:
>>
>> Error in rsync protocol datastream on sync of <hostname>
>
> That message is not exactly the same as the one rsync prints ("error
> in rsync protocol data stream", note lowercase "e" and separate words
> "data stream").  That leads me to believe that the error is not from
> rsync itself but from some other tool that wraps rsync and interprets
> the exit code of 12.  To have any idea what the problem is, we need to
> know the complete error message that rsync itself prints before
> exiting.  You could look for that message in any relevant log files.
>
> Matt
>
You're right of course, the one I listed is the mailed output from my
script running rsync on a bunch of hosts, sorry about that...
Here's the exact message from the log:

rsync: connection unexpectedly closed (5897945 bytes received so far)
[generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(420)

I guess this could be some instability in the openvpn connection, even if
they seem solid they could glitch for some seconds I guess...


Sturla



More information about the rsync mailing list