Re: find out the meaning of rsync error code

2009-01-21 Thread Jignesh Shah
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 stua...@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 stua...@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.shah1...@gmail.com
  To: Stuart Halliday stua...@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 stua...@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.shah1...@gmail.com
   To: rsync@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

-- 
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


Re: find out the meaning of rsync error code

2009-01-21 Thread Jignesh Shah
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.shah1...@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 stua...@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 stua...@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.shah1...@gmail.com
  To: Stuart Halliday stua...@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 stua...@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.shah1...@gmail.com
   To: rsync@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


-- 
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


Re: find out the meaning of rsync error code

2009-01-21 Thread Stuart Halliday
I'd recommend that you do a search on the failing systems for duplicate or
old copies of Rsync. It just takes a PATH variable to include another old
copy of rsync to make it fail.

I'd also check your firewall or router aren't the problem. If you need to,
temporary disable the firewall or any AV software as these can be
potential problems.

Also are you using SSH on these systems? Perhaps that isn't working?

I'd start with the very simplest set up and go from there. For example
manually start up a daemon on a remote server and see if a client can
connect to its resources. Try a different port number, some thing may be
blocking the value you're using.


P.S.
No need to send me a personal copy of your reply. I do read the mailing
list. I get quite enough email thanks. :-)

-- 
Stuart Halliday



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


Re: find out the meaning of rsync error code

2009-01-21 Thread Wayne Davison
On Tue, Jan 20, 2009 at 10:16:37AM +, Stuart Halliday wrote:
 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.

The only known issues of cross-version incompatibility have been fixed.
If you know of any more, please let the list know.

..wayne..
-- 
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


Re: find out the meaning of rsync error code

2009-01-21 Thread Wayne Davison
On Tue, Jan 20, 2009 at 03:25:05PM +0530, Jignesh Shah wrote:
 In rsync return code: 12 error, what 12 indicates?

The error code is pretty inconsequential compared to the errors that
come before it.  See what rsync is actually complaining about, and make
sure you know if there is an issue with the remote side or the local
side.

..wayne..
-- 
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


find out the meaning of rsync error code

2009-01-20 Thread Jignesh Shah
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
-- 
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

Re: find out the meaning of rsync error code

2009-01-20 Thread Sven Hartrumpf
Tue, 20 Jan 2009 15:25:05 +0530, jignesh.shah1980 wrote:
 Could anyone please tell me how to get the meaning of rsync error codes.

 In rsync return code: 12 error, what 12 indicates?

Please use the archive:

http://www.mail-archive.com/rsync@lists.samba.org/msg22890.html


pgpEalpvdwL2E.pgp
Description: PGP signature
-- 
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

Re: find out the meaning of rsync error code

2009-01-20 Thread Stuart Halliday
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.shah1...@gmail.com
To: rsync@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


Re: find out the meaning of rsync error code

2009-01-20 Thread Stuart Halliday
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.shah1...@gmail.com
To: Stuart Halliday stua...@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 stua...@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.shah1...@gmail.com
  To: rsync@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
 


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


Re: find out the meaning of rsync error code

2009-01-20 Thread Stuart Halliday
Correct.

-- 
Stuart Halliday


 I think there is no bulletproof solution for this. Right?
 
 Thanks,
 Jignesh
 
 On 1/20/09, Stuart Halliday stua...@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.shah1...@gmail.com
  To: Stuart Halliday stua...@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 stua...@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.shah1...@gmail.com
   To: rsync@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