find out the meaning of rsync error code

Jignesh Shah jignesh.shah1980 at gmail.com
Wed Jan 21 08:07:16 GMT 2009


I missed one point is that: It is also works between remote sites when
we run rsync as a client-server normally.(i.e.non-daemon mode).

Thanks.

On 1/21/09, Jignesh Shah <jignesh.shah1980 at gmail.com> wrote:
> Stuart,
>
> This problem is harassing us since long now. It occurs only when we
> run rsync in daemon mode and on remote sites. It works perfectly fine
> if source and destination are in same site. We have tried
> --blocking-io and also ran rsync manually but still no luck. We are
> not able to find what is the actual problem.
>
> Could you please help us here.
>
> Thanks,
> Jignesh
>
> On 1/20/09, Stuart Halliday <StuartH at ecs-tech.com> wrote:
>> Correct.
>>
>> --
>> Stuart Halliday
>>
>>
>>> I think there is no bulletproof solution for this. Right?
>>>
>>> Thanks,
>>> Jignesh
>>>
>>> On 1/20/09, Stuart Halliday <StuartH at ecs-tech.com> wrote:
>>> > When I get errors like that I do a manual rsync command via a
>>> terminal (or
>>> > command prompt) shell which tries to list the contents of either side
>>> of
>>> > the connection.
>>> >
>>> > This at least shows you if the connection and rsync is working.
>>> >
>>> > ie
>>> >
>>> > rsync -v metatex.org::minimals-temp/test/
>>> >
>>> > or
>>> >
>>> > rsync /cygdrive/c/
>>> >
>>> >
>>> > --
>>> > Stuart Halliday
>>> >
>>> >
>>> >
>>> > -----Original Message-----
>>> > From: Jignesh Shah <jignesh.shah1980 at gmail.com>
>>> > To: Stuart Halliday <StuartH at ecs-tech.com>
>>> > Date: Tue, 20 Jan 2009 16:18:25 +0530
>>> > Subject: Re: find out the meaning of rsync error code
>>> >
>>> >> Thanks Sven and Stuart for reply.
>>> >>
>>> >> They both are running at the same version 2.6.0 but still it gives
>>> >> same error. It was working fine since months but just now it has
>>> >> started throwing below error.
>>> >>
>>> >> ERROR: DoRsync(): rsync had errors or failed
>>> >>        rsync return code: 12
>>> >> 	unexpected tag -7
>>> >> 	rsync error: error in rsync protocol data stream (code 12) at
>>> >> io.c(469)
>>> >> 	rsync: connection unexpectedly closed (3941538 bytes read so far)
>>> >> 	rsync error: error in rsync protocol data stream (code 12) at
>>> >> io.c(189)
>>> >>
>>> >>
>>> >> On 1/20/09, Stuart Halliday <StuartH at ecs-tech.com> wrote:
>>> >> > See bottom of Man page @ http://www.samba.org/ftp/rsync/rsync.html
>>> >> >
>>> >> > EXIT Values 12 is:
>>> >> > Error in rsync protocol data stream
>>> >> >
>>> >> > I suggest that this may be caused by you using two different
>>> versions
>>> >> of
>>> >> > Rsync? Please check that the daemon and client are running the
>>> same
>>> >> version.
>>> >> >
>>> >> >
>>> >> > --
>>> >> > Stuart Halliday
>>> >> >
>>> >> >
>>> >> >
>>> >> > -----Original Message-----
>>> >> > From: Jignesh Shah <jignesh.shah1980 at gmail.com>
>>> >> > To: rsync at lists.samba.org
>>> >> > Date: Tue, 20 Jan 2009 15:25:05 +0530
>>> >> > Subject: find out the meaning of rsync error code
>>> >> >
>>> >> >> Hi,
>>> >> >>
>>> >> >> Could anyone please tell me how to get the meaning of rsync error
>>> >> >> codes.
>>> >> >>
>>> >> >> In "rsync return code: 12" error, what 12 indicates?
>>> >> >>
>>> >> >> Thanks,
>>> >> >> Jignesh
>>> >> >
>>> >> >
>>
>>
>> This email is the property of ECS Technology Ltd.
>> This company is registered in Scotland with company number 212513.
>> VAT registered GB 761 7456 12
>> http://www.ecs-tech.com/
>>
>>
>> --
>> Please use reply-all for most replies to avoid omitting the mailing list.
>> To unsubscribe or change options:
>> https://lists.samba.org/mailman/listinfo/rsync
>> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>>
>


More information about the rsync mailing list