This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rsync + ssh crashes


Kai Schlichting schrieb:
I try to use the following batch-script:
  set CYGWIN=tty binmode nontsec
  set TERM=ansi
  set PATH=C:\rsync;%PATH%
  set HOME=C:\rsync
  set RSYNC_RSH=/cygdrive/c/rsync/ssh.exe
  set USERNAME=backup
  rsync --progress --verbose --stats --delete -a -e 'ssh -i identity'
    /cygdrive/c/Test /cygdrive/c/Test2
    XXXMyServerIPXXX:/home/backup/tmp >> log.txt

My C:\rsync - Directory
  cygcrypto-0.9.8.dll
  cygminires.dll
  cygpopt-0.dll
  cygwin1.dll # 1005.21.0.0
  cygz.dll
  identity
  log.txt
  rsync.exe # 2.6.6
  ssh.exe
  rsyncGo.bat # my Batch-Script

Do you have any ideas, why during the execution of the batch rsync crashes?
I found out, if i change
"rsync" into "C:\cygwin\bin\rsync"
"ssh" into "C:\cygwin\bin\ssh"
so that not the "local" rsync.exe and ssh.exe, but the exe from the cygwin installation is used.
Does it help you to find a solution to use the exe in the directory C:\rsync?
I found a message on command line:
24669 [main] rsync 3660 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0xC0000005, errno 11
24669 [main] rsync 3660 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0xC0000005, errno 11
rsync: fork: Resource temporarily unavailable (11)
rsync error: error in IPC code (code 14) at /home/lapo/packaging/tmp/rsync-2.6.6/pipe.c(61)



-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]