find out the meaning of rsync error code

Stuart Halliday StuartH at ecs-tech.com
Tue Jan 20 12:23:56 GMT 2009


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/




More information about the rsync mailing list