The server is configured to refuse --iconv

Stuart Halliday StuartH at ecs-tech.com
Mon Mar 10 11:57:11 GMT 2008


Thank you Tevfik,

I added "charset = utf-8" to the rsync server's .conf and it now works.

I didn't realise that Rsync 3 now converts filenames between machines now?

-- 
Stuart Halliday



-----Original Message-----
From: Tevfik Karagülle <tevfik at itefix.no>
To: "'Stuart Halliday'" <StuartH at ecs-tech.com>, <rsync at lists.samba.org>
Date: Mon, 10 Mar 2008 12:05:41 +0100
Subject: RE: The server is configured to refuse --iconv

> See a related thread in cwrsync forum
> 
> http://www.itefix.no/phpws/index.php?module=phpwsbb&PHPWSBB_MAN_OP=view
> &PHPW
> S_MAN_ITEMS[]=1130
> 
> 
> Tev 
> 
> > -----Original Message-----
> > From: rsync-bounces+tevfik=itefix.no at lists.samba.org 
> > [mailto:rsync-bounces+tevfik=itefix.no at lists.samba.org] On 
> > Behalf Of Stuart Halliday
> > Sent: 10. mars 2008 11:38
> > To: rsync at lists.samba.org
> > Subject: The server is configured to refuse --iconv
> > 
> > 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,7
> > 9,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\RsyncSer
> > ver\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\RsyncSer
> > ver\Parameters\Environment]
> > "CYGWIN"="nontsec binmode"
> > 
> > 
> > 
> > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RsyncSer
> > ver\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/
> > 
> > 
> > -- 
> > To unsubscribe or change options: 
> > https://lists.samba.org/mailman/listinfo/rsync
> > Before posting, read: 
> > http://www.catb.org/~esr/faqs/smart-questions.html
> > 
> 
> -- 
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read:
> http://www.catb.org/~esr/faqs/smart-questions.html


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