help rsync on Cygwin cannot configure --enable-iconv

2016-08-16 Thread Roman Romanovskiy
Hi I need -iconv option, but configure didnt find iconv $ cygcheck -c libiconv Cygwin Package Information Package VersionStatus libiconv 1.14-3 OK $ ./configure --enable-iconv=yes --disable-acl-support ... checking for library containing

help rsync on Cygwin cannot configure --enable-iconv

2016-08-16 Thread Roman Romanovskiy
Hi I need -iconv option, but configure didnt find iconv $ cygcheck -c libiconv Cygwin Package Information Package VersionStatus libiconv 1.14-3 OK $ ./configure --enable-iconv=yes --disable-acl-support ... checking for library containing iconv_open...

Re: looking for Windows rsync without cygwin

2009-01-03 Thread Ryan Malayter
On Wed, Dec 31, 2008 at 9:06 PM, Eric S. Johansson e...@harvee.org wrote: I'm going to try the bandwidth limit and retries tomorrow. I wanted to see if there were some other suggestions. We're using the latest cwRsync in daemon mode over IPsec to transfer about 100 GB per day from several

looking for Windows rsync without cygwin

2008-12-31 Thread Eric S. Johansson
wondering if anyone has built a native port yet. It looks like I may have to go through eliminate delta copy from a half a dozen machines because of transfer lockups. Conversation on the rsnapshot list indicates that using cygwin may be the source of my problems. Yes, there's a well-known

rsync on cygwin, some directories are erroring with Permission denied

2008-07-25 Thread Richard Thomas
Hi, I have rsync set up to sync between two hard drives on the same Windows PC. I have a concern the results of the following rsync command: c:\cygwin\bin\rsync.exe --log-file=080725.pcsync.log --recursive --archive --modify-window=2 --update --backup /cygdrive/f/images/ /cygdrive/i

Re: Rsync iconv (Cygwin) (file has vanished)

2008-01-27 Thread Fabian Cenedese
At 13:23 27.01.2008 +0900, Brendan Grieve wrote: Wayne Davison wrote: On Thu, Jan 24, 2008 at 02:09:30PM +0900, Brendan Grieve wrote: I get the following error on files that have russian cryllic letters: - file has vanished: /cygdrive/D/Data_Tier1/Home/xxx/??? See the prior

Re: Rsync iconv (Cygwin) (file has vanished)

2008-01-26 Thread Wayne Davison
On Thu, Jan 24, 2008 at 02:09:30PM +0900, Brendan Grieve wrote: I get the following error on files that have russian cryllic letters: - file has vanished: /cygdrive/D/Data_Tier1/Home/xxx/??? See the prior discussions about how MS Windows is lying to rsync about what the

Re: Rsync iconv (Cygwin) (file has vanished)

2008-01-26 Thread Brendan Grieve
Wayne Davison wrote: On Thu, Jan 24, 2008 at 02:09:30PM +0900, Brendan Grieve wrote: I get the following error on files that have russian cryllic letters: - file has vanished: /cygdrive/D/Data_Tier1/Home/xxx/??? See the prior discussions about how MS Windows is lying

Rsync iconv (Cygwin) (file has vanished)

2008-01-23 Thread Brendan Grieve
I have another question. I'm not sure if this is the correct post for cygwin rsync related questions. I've compiled rsync 3.0.0pre8 under cygwin. Works splendidly and compiles cleanly. I made sure to have libiconv installed and it supports the --iconv command (at least it accepts it). I've

rsync in cygwin to my linux nslu2 has permissions problems

