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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-09-2004, 10:21 AM
|
#1
|
Member
Registered: Dec 2003
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94
Rep:
|
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
|
|
|
11-13-2004, 09:01 AM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
What versions of rsync are on each host?
|
|
|
11-15-2004, 10:10 AM
|
#3
|
Member
Registered: Dec 2003
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94
Original Poster
Rep:
|
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
|
|
|
11-15-2004, 11:56 AM
|
#4
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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.
|
|
|
11-15-2004, 01:14 PM
|
#5
|
Member
Registered: Dec 2003
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94
Original Poster
Rep:
|
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
|
|
|
11-15-2004, 02:01 PM
|
#6
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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.
|
|
|
11-19-2004, 02:57 PM
|
#7
|
Member
Registered: Dec 2003
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94
Original Poster
Rep:
|
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
|
|
|
07-14-2009, 12:18 PM
|
#8
|
Senior Member
Registered: Jun 2009
Posts: 1,795
Rep:
|
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.
|
|
|
07-14-2009, 01:23 PM
|
#9
|
Member
Registered: Dec 2003
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94
Original Poster
Rep:
|
You should be able to use
To see what version of rsync you are running. You'll have to do this on each server individually. HTH.
-NifflerX
|
|
|
07-14-2009, 01:26 PM
|
#10
|
Senior Member
Registered: Jun 2009
Posts: 1,795
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:58 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|