I have a feeling there's a permissions problem you're not seeing with your cwrsync account. Try temporarily changing the service to run as an account you can log in as and seeing if that account can browse the folder the test module refers to, THEN trying cwrsync running as that user and see if you get the same error.

Jim Salter
JRS Systems

Hello,

I'm desperately trying to have a RSync server work on a Windows 2003
Standard Server.
All the documentation available I have found applies to Windows NT/2000/XP
I don't know whether 2003 works differently from the previous Windows.

I have installed the cwrsync package.
The RSyncServer Service is running fine under a user account named cwrsync.
A successful Telnet on the port 873 tells me that the rsync service is
responding.

Here is my rsyncd.conf File :
-----------------------------------------
use chroot = false
strict modes = false
hosts allow = *
log file = rsyncd.log
pid file = rsyncd.pid

[test]
path = /cygdrive/c/ARCHIMED_INSTANCE/MASC/Standard/cwrsync/DATA/
read only = false
transfer logging = yes
-----------------------------------------

From what I have seen in web pages, this file is correctly configured.

Here is my rsync command line for testing the service locally : ----------------------------------------- rsync -vz "/cygdrive/c/ARCHIMED_INSTANCE/MASC/Standard/cwrsync/doc" [EMAIL PROTECTED]::test -----------------------------------------

I keep getting the following error :

-----------------------------------------
@ERROR: chdir failed
rsync: connection unexpectedly closed (33 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(189)
-----------------------------------------

I guess chdir refers to the directory with the files to be copied (the one
in the rsync command line)
but I can't figure why there is an error. I've checked and rechecked the
path.
The account cwrsync has full control over the chdir so it should see it.

I really don't understand what's going on.
Is this problem Windows 2003 related ?
Does ssh have anything to do with it ?
Or is it some dumb configuration mistake I've been missing these last 3
hours ?

Any help would be greatly appreciated.

Stéphane Rohart

-- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to