On Mon 03 Mar 2008, Kiko Piris wrote:
> > 
> > Both sides are Debian in the above list? (Probably yes, as you show the
> > -X version part, but I want to know for sure.)
> 
> Yup, sid boxes all of them. All up-to-date (except for the one with
> rsync=2.6.9-6 of course).

OK

> > Does the exact same thing happen as in the original report? Including
> > the "0 bytes received" message?
> 
> Yes:
> 
> | # rsync -a -vvvvvvvvv --inplace --delete --progress -e "ssh -l kiko" 
> rompetechosw.pirispons.net::mymusic/collection  /home/MyMusic
> | cmd=ssh -l kiko machine=rompetechosw.pirispons.net user= 
> path=mymusic/collection
> | cmd[0]=ssh cmd[1]=-l cmd[2]=kiko cmd[3]=rompetechosw.pirispons.net 
> cmd[4]=rsync cmd[5]=--server cmd[6]=--daemon cmd[7]=. 
> | opening connection using ssh -l kiko rompetechosw.pirispons.net rsync 
> --server --daemon . 
> | rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
> | _exit_cleanup(code=12, file=io.c, line=454): entered
> | rsync error: error in rsync protocol data stream (code 12) at io.c(454) 
> [receiver=2.6.9]
> | _exit_cleanup(code=12, file=io.c, line=454): about to call exit(12)
> 
> > These are all i386?
> 
> Yes.
> 
> > It sucks that I can't reproduce this, I have a number of systems with
> > different architectures and they all work for me :-/
> 
> Aww, I do not know what to do to help. Please let me know if I can test
> anything.

You don't have rsync running as a daemon? Then you need a wrapper around
rsync to run strace; on the remote system, create a shell script:

#!/bin/sh
strace -f -o /tmp/rsync.strace.out /usr/bin/rsync "$@"

Make that executable, install strace, put it in your homedir as
rsync.strace, and then call rsync like this:

    rsync -a -vvvvvvvvv --inplace --delete --progress -e "ssh -l kiko" 
--rsync-path=/home/kiko/rsync.strace 
rompetechosw.pirispons.net::mymusic/collection  /home/MyMusic

(fix the /home/kiko/rsync.strace if necessary)

That should then run rsync under strace so that all the system calls
that rsync does is logged in the /tmp/rsync.strace.out file.

It may also be useful to do the same thing, but now use ltrace instead
of strace. That logs all the library calls.

Send the output to me, hopefully I can see what goes wrong then.


thanks,
Paul Slootman



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to