rsync: push_dir TESTDIR: No such file or directory

Mack, Daemian DMack at Tickets.com
Tue Aug 27 07:53:00 EST 2002


Hi all.  I'm getting the following error when using rsync:

nice -n 20 rsync -e "ssh -p30000" --recursive --verbose --verbose --checksum
--times --modify-window 2 --port=31000 --dry-run
/cygdrive/f/bkp/Doc/Builds/Buildsheets/ MYUSERNAME at MY.SERV.ER.IP:TESTDIR

opening connection using ssh -p30000 -l MYUSERNAME MY.SERV.ER.IP rsync
--server -vvntrc --modify-window=2 . TESTDIR
      Debian GNU/%s 3.0 %h
MYUSERNAME at MYSERVERIP's password:
building file list ...
expand file_list to 4000 bytes, did move
done
created directory TESTDIR
rsync: push_dir TESTDIR: No such file or directory
rsync error: errors selecting input/output files, dirs (code 3) at
main.c(294)
rsync: read error: Connection reset by peer
rsync error: error in rsync protocol data stream (code 12) at io.c(162)

On the client I'm using Win2K SP2, running Cygwin's rsync 2.5.5 and
OpenSSH_3.4p1.  

On the Linux Debian Woody server, I'm using rsync version 2.5.6cvs protocol
version 26, with ssh OpenSSH_3.4p1 Debian 1:3.4p1-1.

Because MYSERVER is behind a firewall which services multiple machines
providing ssh, I'm forwarding Internet-side ports 30000 and 31000 to ssh and
rsync, respectively, on MYSERVER.  On MYSERVER, those daemons are listening
on their conventional port numbers.  (Because I'm not sure at which point
the rsync data stream takes over, I've tried the command both with and
without the --port=31000 switch.  No dice either way.)

Here's what MYSERVER's /etc/rsyncd.conf looks like:

log file = /var/log/rsyncd.log

[TESTDIR]
path = /home/MYUSERNAME/TESTDIR
read only = false
strict modes = false
uid = MYUSERNAME
gid = nogroup
auth users = MYUSERNAME
secrets file = /etc/rsyncd.secrets
transfer logging = yes
log format = [%m] %o %u@%h %f [length:%l tran:%b] (%a)


Daemian Mack



More information about the rsync mailing list