The server is configured to refuse --iconv

Stuart Halliday StuartH at ecs-tech.com
Mon Mar 10 10:37:51 GMT 2008


I've just tried upgrading to cwrsync 2.1.0 (Rsync version 3.0.0  protocol
version 30) between 2 Windows XP Pro sp2 machine across the Internet.

I used:
SET CYGWIN=nontsec
SET HOME=c:\cwrsync\bin
C:\cwrsync\bin\rsync -za -u -P --delete --recursive /cygdrive/c/test2/
stuart at test.address.co.uk::test/

When I run the above batch script on the remote machine I get this odd output.

------------------------------------------------------------------------
sending incremental file list
rsync: The server is configured to refuse --iconv
rsync error: requested action not supported (code 4) at
clientserver.c(810) [receiver=3.0.0]
rsync: connection unexpectedly closed (5 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(609)
[sender=3.0.0]
Press any key to continue . . .
------------------------------------------------------------------------
But I'm not using option --iconv!

Where does it say it refuses --iconv?

I admit I'm a bit lost. :-)



Server side rsync is started via 
--config rsyncd.conf --daemon --no-detach
as a service.
Registry settings are:
------------------------------------------------------------------------
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RsyncServer]
"Type"=dword:00000010
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):43,00,3a,00,5c,00,63,00,77,00,52,00,73,00,79,00,6e,00,63,00,\
  5c,00,62,00,69,00,6e,00,5c,00,63,00,79,00,67,00,72,00,75,00,6e,00,73,00,72,\
  00,76,00,2e,00,65,00,78,00,65,00,00,00
"DisplayName"="RsyncServer"
"ObjectName"=".\\stuart"
"Description"="Rsync - open source utility that provides fast incremental
file transfer"
"FailureActions"=hex:00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,50,00,70,\
  00,01,00,00,00,20,bf,02,00,01,00,00,00,20,bf,02,00,01,00,00,00,20,bf,02,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RsyncServer\Parameters]
"AppPath"="C:\\cwRsync\\bin\\rsync.exe"
"AppArgs"="--config rsyncd.conf --daemon --no-detach"
"WorkingDirectory"="C:\\cwRsync"
"StdOut"="C:\\cwRsync\\rsyncd-stdin.log"
"StdErr"="C:\\cwRsync\\rsyncd-stderr.log"
"Shutdown"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RsyncServer\Parameters\Environment]
"CYGWIN"="nontsec binmode"



[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RsyncServer\Enum]
"0"="Root\\LEGACY_RSYNCSERVER\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
--------------------------------------------------------------------
rsyncd.conf is:
-----------------------------------------------------------------------------------
log file = rsyncd.log
pid file = rsyncd.pid
use chroot=false
uid=administrator
gid=administrators
strict modes = false
[test]
path=/cygdrive/ctest
comment=Nothing to see here. Empty.
read only=false
transfer logging = yes
list=yes
auth users=stuart
------------------------------------------------------------

Even just attempting to list the contents of this remote directory gives
this error.
The directory contains one file called 'test_text_file.txt'

 
-- 
Stuart Halliday



This email is the property of ECS Technology Ltd.
This company is registered in Scotland with company number 212513. 
VAT registered GB 761 7456 12  
http://www.ecs-tech.com/




More information about the rsync mailing list