Communication problem with rsync-2.6.0
hello, I have a following problem while using rsync: rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(189) it was coused by command rsync -r source/ dest/ -e rsh I use rsync-2.6.0 with rsh. What bothers me is that folowing problem apears time to time. I already checked the location of rsync on both machines, both /usr/bin/rsync. I work on solaris-2.8-sparc(remote) and Linux ### 2.4.22-1-686 GNU/Linux(server). could you please help me? thx in advance, Fiver -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Communication problem with rsync-2.6.0
The first problem is that you're attempting to use a remote transport on a local transfer. The second problem is that you have put -e rsh after filespecs, thus having it interpreted as such. What you have asked rsync to do is to put the contents of source/, dest/, and the object -e, in to the directory rsh. I'm just guessing that's not what you wanted. A correct cmdline to do what it appears you want would be rsync -r source/ dest/ . If you have removed a hostname from the source or dest path, you'd want rsync -r -e rsh source/ desthost:dest/ or rsync -r -e rsh sourcehost:source/ dest/ , depending on which is the remote. If I read my country codes correctly, you're to be commended for interpreting the documentation as well as you have... I sure couldn't read Polish. Tim Conway Unix System Administration Contractor - IBM Global Services desk:3032734776 [EMAIL PROTECTED] hello, I have a following problem while using rsync: rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(189) it was coused by command rsync -r source/ dest/ -e rsh -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Communication problem with rsync-2.6.0
On Mon, Apr 05, 2004 at 12:45:18PM -0400, Tim Conway wrote: The second problem is that you have put -e rsh after filespecs, thus having it interpreted as such. Not necessarily. Modern option parsers indulge in option reordering unless told not to (for example, by setting POSIXLY_CORRECT in the environment). Thus, it is likely that the trailing -e rsh was interpreted by rsync as a remote-shell option. ..wayne.. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Error trying to compile 2.6.0 on Solaris 9 Sparc with gcc 3.2
Hi. I'm trying to compile rsync 2.6.0 on Solaris 9 Sparc, using gcc 3.2. The configure script seems to run with no problem. But when I go ahead to make, I get the following error output: -8 gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -c rsync.c -o rsync.o In file included from rsync.c:23: rsync.h:371: warning: no semicolon at end of struct or union rsync.h:371: parse error before inode rsync.h:373: parse error before dev rsync.h:373: warning: type defaults to `int' in declaration of `dev' rsync.h:373: warning: data definition has no type or storage class rsync.h:376: parse error before rdev rsync.h:376: warning: type defaults to `int' in declaration of `rdev' rsync.h:376: warning: data definition has no type or storage class rsync.h:382: `link' redeclared as different kind of symbol /usr/include/unistd.h:327: previous declaration of `link' rsync.h:384: parse error before '}' token rsync.h: In function `flist_up': rsync.h:464: dereferencing pointer to incomplete type rsync.c: In function `set_perms': rsync.c:175: dereferencing pointer to incomplete type rsync.c:178: dereferencing pointer to incomplete type rsync.c:188: dereferencing pointer to incomplete type rsync.c:189: dereferencing pointer to incomplete type rsync.c:189: dereferencing pointer to incomplete type rsync.c:194: dereferencing pointer to incomplete type rsync.c:198: dereferencing pointer to incomplete type rsync.c:199: dereferencing pointer to incomplete type rsync.c:217: dereferencing pointer to incomplete type rsync.c:219: dereferencing pointer to incomplete type rsync.c: In function `finish_transfer': rsync.c:265: dereferencing pointer to incomplete type *** Error code 1 make: Fatal error: Command failed for target `rsync.o' -8 The machine is a Sun Sparc Ultra 250. here is the uname -a output: SunOS suntst-2 5.9 Generic_112233-06 sun4u sparc SUNW,Ultra-250 I got the same error trying to compile rsync 2.6.1pre1. The first line on source-code which causes the error, line 371 of rsync.h, is a INO64_T inode; field inside the file_struct definition. Any help/advice will be very appreciated. Thanks in advance, Marcio d'Avila Systems and database administrator Brazil -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
CVS update: rsync
Date: Mon Apr 5 15:05:46 2004 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv3123 Modified Files: NEWS Log Message: Added a couple missing items. Revisions: NEWS1.163 = 1.164 http://www.samba.org/cgi-bin/cvsweb/rsync/NEWS.diff?r1=1.163r2=1.164 ___ rsync-cvs mailing list [EMAIL PROTECTED] http://lists.samba.org/mailman/listinfo/rsync-cvs