Error on Solaris 9 (2.5.5)

tim.conway at tim.conway at
Fri Sep 6 14:37:01 EST 2002

Try this commandline:

ssh vortac which rsync

You'll get "no rsync in /bin /usr/bin", probably.
Link it into something in the minimal path, or use "--rsync-path=" to 
specify where to invoke it from.

Tim Conway
tim.conway at
303.682.4917 office, 303.921.0301 cell
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, caesupport2 on AIM
"There are some who call me.... Tim?"

Michael Carter <mikec at>
Sent by: rsync-admin at
09/05/2002 10:23 PM

        To:     RSync list <rsync at>
        cc:     (bcc: Tim Conway/LMT/SC/PHILIPS)
        Subject:        Error on Solaris 9 (2.5.5)

I'm running into some errors I can't figure out.


I have a Sparc IPX (2.6 Solaris), a Mac OS X box and an Ultra Sparc 1
running Solaris 9.
I am trying to rsync a web site between the IPX and Ultra 1.
All boxes are running 2.5.5 rsync built from source.


Can't get a a sync between the IPX -> Ultra.

IPX = kashmir
Ultra = vortac
Mac = archer
a). directories are owned by me or are writeable by my group.
b). SSH must be used as Ultra is not behind a firewall and RSHELL (and
telnet) is disabled in /etc/inetd.conf.
c). no rysnc is running as daemon.
d). kashmir and archer are on the same local segment behind a firewall
which has all outbound ports open.


This is the error I get. I get this error for *any* rsync operation I
try from kashmir to vortac:

kashmir:~> rsync -avz -e ssh /web/aviate/53sf vortac:/usr1
mikec at vortac's password:
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(150)
kashmir:~> ssh vortac ls -ld /usr1
mikec at vortac's password:
drwxrwxrwx   3 root     root         512 Aug 23 15:23 /usr1
kashmir:~> ping vortac is alive

So it doesn't work from kashmir->vortac, which is the direction I want
to go. It does, however, work in the other dir:

vortac:~> rsync -avz -e ssh public_html
mikec at's password:
building file list ... done
wrote 383 bytes  read 36 bytes  25.39 bytes/sec
total size is 335  speedup is 0.80

I thought at first it was kashmir that was the problem, but I am able to
initiate a sync from kashmir to my Mac:

kashmir:~> rsync -avz -e ssh myca archer:/Users/mikec/tmp
mikec at archer's password:
building file list ... done
wrote 7454 bytes  read 148 bytes  50.51 bytes/sec
total size is 11967  speedup is 1.57

Archer -> Kashmir also works fine:

[archer:~/Pictures] mikec% rsync -avz -e ssh ~/Pictures
rsync: open connection using ssh kashmir rsync --server -vlogDtprz .
mikec at kashmir's password:
rsync: building file list...
rsync: 4218 files to consider.
Pictures/Apple day out/
Pictures/Apple day out/Apple Day Out-01

Here's a very verbose second attemp from kashmir->vortac:

kashmir:~> rsync -avvvvvvvvvz -e ssh /web/aviate/53sf
cmd=ssh machine=vortac user= path=/export/home/mikec/webbackup
cmd=ssh vortac rsync --server -vvvvvvvvvlogDtprz .
opening connection using ssh vortac rsync --server -vvvvvvvvvlogDtprz .
mikec at vortac's password:
rsync: connection unexpectedly closed (0 bytes read so far)
_exit_cleanup(code=12, file=io.c, line=150): entered
rsync error: error in rsync protocol data stream (code 12) at io.c(150)
_exit_cleanup(code=12, file=io.c, line=150): about to call exit(12)

Anyone have an idea what I should look for next?

Mike Carter
mikec at

To unsubscribe or change options:
Before posting, read:

More information about the rsync mailing list