LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-04-2014, 07:38 AM   #1
sagar alias jacky
Member
 
Registered: Jun 2013
Posts: 31

Rep: Reputation: Disabled
rsync error: error in rsync protocol data stream (code 12) at token.c(288)


Hi

When i trying to rsync from one server to another server gettig en error :

[root@192.168.2.22 ~]#rsync -avzp -e ssh root@192.168.2.77:/system/data /system/data/

deflate on token returned 0 (88936 bytes left)
rsync error: error in rsync protocol data stream (code 12) at token.c(288)
rsync: connection unexpectedly closed (37028 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(601) [receive r=3.0.7]
rsync: connection unexpectedly closed (37012 bytes received so far) [generator]
rsync error: error in rsync protocol data


I saw some solution to change the rsync version,install z-lib So installed :


> rpm -qa rsync
rsync-3.0.7-1.el5.rfx.x86_64

> rpm -qa zlib
zlib-1.2.3-29.el6.x86_64

But still i am facing same Error please help me.

Thanks and Regards
Sagar
 
Old 02-05-2014, 01:22 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,397
Blog Entries: 55

Rep: Reputation: 3569Reputation: 3569Reputation: 3569Reputation: 3569Reputation: 3569Reputation: 3569Reputation: 3569Reputation: 3569Reputation: 3569Reputation: 3569Reputation: 3569
Add "--log-file=/some/path/some/file" and see if it trips at the same point?
 
Old 02-05-2014, 04:34 AM   #3
sagar alias jacky
Member
 
Registered: Jun 2013
Posts: 31

Original Poster
Rep: Reputation: Disabled
Hi

Thanks for the reply

>>I checked the log file it trips at the same point ,and also try to sync but giving same error

>>engine.vcd.bz2 model.vcd.bz2 These two files are in that location.


Thanks
Sagar
 
Old 02-05-2014, 01:05 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,397
Blog Entries: 55

Rep: Reputation: 3569Reputation: 3569Reputation: 3569Reputation: 3569Reputation: 3569Reputation: 3569Reputation: 3569Reputation: 3569Reputation: 3569Reputation: 3569Reputation: 3569
So whats the difference in those files at the source and target? Can you rsync if you move them aside (temporarily)?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync giving ld.so.1: rsync: fatal: libiconv.so.2: open failed: error SunilEA Linux - Newbie 1 01-10-2014 01:24 PM
rsync error: syntax or usage error (code 1) at main.c(1490) [receiver=3.0.6] boby.kumar Linux - Newbie 4 11-22-2013 04:58 AM
rsync -e ssh error protocol incompatibility osio Linux - Networking 12 11-21-2012 12:59 PM
[SOLVED] Error while copying data from one server to another, using rsync. Satyaveer Arya Linux - Server 5 06-14-2012 06:43 AM
rsync error code 12 nifflerX Linux - General 9 07-14-2009 12:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration