test is ok, thank you tev
Now I have add new module in my rsyncd.conf
path = /cygdrive/c/Inetpub
read only = false
transfer logging = yes
and I use "Prep a Dir for Upload"
I get the same error: @ERROR: chdir failed,
but if I copy inetpub into test it works correctly.
any suggestion??
Thank regards
Dario
Hi,
I have installed cwrsync 2.0.7 client on my local machine, XP SP2, and cwrsyncserver 2.0.7 on the server machine, W2K server.
When i run rsync -av remote.host::test
I get the following error
@ERROR: chdir failed
rsync error: error starting client-server protocol (code 5) at main.c(1296)
I have setting Environment Variables CYGWIN=nontsec
Any ideas? Please forgive any brevity.
Thanks a lot
Dario
I gave up on the "::" form. Configure the module in your rsyncd.conf on the server then sync with "rsync://serverIP/test" as the remote path. The 'rsync://' is significant somehow. 'Test' will rooted on whatever path you specified.
thank you so much for the answer, but the problem isn't resolved
I try with
rsync -av rsync://remote.host/test
I get the same error
@ERROR: chdir failed
rsync error: error starting client-server protocol (code 5) at main.c(1296)
Any ideas?
Many thanks in advance!
Dario
this is my rsyncd.conf
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
#
path = /cygdrive/c/work
read only = false
transfer logging = yes
path = /cygdrive/c/work
read only = false
transfer logging = yes
Make sure that the service account has change rights on the directory c:\work. You can use Prep a Dir for Upload wizard from start menu for that purpose.
Hi, What do you mean when you day :
Could you paste your rsyncd.conf ?
Thanks
Hello,Sorry for the first post
What do you mean when you say ?
"but if I copy inetpub into test it works correctly."
Could you paste your rsyncd.conf file ?
Thanks
Hi,
I copy directory inetpub into directory test and rsync works correctly otherwise I don't backup inetpub.
I get same error:
@ERROR: chdir failed
rsync error: error starting client-server protocol (code 5) at main.c(1296)
this is my rsyncd.conf :
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
#
path = /cygdrive/c/work
read only = false
transfer logging = yes
path = /cygdrive/c/Inetpub/wwwroot
read only = false
transfer logging = yes
Any ideas?
Many thanks in advance!
Dario