LinuxQuestions.org
Visit Jeremy's Blog.
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 11-09-2004, 10:21 AM   #1
nifflerX
Member
 
Registered: Dec 2003
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94

Rep: Reputation: 16
rsync error code 12


Hi,

I'm rsyncing between 2 Red Hat raidzone machines and I'm getting the following error:

rsync error: error in rsync protocol data stream (code 12) at main.c(620)

However, this only comes at the end of the syncing and all the files are synced (as far as I can tell). I read somewhere that this might mean the destination drive is too full, but that is not the case as the destination drive has over 100 GB left. Another error is that it says there is an IO error and so deletion won't take place. I was just wondering if anyone knew what these errors mean and if they can be ignored. Thanks. Here is the full command line (run in a cron job):

Code:
rsync -rLupogte ssh /home/current_studies/ desination.server:/home/backup >& /var/log/sync.log
Thanks again.


-NifflerX
 
Old 11-13-2004, 09:01 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
What versions of rsync are on each host?
 
Old 11-15-2004, 10:10 AM   #3
nifflerX
Member
 
Registered: Dec 2003
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94

Original Poster
Rep: Reputation: 16
The machine that is running rsync (the source machine) has version version 2.5.7 protocol version 26 while the receiving machines has version version 2.5.5 protocol version 26.

Would this cause the error? Should I update the version on the receiving machine? Thanks so much.


-NifflerX
 
Old 11-15-2004, 11:56 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Quote:
Originally posted by nifflerX
The machine that is running rsync (the source machine) has version version 2.5.7 protocol version 26 while the receiving machines has version version 2.5.5 protocol version 26.

Would this cause the error? Should I update the version on the receiving machine? Thanks so much.


-NifflerX
I'd say updating would be a good idea.. they had some recent security vulnerabilities in all versions prior to the latest version.
 
Old 11-15-2004, 01:14 PM   #5
nifflerX
Member
 
Registered: Dec 2003
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94

Original Poster
Rep: Reputation: 16
Hi,

I did as you suggested and updated both the source and destination machines to rsync version 2.6.3 protocol version 28. Then I ran rsync and I believe it worked. I no longer get the error code 12 error. I do get this error:

rsync error: some files could not be transferred (code 23) at main.c(702)

But I can't find any files that it didn't transfer. Thanks so much for helping me with the other problem. If you know what this new error code is about I'd appreciate hearing about it, but it seems to be working to me. Thanks again!


-NifflerX
 
Old 11-15-2004, 02:01 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Glad to know that worked, not sure about the new error. If its copying all the files, nothing really to worry about. I've seen errors with rsync that made no sense to me but yet everything worked. If I come across anything though, I'll be sure to post.
 
Old 11-19-2004, 02:57 PM   #7
nifflerX
Member
 
Registered: Dec 2003
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94

Original Poster
Rep: Reputation: 16
I think I figured out what the error code 23 means. I've got many symlinks in the data I back up, and some of them are broken links. I think it's because of the broken links that I get this error. When I try the same backup procedure on smaller (broken link free) data set I get no errors. Hope this is useful to someone besides me .


-NifflerX
 
Old 07-14-2009, 12:18 PM   #8
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Rep: Reputation: 49
I think I might be having a kinda related problem. how do i tell what version of rsync i'm using on both my servers? i get that same code 23 at main.c(620) error.
 
Old 07-14-2009, 01:23 PM   #9
nifflerX
Member
 
Registered: Dec 2003
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94

Original Poster
Rep: Reputation: 16
You should be able to use
Code:
rsync --version
To see what version of rsync you are running. You'll have to do this on each server individually. HTH.

-NifflerX
 
Old 07-14-2009, 01:26 PM   #10
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Rep: Reputation: 49
Thanks, that worked. Sadly after I posted that I realized i was getting the error syncing between two different arrays in the same system, haha. at least i know how to check it now though!! many thanks.
 
  


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 -e ssh error protocol incompatibility osio Linux - Networking 13 11-06-2019 05:35 PM
error with rsync DJE007 Linux - Networking 3 09-21-2009 12:51 AM
rsync error irvken Linux - Software 5 04-24-2005 05:12 PM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 03:49 PM
rsync error AND/OR dump question Sinope Linux - General 4 08-26-2004 06:57 PM

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

All times are GMT -5. The time now is 03:58 PM.

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
Open Source Consulting | Domain Registration