2006-08-08 Thread Matthew Smith
(I'm using an ssh connection since I plan to do this over the internet in the future)When I try to backup, most of the files are copied. Trouble is, some aren't since some directories are copied over and land on my linux box with permissions of 000. Because of that, rsync can't copy any other

Solution to rsync plus cygwin: language problems with filenames

2006-05-21 Thread Rafal Wojtczuk
Hello, I created a patch for cygwin1.dll which solves a problem with rsync on cygwin platform, caused by national characters in filenames (file has vanished error message). Patch, cygwin1.dll and readme available at http://www.7bulls.com/~nergal/misc/cygwin-ld_utf/ The patch received little

Windows rsync without cygwin (looking for Unicode support).

2006-04-07 Thread Georgy Goshin
Hi! Let's share an info about Windows rsyncs or rsync-compatibles that works wint Windows native libs, not cygwin. The main task - find a solution with Unicode support. I know two: Unison - has a problems with Unicode filenames like cygwin does. DeltaCopy - found it just a few minutes ago,

RE: Windows rsync without cygwin (looking for Unicode support).

2006-04-07 Thread Alex Pedenko
Title: Windows rsync without cygwin (looking for Unicode support). I posted here a few weeks ago. We wrote a port of rsync to .net, with unicode support. The binary is available at www.kolosy.com/downloads/NetSync.exe, the source code is available through subversion at svn

rsync plus cygwin: language problems with filenames

2006-03-14 Thread Steve Robinson
I know this problem has been posted before, but I have been unable to find a solution on this list or anywhere else on the net. Let me review. First, here is my setup: OS: Windows XP Pro SP2 Rsync: 2.6.6-1 Cygwin: 2.510.2.2 Whenever I transfer any file that has Japanese characters

rsync plus cygwin: language problems with filenames

2006-03-14 Thread Steve Sether
I thought the problem was that cygwin doesn't support unicode. See here: http://lists.samba.org/archive/rsync/2002-September/003643.html The post is rather old, but for whatever reason the cygwin folks haven't added unicode support. You'll also see this problem manifest itself as a limit in the

Re: rsync plus cygwin: language problems with filenames

2006-03-14 Thread Wayne Davison
. Rsync then tries to use the provided filename to open the file, and MS Windows says that it doesn't exist. At that point there's nothing rsync can do. Perhaps the cygwin version of rsync could be marked as understanding unicode -- something that I assume the cygwin packagers would do when

Unable to use rsync between Cygwin - Mac OS X 10.4 with files and folders with accent in their name

2005-09-10 Thread Bertrand Locquet
I try to synchronize from a Windows 2003 machine, using Cygwin and rsync 2.6.6 files and folder with ACCENT in their name to a Mac OS X 10.4 machine running rsync 2.6.3 as a daemon. 3 different problems happen : ***1. For a single file to an empty destination: $ rsync -vP combin

rsync, windows/cygwin and special characters in filenames

2004-06-17 Thread Ville Mattila
Hello, I'm using cygwin and rsync in my windows-equipped laptop to synchronize work and other documents between my file server (Linux RH 9) and laptop. As I'm Finnish, many of the transferred files have special characters å,ä,ö (A-umlaut etc) in the filenames. I noticed that when the files

Re: rsync, windows/cygwin and special characters in filenames

2004-06-17 Thread Wayne Davison
On Thu, Jun 17, 2004 at 09:25:50PM +0300, Ville Mattila wrote: I noticed that when the files are synced from the server to my windows box, the rsync translates the special characters to quotes. Rsync does not translate any characters, so the problem is most likely that the font you are using

Re: rsync, windows/cygwin and special characters in filenames

2004-06-17 Thread Ville Mattila
Wayne Davison wrote: On Thu, Jun 17, 2004 at 09:25:50PM +0300, Ville Mattila wrote: I noticed that when the files are synced from the server to my windows box, the rsync translates the special characters to quotes. Rsync does not translate any characters, so the problem is most likely

Rsync under cygwin

2004-02-25 Thread Darragh Sherwin
Hi, I have rsync client and servers running under 3 Win2K boxes, and I can sync when the source is remote and the target is local, but when the source is local and the target is remote, I get the following error: rsync.exe --recursive /cygdrive/d/BILLS_CMS rsync://192.168.213.102/PWB3 rsync:

Re: SV: Rsync under cygwin

2004-02-25 Thread Darragh Sherwin
: 25. februar 2004 12:39 Til: [EMAIL PROTECTED] Emne: Rsync under cygwin Hi, I have rsync client and servers running under 3 Win2K boxes, and I can sync when the source is remote and the target is local, but when the source is local and the target is remote, I get the following error: rsync.exe

RSYNC and Cygwin: @ERROR auth failed on module

2003-11-25 Thread Anuja Doshi
Hello, I'm a student trying to get rsync working correctly on my WinXP machine. My rsync server works perfectly through cygwin. BUT, when I try to add authentication, I get the message: @ERROR auth failed on module Mobilesync rsync connection unexpectedly closed (94 bytes read so far) rsync

Rsync in cygwin as service --bwlimit=Ignored

2003-07-24 Thread Berowne Hlavaty
I am running Rsync as a service under windows2000 The --bwlimit option causes cygrunsrv service to fail if included during setup of the service: $ cygrunsrv -I RSYNC -p /usr/bin/rsync.exe -a '--config=/etc/rsyncd.conf --daemon --bwlimit=64' $ cygrunsrv -S rsync cygrunsrv: Error starting a

Re: rsync on cygwin is hanging

2003-07-21 Thread jw schultz
. Linux: RH 7.3, rsync 2.5.6, OpenSSH_3.1p1 Cygwin: 5.0, rsync 2.5.6, OpenSSH_3.6.1p1 Let me know if more information is needed (and I apologize if too much is sent) :). I am running the following on the linux machine: rsync -vvrltDH --numeric-ids -pgo --stats --exclude-from=exclude.list

