Re: @ERROR: chdir failed

8 posts / 0 new
Last post
itefix
Offline
Last seen: 4 days 12 hours ago
Joined: 01.05.2008 - 21:33
Re: @ERROR: chdir failed

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

itefix
Offline
Last seen: 4 days 12 hours ago
Joined: 01.05.2008 - 21:33
@ERROR: chdir failed

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

itefix
Offline
Last seen: 4 days 12 hours ago
Joined: 01.05.2008 - 21:33
Re: @ERROR: chdir failed

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.

itefix
Offline
Last seen: 4 days 12 hours ago
Joined: 01.05.2008 - 21:33
Re: @ERROR: chdir failed

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

itefix
Offline
Last seen: 4 days 12 hours ago
Joined: 01.05.2008 - 21:33
Re: @ERROR: chdir failed

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.

itefix
Offline
Last seen: 4 days 12 hours ago
Joined: 01.05.2008 - 21:33
Re: @ERROR: chdir failed

Hi, What do you mean when you day :

Could you paste your rsyncd.conf ?
Thanks

itefix
Offline
Last seen: 4 days 12 hours ago
Joined: 01.05.2008 - 21:33
Re: @ERROR: chdir failed

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

itefix
Offline
Last seen: 4 days 12 hours ago
Joined: 01.05.2008 - 21:33
Re: @ERROR: chdir failed

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

Topic locked

Release announcements