error in rsync protocol data stream (code 12) at io.c

jonathan sabo sabo at
Tue Oct 7 01:42:00 EST 2003


I am having trouble with a previously working rsync server.


> # rsync --version
> rsync  version 2.5.4  protocol version 26
> Copyright (C) 1996-2002 by Andrew Tridgell and others
> <>
> Capabilities: 64-bit files, socketpairs, hard links, symlinks, 
> batchfiles, IPv6,              64-bit system inums, 64-bit internal inums

rsyncd.conf :

# RSYNCD Configuration
        path = /vader1/admin/backup/vice/
        comment = vice msqldb backup
        hosts allow = 'ip address of vice'
        uid = 0
        gid = 0
        max connections = 30
        use chroot = yes
        read only = no

Rsync is running and I can connect to it with netcat from the server 
vice.  It shows the port is open.  On vader which is the rsync server, 
the disk is not full.

/dev/sdb1            352153072 124431844 209832856  38% /vader1

I had been running a script to rsync over a bunch of stuff but now its 
giving me this error:

[root at vice admin]# rsync -avz mysql.sql vader::vice
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(150)

I have been reading the posts and havent found an answer yet.  Your help 
is greatly appreciated.


Jonathan W. Sabo
Code 5580
Naval Research Lab
sabo at
Fax: (202)-404-1190 
Phone: (202)-767-3901

More information about the rsync mailing list