IO error / connection unexpectedly closed

Chris Joelly chris-m-lists at joelly.net
Mon Oct 13 20:35:38 GMT 2008


Hello again,

now i also tried to sync from an 32bit linux machine to a 64bit linux
machine and i got the same error message reported on the server side,
so i think it isn't a problem due to different operating systems.

the last log messages are:

client:
recv_generator(public/backups/cms1.it-factory.local/home/ajoelly/var/cache/apt/archives/sendmail-base_8.13.4-3sarge3_all.deb,2064)
set modtime of public/backups/cms1.it-factory.local/etc/.printcap.H4IUXB to (1100788395) Thu Nov 18 15:33:15 2004
renaming public/backups/cms1.it-factory.local/etc/.printcap.H4IUXB to public/backups/cms1.it-factory.local/etc/printcap
recv_generator(public/backups/cms1.it-factory.local/home/ajoelly/var/cache/apt/archives/sendmail-bin_8.13.1-16_i386.deb,2065)
recv_files(public/backups/cms1.it-factory.local/etc/profile)
got file_sum
recv_generator(public/backups/cms1.it-factory.local/home/ajoelly/var/cache/apt/archives/sendmail-bin_8.13.1-20_i386.deb,2066)
set modtime of public/backups/cms1.it-factory.local/etc/.profile.RboUbQ to (1100790549) Thu Nov 18 16:09:09 2004
rsync: connection unexpectedly closed (28352 bytes received so far) [sender]
_exit_cleanup(code=12, file=io.c, line=420): entered
rsync error: error in rsync protocol data stream (code 12) at io.c(420)
_exit_cleanup(code=12, file=io.c, line=420): about to call exit(12)

server:
2008/10/13 22:03:01 [7682] got file_sum
2008/10/13 22:03:01 [7682] set modtime of public/backups/cms1.it-factory.local/home/ajoelly/var/lib/defoma/gs.d/dirs/fonts/p052003l.pfb to (1181557381) Mon Jun 11 12:23:01 2007
2008/10/13 22:03:01 [7682] set modtime of public/backups/cms1.it-factory.local/etc/X11/xkb/symbols/.dev.vKDTmI to (1103138010) Wed Dec 15 20:13:30 2004
2008/10/13 22:03:01 [7682] public/backups/cms1.it-factory.local/home/ajoelly/var/lib/defoma/gs.d/dirs/fonts/p052003l.pfb -> /rsyncd-munged//usr/share/fonts/type1/gsfonts/p052003l.pfb
2008/10/13 22:03:01 [7682] recv_generator(public/backups/cms1.it-factory.local/home/ajoelly/var/lib/defoma/gs.d/dirs/fonts/p052004l.pfb,2388)
2008/10/13 22:03:01 [7682] renaming public/backups/cms1.it-factory.local/etc/X11/xkb/symbols/.dev.vKDTmI to public/backups/cms1.it-factory.local/etc/X11/xkb/symbols/dev
2008/10/13 22:03:01 [7682] recv_files(public/backups/cms1.it-factory.local/etc/X11/xkb/symbols/dk)
2008/10/13 22:03:01 [7682] set modtime of public/backups/cms1.it-factory.local/home/ajoelly/var/lib/defoma/gs.d/dirs/fonts/p052004l.pfb to (1181557381) Mon Jun 11 12:23:01 2007
2008/10/13 22:03:01 [7682] got file_sum
2008/10/13 22:03:01 [7682] public/backups/cms1.it-factory.local/home/ajoelly/var/lib/defoma/gs.d/dirs/fonts/p052004l.pfb -> /rsyncd-munged//usr/share/fonts/type1/gsfonts/p052004l.pfb
2008/10/13 22:03:01 [7682] recv_generator(public/backups/cms1.it-factory.local/home/ajoelly/var/lib/defoma/gs.d/dirs/fonts/p052023l.pfb,2389)
2008/10/13 22:03:01 [7682] set modtime of public/backups/cms1.it-factory.local/etc/X11/xkb/symbols/.dk.ziOtI2 to (1103138010) Wed Dec 15 20:13:30 2004
2008/10/13 22:03:01 [7682] renaming public/backups/cms1.it-factory.local/etc/X11/xkb/symbols/.dk.ziOtI2 to public/backups/cms1.it-factory.local/etc/X11/xkb/symbols/dk
2008/10/13 22:06:38 [7682] rsync: writefd_unbuffered failed to write 144 bytes [generator]: Broken pipe (32)
2008/10/13 22:06:38 [7682] rsync error: error in rsync protocol data stream (code 12) at io.c(1123) [generator=2.6.9]
2008/10/13 22:06:38 [7682] _exit_cleanup(code=12, file=io.c, line=1123): about to call exit(12)