Re: rsync on cygwin is hanging

2003-07-21 Thread Jeff Hedlund
jw schultz wrote: It looks like the rsync server on cygwin is failing to return from a write to stdout. I know (from prior offline discussion) you are using ssh key based command restriction via a wrapper script on the linux rsync servers. Are you using a ssh key based command restriction here

rsync on cygwin is hanging

2003-07-19 Thread Jeff Hedlund
, but I did try this patch with no success: http://www.mail-archive.com/[EMAIL PROTECTED]/msg07525.html When I try to rsync a tree, it will usually create a partial directory structure and download a few files and then hang. Linux: RH 7.3, rsync 2.5.6, OpenSSH_3.1p1 Cygwin: 5.0, rsync 2.5.6

Re: rsync/jscript/cygwin problem

2003-06-30 Thread peter pan
Thanks for the suggestion. The problem occurs whether machines have static or dynamic (DHCP) IP addresses. Also, this problem only ever occurs when rsync is running (the first few minutes of a user login when conditions are met) - never during normal use (e.g. user with IE open etc). Any other

rsync/jscript/cygwin problem

2003-06-28 Thread peter pan
I'm using a javascript program to execute rsync 2.5.6 compiled with cygwin on Windows XP Pro machines. These backup the user's My Documents folder to a Linux server running rsync 2.5.6 in daemon mode when the user logs in to XP and certain conditions are met (e.g. user hasn't backed up for a few

Re: rsync/jscript/cygwin problem

2003-06-28 Thread lackluster lackluster
XP sucks and has this problem. Try putting the following into a script (you may want to cron this hourly) @echo off ipconfig /release ipconfig /renew Original Message Follows From: peter pan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: rsync/jscript/cygwin problem Date: Sat, 28 Jun

rsync and cygwin

2003-06-07 Thread Trey Nolen
I had sent a message to the list earlier this week detailing an error message I am getting using rsync on Cygwin on Windows 2000. I have now duplicated the problem on another windows 2000 server. I have a third server on which the process works, so I don't really know what is going wrong. All

Re: rsync and cygwin

2003-06-07 Thread Trey Nolen
HmmThis backup server is handling backup jobs from about a dozen other machines -- all but three are Linux. The other three are Windows 2000 servers running Cygwin. Two of those are not working (giving the error). The backup machine has other duties, too, and has not had any issues. The

Re: rsync and cygwin

2003-06-07 Thread jw schultz
indicates serious corruption somewhere. My next step would be to examine the binaries on cygwin, rsync and ssh. Try checksumming them for a difference between the badly behaving machines and the still OK one. I'd then consider that the cygwin binaries might have been built incorrectly. After

Re: rsync and cygwin

2003-06-07 Thread Lapo Luchini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 jw schultz wrote: I'd then consider that the cygwin binaries might have been built incorrectly. After that, i don't know, perhaps creeping corruption on the two machines? BTW: those are my latest builds or rsync/cygwin: $ md5sum /usr/bin/rsync.exe

Re: rsync and cygwin

2003-06-07 Thread cbarratt
On Sat, Jun 07, 2003 at 05:36:03PM -0500, Trey Nolen wrote: HmmThis backup server is handling backup jobs from about a dozen other machines -- all but three are Linux. The other three are Windows 2000 servers running Cygwin. Two of those are not working (giving the error). The backup

Re: rsync and cygwin

2003-06-07 Thread Lapo Luchini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 jw schultz wrote: I'd then consider that the cygwin binaries might have been built incorrectly. After that, i don't know, perhaps creeping corruption on the two machines? BTW: those are my latest builds or rsync/cygwin: $ md5sum /usr/bin/rsync.exe

Re: [rsync] Re: rsync and cygwin

2003-06-05 Thread Trey Nolen
I, too, tried it after it was mentioned and it worked for me as well. I think this is going to be my solution. I haven't got everything working yet, but will try to finish it up later today. I was able to successfully build a good file list from a regular CMD prompt, so I called it a night. :-)

Re: [rsync] Re: rsync and cygwin

2003-06-05 Thread Trey Nolen
I, too, tried it after it was mentioned and it worked for me as well. I think this is going to be my solution. I haven't got everything working yet, but will try to finish it up later today. I was able to successfully build a good file list from a regular CMD prompt, so I called it a night. :-)

rsync and cygwin part II

2003-06-05 Thread Trey Nolen
OK, I had emailed yesterday about an issue backing up a W2K machine using rsync under Cygwin. I was having trouble backing up the root directory, and I'm happy to say that the suggestion of using /cygdrive/c seems to have worked! Unfortunately, now I'm getting another error. The error

rsync and cygwin paths

2003-06-05 Thread Lapo Luchini
(cc to [EMAIL PROTECTED] so that people that knows ebtter what i'm talking about can eventually correct me) jw schultz wrote: Perhaps that is the document he needs. If not could you cygwinese, cygwinites, cygwinists, cygwinim or whatever point him to one that will clear up the slash/backslash

Re: rsync and cygwin paths

2003-06-05 Thread Igor Pechtchanski
On Wed, 4 Jun 2003, Lapo Luchini wrote: (cc to [EMAIL PROTECTED] so that people that knows ebtter what i'm talking about can eventually correct me) jw schultz wrote: Perhaps that is the document he needs. If not could you cygwinese, cygwinites, cygwinists, cygwinim or whatever point him

rsync and cygwin

2003-06-04 Thread Trey Nolen
, but in this case, we want to backup everything, so the directory we are backing up is \. We do not run rsync under a Cygwin bash prompt, and we schedule it with the scheduler to run automatically every night, but this issue is the same even if we run the commands manually. The following is the contents

Re: rsync and cygwin

2003-06-04 Thread Trey Nolen
If we do that, it backs up the cygwin directory (c:\cygwin being the root of the cygwin install) and not the root of c: (i.e. C:\ ). Trey Nolen - Original Message - From: jw schultz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 6:13 PM Subject: Re: rsync and cygwin

Re: rsync and cygwin

2003-06-04 Thread jw schultz
do match. Trey Nolen - Original Message - From: jw schultz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 6:13 PM Subject: Re: rsync and cygwin Try using slash instead of backslash. On Tue, Jun 03, 2003 at 06:04:50PM -0500, Trey Nolen wrote: Hi

Re: rsync and cygwin

2003-06-04 Thread Trey Nolen
:44 PM Subject: Re: rsync and cygwin On Tue, Jun 03, 2003 at 06:34:42PM -0500, Trey Nolen wrote: If we do that, it backs up the cygwin directory (c:\cygwin being the root of the cygwin install) and not the root of c: (i.e. C:\ ). I was refering to the exclude list, not the command line

Re: rsync and cygwin

2003-06-04 Thread Trey Nolen
will show you what patterns do match. Trey Nolen - Original Message - From: jw schultz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 6:13 PM Subject: Re: rsync and cygwin Try using slash instead of backslash. On Tue, Jun 03, 2003

Re: [rsync@b] Re: rsync and cygwin

2003-06-04 Thread Trey Nolen
I think that a key part of the answer is to use /cygdrive/c instead of / or \ to identify c:\ in a cygwin environment. But can you do that if you are not running it from the Cygwin prompt? I didn't do that because we were starting it with the scheduler. Will that still work? Trey Nolen

Re: [rsync@b] Re: rsync and cygwin

2003-06-04 Thread Michael Hipp
Trey Nolen wrote: But can you do that if you are not running it from the Cygwin prompt? I didn't do that because we were starting it with the scheduler. Will that still work? Yes. Write a small 'myjob.bat' file with something like this in it: @echo off C: chdir C:\cygwin\bin bash

Re: [rsync@b] Re: rsync and cygwin

2003-06-04 Thread Bert
Michael, While I frequently run scheduled bash shell scripts via a bash.bat file as you describe, I don't think it is necessary here... I think Trey can run rsync.exe directly if he really wants to. I tested running 'ls /cygdrive' from within a cmd.exe dos prompt and it worked... Microsoft

Re: [rsync@b] Re: rsync and cygwin

2003-06-04 Thread Lapo Luchini
Bert wrote: While I don't know the cygwin architecture details, it looks like the /cygdrive functionality is a part of cygwin.dll and can be used without a parent bash shell. It is part of it's POSIX-layerness, indeed, and it's storen in the registry, so it needs no startup script to set it

Re: [rsync@b] Re: rsync and cygwin

2003-06-04 Thread jw schultz
On Wed, Jun 04, 2003 at 10:50:18AM +0200, Lapo Luchini wrote: Bert wrote: While I don't know the cygwin architecture details, it looks like the /cygdrive functionality is a part of cygwin.dll and can be used without a parent bash shell. It is part of it's POSIX-layerness, indeed, and

Re: Rsync / SSH / Cygwin .. permission problems..

2003-06-03 Thread Vince Hoffman
if possible. I have also tried this from a DOS shell instead of a cygwin shell with the same results.. Thanks in advance... Are the files on NTFS? Can you give some more detail about the CygWin installation? Whetherver you use ntsec, release number of cygwin and rsync... (to include al

RE: Rsync / SSH / Cygwin .. permission problems..

2003-06-03 Thread Oswell, Michael
:\WINNT HOME = `C:\cygwin\export\home\rsync' MAKE_MODE = `unix' PWD = `/usr/bin' USER = `rsync' Use `-r' to scan registry a: fd N/AN/A c: hd NTFS 17312Mb 12% CP CS UN PA FC LOCAL d: cd N/AN/A e: hd NTFS 104995Mb 37

Re: -p option in man and help [Was: Rsync / SSH / Cygwin ..permission problems..]

2003-06-01 Thread jw schultz
On Sat, May 31, 2003 at 11:51:25AM +0200, Lapo Luchini wrote: jw schultz wrote: On Sat, May 31, 2003 at 09:48:47AM +0200, Lapo Luchini wrote: Actually it seems to me the opposite: it has perms also without -p... maybe it is the default? Without -p new files get perms of source

Re: Rsync / SSH / Cygwin .. permission problems..

2003-05-31 Thread jw schultz
On Sat, May 31, 2003 at 09:48:47AM +0200, Lapo Luchini wrote: Actually it seems to me the opposite: it has perms also without -p... maybe it is the default? Without -p new files get perms of source as modified by umask. --

-p option in man and help [Was: Rsync / SSH / Cygwin .. permissionproblems..]

2003-05-31 Thread Lapo Luchini
jw schultz wrote: On Sat, May 31, 2003 at 09:48:47AM +0200, Lapo Luchini wrote: Actually it seems to me the opposite: it has perms also without -p... maybe it is the default? Without -p new files get perms of source as modified by umask. Ohhh. Maybe it's just me, but wouldn't -

Re: Rsync / SSH / Cygwin .. permission problems..

2003-05-31 Thread Lapo Luchini
of a cygwin shell with the same results.. Thanks in advance... Are the files on NTFS? Can you give some more detail about the CygWin installation? Whetherver you use ntsec, release number of cygwin and rsync... (to include al this you can attach the output of 'cygcheck -s') BTW: latest packages

Re: Solution For Rsync and Cygwin Daylight Savings Timezone Problems

2003-04-02 Thread Martin Sapsed
jw schultz wrote: [...] The impact of this may be minimized by running rsync with the --modify-window=3601 command-line option. This will cause rsync to ignore modification time differences of one hour will allow rsync jobs to complete in the usual time period with a minimal impact on backup

Re: Solution For Rsync and Cygwin Daylight Savings Timezone Problems

2003-04-02 Thread jw schultz
On Wed, Apr 02, 2003 at 03:33:30PM +0100, Martin Sapsed wrote: jw schultz wrote: [...] The impact of this may be minimized by running rsync with the --modify-window=3601 command-line option. This will cause rsync to ignore modification time differences of one hour will allow rsync jobs

Solution For Rsync and Cygwin Daylight Savings Timezone Problems

2003-04-01 Thread Wayne Piekarski
Hi, I have been having a number of problems dealing with time zones and synchronising files using Rsync to my linux machine on Cygwin with Windows XP. I have read discussions previously on these mailing lists on how there are problems that occur when there is a change in daylight savings time. I

Re: Solution For Rsync and Cygwin Daylight Savings Timezone Problems

2003-04-01 Thread jw schultz
Thanks for the reminder. Unfortunately your email was rambling so that it was unclear what can actually be done to avoid the problem. Here in the US Daylight savings time will take effect this coming Sunday. Given the growing number of sites using rsync in their backup solutions incorporating

Re: Solution For Rsync and Cygwin Daylight Savings Timezone Problems

2003-04-01 Thread Wayne Piekarski
Thanks for the reminder. Unfortunately your email was rambling so that it was unclear what can actually be done to avoid the problem. Here in the US Daylight savings time will take effect this coming Sunday. Sorry about the rambling :) I wanted to dump out everything I'd learned because it

Re: Solution For Rsync and Cygwin Daylight Savings Timezone Problems

2003-04-01 Thread bart . coninckx
: .samba.orgSubject: Re: Solution For Rsync and Cygwin Daylight Savings Timezone Problems

Re: Solution For Rsync and Cygwin Daylight Savings Timezone Problems

2003-04-01 Thread jw schultz
On Wed, Apr 02, 2003 at 09:55:10PM +1030, Wayne Piekarski wrote: Thanks for the reminder. Unfortunately your email was rambling so that it was unclear what can actually be done to avoid the problem. Here in the US Daylight savings time will take effect this coming Sunday. Sorry about

Re: problems with rsync in cygwin

2003-03-18 Thread Max Bowsher
Jim Gallagher wrote: $ rsync -a /cygdrive/c/installs/palm rsync://192.168.2.3/palm rsync: Unknown Host rsh.exe: can't establish connection == ??? ... I thought the docs said that rsync protocol would be used if I used the rsync:// URL. It still wants to use rsh. I'm using

Re: problems with rsync in cygwin

2003-03-18 Thread Jim Gallagher
Thanks, That syntax works. I've just discovered the importance of the uid option in rsync.conf, and now it seems to work. Thanks to all who replied. Jim On Monday 17 March 2003 11:44 pm, you wrote: Try rsync -a /cygdrive/c/installs/palm 192.168.2.3::palm and make sure you have a

problems with rsync in cygwin

2003-03-17 Thread Jim Gallagher
Hi, I'm trying to set up rsync, with the transfers originating from a Win2K box and going to a Linux box. Both boxes are on my home LAN, so ssh is not required; I thought I would simply use the rsync protocol. I set up xinetd on my Linux box to start a rsync server when needed. My first

Re: problems with rsync in cygwin

2003-03-17 Thread coldwire
i don't think you are actually getting connected to the target host. better check your network settings. and on the second instance you appear to be having the same problem, but you've masked it by saying RSYNC_RSH=rsync. That is not correct. rsync is the transfer protocol...rsh is the

Re: problems with rsync in cygwin

2003-03-17 Thread Greger Cronquist
Try rsync -a /cygdrive/c/installs/palm 192.168.2.3::palm and make sure you have a correct [palm] section in your rsyncd.conf file. /Greger --- Jim Gallagher [EMAIL PROTECTED] skrev: Hi, I'm trying to set up rsync, with the transfers originating from a Win2K box and going to a Linux

Re: /me dead for a short while [Was: rsync in cygwin as service]

2003-02-12 Thread Max Bowsher
Dmitry Melekhov wrote: Well, now I know that _latest_ rsync does not work in daemon mode at all, Works for me. i.e. when I start it with --daemon it simply exits without any error messages. But could you tell me is there rsync version which I can use in cygwin right now? Yep. The current

rsync in cygwin as service

2003-02-11 Thread Dmitry Melekhov
/bin/bash 1428 4801428 1420 con 500 05:26:46 /usr/bin/ps Administrator@dm-w2ks /usr/bin So I'm trying to set it as service: C:\cygwin\bincygrunsrv -I RSYNC -d Rsync -p /bin/rsync.exe -a --daemon --n o-detach C:\cygwin\bincygrunsrv -S RSYNC cygrunsrv: Error starting a service

Re: rsync in cygwin as service

2003-02-11 Thread Nitin Agarwal
:\cygwin\bincygrunsrv -I RSYNC -d Rsync -p /bin/rsync.exe -a --daemon --n o-detach C:\cygwin\bincygrunsrv -S RSYNC cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. And I see in event log: The description for Event ID ( 0 ) in Source

Re: rsync in cygwin as service

2003-02-11 Thread bart . coninckx
] rsync-bounces+bart.coninckx=watco.be@listsSubject: Re: rsync in cygwin as service .samba.org

Re: rsync in cygwin as service

2003-02-11 Thread Nitin Agarwal
[EMAIL PROTECTED] Sent by: cc: [EMAIL PROTECTED] rsync-bounces+bart.coninckx=watco.be@listsSubject: Re: rsync in cygwin as service .samba.org 11/02/2003 14

/me dead for a short while [Was: rsync in cygwin as service]

2003-02-11 Thread Lapo Luchini
Dmitry Melekhov wrote: Hello! I want to start rsync on w2k as service. If I try to start rsync from command line it simply do nothig: $ rsync --daemon Sorry to you and other people that waits for me to test/debug cygwin-specific problems in latest rsync, but my windows machine is actually

Re: rsync in cygwin as service

2003-02-11 Thread Craig Barratt
1420 con 500 05:26:46 /usr/bin/ps Administrator@dm-w2ks /usr/bin So I'm trying to set it as service: C:\cygwin\bincygrunsrv -I RSYNC -d Rsync -p /bin/rsync.exe -a --daemon --n o-detach I've found on cygwin that I need to explicitly tell it where the config file is, both on the command

Re: /me dead for a short while [Was: rsync in cygwin as service]

2003-02-11 Thread Dmitry Melekhov
Hello! Well, now I know that _latest_ rsync does not work in daemon mode at all, i.e. when I start it with --daemon it simply exits without any error messages. But could you tell me is there rsync version which I can use in cygwin right now? Could someone mail me .exe ? Thank you! Lapo

Re: rsync in cygwin as service

2003-02-11 Thread Dmitry Melekhov
1428 1420 con 500 05:26:46 /usr/bin/ps Administrator@dm-w2ks /usr/bin So I'm trying to set it as service: C:\cygwin\bincygrunsrv -I RSYNC -d Rsync -p /bin/rsync.exe -a --daemon --n o-detach I've found on cygwin that I need to explicitly tell it where the config file is, both

Re: rsync in cygwin as service

2003-02-11 Thread Craig Barratt
Certanly, I tried --config Could you tell me which rsync version do you use? rsync 2.5.5 and rsync 2.5.6 both work fine for me. Is it possible that rsync is already running as a service? It won't show up in cygwin's ps. For example, when rsync is running via cygrunsrv, if I type:

Re: rsync in cygwin as service

2003-02-11 Thread Dmitry Melekhov
Craig Barratt wrote: You could also try a different port number to see if there is someone else on 873: craigslt 461% ps aux | egrep rsync craigslt 462% rsync --daemon --port=1234 craigslt 463% ps aux | egrep rsync 4020 14020 4020? 1005 23:29:08

Rsync on Cygwin testsuite results

2003-01-28 Thread Max Bowsher
I hacked config.h to undefine HAVE_SOCKETPAIR. Cygwin's socketpair was failing randomly, causing errors on roughly a third of testsuite runs. Having made that alteration (so rsync was using pipe, not socketpair), I ran the testsuite 100 times. SSH tests were not enabled. Out of 100 runs, 4 hung

rsync and cygwin on win XP freeze/hanging

2002-09-19 Thread Brian Mathis
I am running rsync under cygwin on a winXP pro system. Cygwin is the most recent version (1.3.12-2) and rsync 2.5.5 protocol 26. It seems that almost %50 of the time, rsync hangs after the last file is done syncing. When it's hung, I can press ctrl-c, and an error message: rsync error

Re: Status Query - Please respond - Re: Patch to avoid 'Connection reset by peer' error for rsync on cygwin

2002-05-17 Thread Max Bowsher
Combined reply: Mark - Point taken. But even if it worked correctly everywhere, to me there seems to be something aesthetically wrong about just letting sockets close themselves. Kind of like a malloc() without a free(). Wayne - Wouldn't the atexit solution require that we keep a list of fds to

Re: Status Query - Please respond - Re: Patch to avoid 'Connection reset by peer' error for rsync on cygwin

2002-05-16 Thread Max Bowsher
No. That just moves the shutdown call from whren you finish with the fd to where you start using the fd - that's got to be less intuitive. Surely it isn't too much to close file descriptors you open? Just because Linux lets you get away without it doesn't mean its a good idea. Anyway, if I

Re: Status Query - Please respond - Re: Patch to avoid 'Connectionreset by peer' error for rsync on cygwin

2002-05-16 Thread Wayne Davison
On Thu, 16 May 2002, Max Bowsher wrote: That just moves the shutdown call from where you finish with the fd to where you start using the fd - that's got to be less intuitive. Being more or less intuitive is not the point. The idea was to have as little cygwin kludge code as possible. Thus,

Re: Status Query - Please respond - Re: Patch to avoid 'Connection reset by peer' error for rsync on cygwin

2002-05-16 Thread Mark Eichin
Just because Linux lets you get away without it doesn't mean its a good idea. Except this has nothing to do with linux - this is unix behaviour that goes all the way back, it's part of the process model. It's part of what exiting *does*, so it *is* a bug in cygwin if it isn't doing the cleanup

Re: Status Query - Please respond - Re: Patch to avoid 'Connection reset by peer' error for rsync on cygwin

2002-05-15 Thread Max Bowsher
I wasn't. But he's addressing the same problem, in a difference case to my initial patch Max. Are you all aware of the work done by Jonathan Kamens last July? See bug 3236 ... http://rsync.samba.org/cgi-bin/rsync/incoming?id=3236 Sorry if this has already been discussed: I am joining the

Re: Status Query - Please respond - Re: Patch to avoid 'Connectionreset by peer' error for rsync on cygwin

2002-05-15 Thread Wayne Davison
Here's an idea which I haven't had a chance to investigate: Would it be possible to use atexit() to register a call to shutdown() for cygwin (or a call to a custom function that would call shutdown() for the appropriate socket fds)? This should allow cgywin's broken socket code to get properly

Re: Status Query - Please respond - Re: Patch to avoid 'Connection reset by peer' error for rsync on cygwin

2002-05-14 Thread Max Bowsher
After thinking about it a bit more I'm somewhat inclined to call it a bug in Cygwin and try to get them to fix it. Well, you could, but I'd much prefer it if you didn't :-) I guess its time for you to make an executive descision - Is it reasonable to include code in rsync to close sockets,

Re: Status Query - Please respond - Re: Patch to avoid 'Connection reset by peer' error for rsync on cygwin

2002-05-12 Thread Martin Pool
On 10 May 2002, Max Bowsher [EMAIL PROTECTED] wrote: The problem was especially severe here, because rsync didn't even close the socket in these cases - it would write its last data, then return a couple of times, and exit(). It should not matter: The function _exit terminates the

Re: Status Query - Please respond - Re: Patch to avoid 'Connection reset by peer' error for rsync on cygwin

2002-05-10 Thread Max Bowsher
Martin Pool [EMAIL PROTECTED] wrote: Sorry, I've been out of town this week. No problem. This is the shutdown one, right? I wanted to check about portability before we put it in. Snader's Effective TCP/IP Programming says that shutdown(fd, 1); is OK on both Unix and Windows and will

Re: Status Query - Please respond - Re: Patch to avoid 'Connection reset by peer' error for rsync on cygwin

2002-05-09 Thread Martin Pool
On 9 May 2002, Dave Dykstra [EMAIL PROTECTED] wrote: The answer has to come from Martin and I haven't seen anything posted from him lately, he must be unavailable. Sorry, I've been out of town this week. On Tue, May 07, 2002 at 03:28:06PM +0100, Max Bowsher wrote: Hi. On the one

Re: Status Query - Please respond - Re: Patch to avoid 'Connection reset by peer' error for rsync on cygwin

2002-05-09 Thread Jos Backus
On Thu, May 09, 2002 at 04:22:45PM -0700, Martin Pool wrote: shutdown(fd, 1); Perhaps use SHUT_WR instead of 1? -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/

rsync on cygwin: can't access mapped network drive remotely

2002-05-07 Thread Philip Flip Kromer
I posted this message to the cygwin mailing list, but I thought I'd try it here too... flip - Hello, I am using rsync 2.5.5 protocol version 26 with cygwin 1.3.10-1. When I connect to a directory that resides on the

Re: Patch to avoid 'Connection reset by peer' error for rsync on cygwin

2002-05-01 Thread Max Bowsher
What is the status of my patch? If the answer is 'In a ToDo list', then I will be quite happy, but if there are any objections to it, I would like to resolve them. Thankyou. Max. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read:

Re: Patch to avoid 'Connection reset by peer' error for rsync on cygwin

2002-04-29 Thread Max Bowsher
What is the status of this patch? (Ideally I'd like it to make it in to 2.5.6, so I can stop using a modified version). I have successfully used rsync with the patch on Linux, and have done a test where a client does connect(), then sleep(), whilst the server does write(),

Re: Patch to avoid 'Connection reset by peer' error for rsync on cygwin

2002-04-26 Thread Max Bowsher
I though that shutdown acts as below: -- Syntax: int shutdown(int sockfd, int howto); returns 0 if OK, -1 on error. Action of the function depends on the value of howto - SHUT_RD - read half of the connection is closed. The data currently in the socket receive buffer is discarded. SHUT_WR -

Re: Patch to avoid 'Connection reset by peer' error for rsync on cygwin

2002-04-26 Thread Jos Backus
On Fri, Apr 26, 2002 at 05:40:07PM +0100, Max Bowsher wrote: Action of the function depends on the value of howto - SHUT_RD - read half of the connection is closed. The data currently in the socket receive buffer is discarded. SHUT_WR - write half of the connection is closed. The data in the

RE: Patch to avoid 'Connection reset by peer' error for rsync on cygwin

2002-04-26 Thread David Bolen
Max Bowsher [[EMAIL PROTECTED]] writes: I though that shutdown acts as below: (no data loss) SUSv2 is annoyingly somewhat vague on the specifics. So are the FreeBSD/Linux man pages. They don't specifically indicate truncation or flushing of data, although I don't recall ever thinking of

Re: Patch to avoid 'Connection reset by peer' error for rsync on cygwin

2002-04-25 Thread Dave Dykstra
Does anybody know if this might cause problems on non-Windows machines? Would shutdown need to be checked in configure, or is it implemented on all Unix variants? I don't recall ever seeing a need for it on Unix. - Dave On Wed, Apr 03, 2002 at 11:39:57AM +0100, Max Bowsher wrote: The problem

  1   2   >