Alejandro Celery
2008-Jul-22 12:41 UTC
Rsync job exiting with error "unexpected tag 3 [sender]"
Hello everyone. I have this issue: I?m rSyncing three folders from my main server to my backup server. Main is Ubuntu 7.10 64 bit and backup is Ubuntu 6.10 32 bit. Both are Rsync 3.0.2. Please advise me if there any other debug information I should provide. I get this output: building file list ... done Attachments_Redmine.tar.gz BackupRedmine.sql calidad/ calidad/DESVIOS QQ 1.2 ADVANTEK 2000.mde unexpected tag 3 [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(825) [sender=2.6.9] The command line is rsync -av --stats /datos/sambashares/* neo::samba (the other two are the same except por the source and dest module). The module definition is as follows: [samba] comment = Shares de Samba, replicados desde morfeo por si lo tenemos que suplantar path = /disco2/sambashares use chroot = no lock file = /var/lock/rsyncd read only = no list = yes # I use 0 for uid and gid so i can keep ownership and permissions. Perhaps there is a better way to do this? uid = 0 gid = 0 strict modes = yes ignore errors = no ignore nonreadable = yes transfer logging = yes timeout = 600 refuse options = checksum dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz I appreciate any help. Thanks! Regards, Alex from Argentina -- Saludos, Alejandro Celery ADVANTEK SRL +5411-4586-2565
Matt McCutchen
2008-Jul-22 15:18 UTC
Rsync job exiting with error "unexpected tag 3 [sender]"
On Tue, 2008-07-22 at 09:20 -0300, Alejandro Celery wrote:> I?m rSyncing three folders from my main server to my backup server. > Main is Ubuntu 7.10 64 bit and backup is Ubuntu 6.10 32 bit. Both are > Rsync 3.0.2. Please advise me if there any other debug information I > should provide. > I get this output: > building file list ... done > Attachments_Redmine.tar.gz > BackupRedmine.sql > calidad/ > calidad/DESVIOS QQ 1.2 ADVANTEK 2000.mde > unexpected tag 3 [sender] > rsync error: error in rsync protocol data stream (code 12) at io.c(825) [sender=2.6.9] > > The command line is rsync -av --stats /datos/sambashares/* neo::samba > (the other two are the same except por the source and dest module).There was an "unexpected tag 3" bug that could occur when pushing files to a daemon older than 2.6.9: http://lists.samba.org/archive/rsync/2006-May/015361.html You claim that both sides have rsync 3.0.2 but the error message indicates that the client is 2.6.9, so double-check both versions. If the daemon is 2.6.9 or newer and you still get the error, there may be another bug. Matt -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/rsync/attachments/20080722/70509299/attachment.bin
Matt McCutchen
2008-Jul-22 19:29 UTC
Rsync job exiting with error "unexpected tag 3 [sender]"
Alejandro, please CC the rsync list (rsync@lists.samba.org) in replies so that your messages are archived and others can help you. On Tue, 2008-07-22 at 14:26 -0300, Alejandro Celery wrote:> Matt McCutchen escribi?: > > On Tue, 2008-07-22 at 09:20 -0300, Alejandro Celery wrote: > > > I?m rSyncing three folders from my main server to my backup server. > > > Main is Ubuntu 7.10 64 bit and backup is Ubuntu 6.10 32 bit. Both are > > > Rsync 3.0.2. Please advise me if there any other debug information I > > > should provide. > > > I get this output: > > > building file list ... done > > > Attachments_Redmine.tar.gz > > > BackupRedmine.sql > > > calidad/ > > > calidad/DESVIOS QQ 1.2 ADVANTEK 2000.mde > > > unexpected tag 3 [sender] > > > rsync error: error in rsync protocol data stream (code 12) at io.c(825) [sender=2.6.9] > > > > > > The command line is rsync -av --stats /datos/sambashares/* neo::samba > > > (the other two are the same except por the source and dest module). > > > > There was an "unexpected tag 3" bug that could occur when pushing files > > to a daemon older than 2.6.9: > > > > http://lists.samba.org/archive/rsync/2006-May/015361.html > > > > You claim that both sides have rsync 3.0.2 but the error message > > indicates that the client is 2.6.9, so double-check both versions. If > > the daemon is 2.6.9 or newer and you still get the error, there may be > > another bug. > > > Matt, i installed both daemons from source downloaded from the rsyncTechnically, only the receiver is a daemon; the sender is the client.> homepage. The output of rsync --version on both servers is attached > below. I was also confused by the error message stating that the > client is 2.6.9, what can you advise me to do? > Thanks!On each end, are you certain that the copy of rsync whose version you're checking is the same one involved in the file transfer? For the client, prepend "rsync --version &&" to the command line. For the daemon, look in its log file (or syslog in /var/log/messages if you didn't specify a log file) for a message of the form "rsyncd version X.X.X starting". If you don't get the version you want, make sure that your custom-built rsync is first on the $PATH of the program that is running the client or starting the daemon. Matt -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/rsync/attachments/20080722/66fe880e/attachment.bin