client version of rsync used now:
rsync  version 2.6.4  protocol version 29
Copyright (C) 1996-2005 by Andrew Tridgell and others
<http://rsync.samba.org/>
Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles, 
              inplace, IPv6, 64-bit system inums, 64-bit internal inums


On Mon, Okt 13, 2008, Chris Joelly wrote:
> Hello,
> 
> i use rsync from Windows to rsync on Linux via ssh and get IO Errors
> and connection unexpectedly closed errors on almost every sync run.
> Can anybody give me some hints on how to track down the problem?
> 
> thx, Chris
> 
> 2008/10/11 09:41:04 [13744] rsync to backup// from UNKNOWN (w.x.y.z)
> 2008/10/11 09:41:04 [13744] receiving file list
> 2008/10/11 09:42:48 [13744] IO error encountered -- skipping file deletion
> 2008/10/11 09:43:59 [13744] Programme/Archiv/backend/logs/
> 2008/10/11 09:49:23 [13744] rsync: connection unexpectedly closed (5324192 bytes received so far) [receiver]
> 2008/10/11 09:49:24 [13744] rsync: writefd_unbuffered failed to write 85 bytes [generator]: Broken pipe (32)
> 2008/10/11 09:49:24 [13744] rsync error: error in rsync protocol data stream (code 12) at io.c(1123) [generator=2.6.9]
> 
> 2008/10/11 09:49:24 [15583] rsync to backup// from UNKNOWN (w.x.y.z)
> 2008/10/11 09:49:24 [15583] receiving file list
> 2008/10/11 09:51:08 [15583] IO error encountered -- skipping file deletion
> 2008/10/11 10:01:33 [15583] rsync warning: some files vanished before they could be transferred (code 24) at main.c(872) [generator=2.6.9]
> 
> 2008/10/11 10:01:34 [18301] rsync to backup// from UNKNOWN (w.x.y.z)
> 2008/10/11 10:01:34 [18301] receiving file list
> 2008/10/11 10:03:16 [18301] IO error encountered -- skipping file deletion
> 2008/10/11 10:08:50 [18301] rsync: connection unexpectedly closed (5324186 bytes received so far) [receiver]
> 2008/10/11 10:08:50 [18301] rsync: writefd_unbuffered failed to write 85 bytes [generator]: Broken pipe (32)
> 2008/10/11 10:08:50 [18301] rsync error: error in rsync protocol data stream (code 12) at io.c(1123) [generator=2.6.9]
> 
> rsync on the client: 
> rsync  version 2.6.6  protocol version 29
> Copyright (C) 1996-2005 by Andrew Tridgell, Wayne Davison, and others.
> <http://rsync.samba.org/>
> Capabilities: 64-bit files, socketpairs, hard links, symlinks,
>               batchfiles, inplace, no IPv6,
>               64-bit system inums, 64-bit internal inums
> 
> rsync on the server:
> rsync  version 2.6.9  protocol version 29
> Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others.
> <http://rsync.samba.org/>
> Capabilities: 64-bit files, socketpairs, hard links, symlinks,
>               batchfiles, inplace, IPv6, ACLs,
>               64-bit system inums, 64-bit internal inums
> 
> 
> -- 
> "The greatest proof that intelligent life other that humans exists in
>  the universe is that none of it has tried to contact us!"
> 
> -- 
> 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

-- 
"The greatest proof that intelligent life other that humans exists in
 the universe is that none of it has tried to contact us!"



More information about the rsync mailing list