Advertisement

06.22.2008 at 03:56PM PDT, ID: 23506260 | Points: 500
[x]
Attachment Details

Rsync Errors with an IP on Windows Remote System

Asked by saj_37uk in Unix Operating Systems, SSH / Telnet Software, rSync Backup Utility

Tags: , ,

Hi Guys

I'm having some real problems configuring Rsync. I haven't done anything complex just yet but I cannot get basics working. I am using a W2K3 SP2 server and the remote client is a Windows XP SP2 client. I am using cwRsync with OpenSSH installed.

Below is my rsyncd.conf file:

use chroot = false
strict modes = false
hosts allow = *
log file = rsyncd.log
pid file = rsyncd.pid

# Module definitions
# Remember cygwin naming conventions : c:\work becomes /cygwin/c/work
#
[test]
path = /cygdrive/c/Upload
read only = false
transfer logging = yes

[backup]
path = /cygdrive/c/Upload
read only = false
transfer logging = yes

Below is my batch file from the remote laptop:

@ECHO OFF
SET SECHAW_IDENTITY="C:\Program Files\cwRsync\Key\cwrsync"
SET SECHAW_TYPE=ssh
SET SECHAW_LOCALPORT=9119
SET SECHAW_SERVER=192.168.0.20
SET SECHAW_SERVERPORT=873
SET SECHAW_USER=SvcwRsync
SET SECHAW_CMD="C:\Program Files\cwRsync\bin\rsync.exe" -avz "/cygdrive/c/mike" 192.168.0.20::backup
SET SECHAW_TUNNEL=ssh -i "C:\Program Files\cwRsync\Key\cwrsync" -L 9119:127.0.0.1:873 SvcwRsync@192.168.0.20 -T -N
"C:\Program Files\cwRsync\bin\sechaw.exe" --verbose

And finally, below is the output I am getting on the remote system:


C:\PROGRA~1\cwRsync>test3
The system cannot find the file specified.
Tunnel: ssh
Command to run: "C:\Program Files\cwRsync\bin\rsync.exe" -avz "/cygdrive/c/mike"
 '192.168.0.20::backup'
Tunnel command: ssh -i "C:\Program Files\cwRsync\Key\cwrsync" -L 9119:127.0.0.1:
873 SvcwRsync@192.168.0.20 -T -N
Establishing secure channel ...
@ERROR: chdir failed
rsync error: error starting client-server protocol (code 5) at main.c(1495) [sen
der=3.0.2]
Terminating secure channel ...

C:\PROGRA~1\cwRsync>

Any help to resolve this problem will GREATLY be appreciated!

Thanks!Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
@ECHO OFF
SET SECHAW_IDENTITY="C:\Program Files\cwRsync\Key\cwrsync"
SET SECHAW_TYPE=ssh
SET SECHAW_LOCALPORT=9119
SET SECHAW_SERVER=192.168.0.20
SET SECHAW_SERVERPORT=873
SET SECHAW_USER=SvcwRsync
SET SECHAW_CMD="C:\Program Files\cwRsync\bin\rsync.exe" -avz "/cygdrive/c/mike" 192.168.0.20::backup
SET SECHAW_TUNNEL=ssh -i "C:\Program Files\cwRsync\Key\cwrsync" -L 9119:127.0.0.1:873 SvcwRsync@192.168.0.20 -T -N
"C:\Program Files\cwRsync\bin\sechaw.exe" --verbose
[+][-]06.24.2008 at 04:16AM PDT, ID: 21854366

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.07.2008 at 12:12PM PDT, ID: 22184257

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.14.2008 at 12:33AM PST, ID: 22957955

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.18.2008 at 06:59PM PST, ID: 22991142

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.19.2008 at 09:58PM PST, ID: 23001506

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]11.20.2008 at 01:25AM PST, ID: 23002200

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628