search for: file_struct_len

Displaying 17 results from an estimated 17 matches for "file_struct_len".

2004 Feb 06
4
memory reduction
...ULL, 0); /* Signal that we're done. */ protocol_version = save_pv; stats.total_read = save_read; diff -rupNP --exclude-from cvs/.ignore cvs/flist.c pool2/flist.c --- cvs/flist.c Wed Feb 4 17:39:32 2004 +++ pool2/flist.c Thu Feb 5 18:41:21 2004 @@ -76,13 +76,12 @@ static unsigned int min_file_struct_len; static void clean_flist(struct file_list *flist, int strip_root, int no_dups); static void output_flist(struct file_list *flist); - void init_flist(void) { - struct file_struct f; + struct file_struct f; - /* Figure out how big the file_struct is without trailing padding */ - min_...
2010 Feb 17
1
Problems transferring from older version of rsync to new
...ther system I have: > authoritative# rsync --version rsync version 3.0.7 protocol version 30 I have the following problem when trying to fetch files from the system running the old daemon: # /usr/local/bin/rsync --protocol=29 -vvvvvvvv rsync://cis/namedb/named.cis.slave.conf /etc/namedb/cis FILE_STRUCT_LEN=24, EXTRA_LEN=4 opening tcp connection to cis port 873 sending daemon args: --server --sender -vvvv . namedb/named.cis.slave.conf (Client) Protocol versions: remote=29, negotiated=29 Invalid flist flag: 1004 [Receiver] _exit_cleanup(code=2, file=flist.c, line=2349): entered rsync error: protocol i...
2010 Mar 23
2
rsync: connection unexpectedly closed (0 bytes received so far)
...ters there give no help. This is using versions 3.0.6 (server) and 3.0.7 (client). Unfortunately, I have to type the client stuff in by hand. ("Secured" laptop with highlighting & copying disabled.) Anyway: $ rsync -vvvvvv -a -e ssh --recursive gdoc rsync-acct at 99.99.99.99::doc file_struct_len=16, extra_len=4 opening connection .... note: iconv_open("UTF-8", "UTF-8") succeeded. sending daemon args: .. rsync: connection unexpectedly closed (0 byes received so far) [sender] [sender] _exit_cleanup(code=12, file=.../io.c, line=601): about to call exit(12) ==== Yet this w...
2008 Oct 09
2
Possible 3.0.4 bug with -s (--protect-args) - protocol error
...urce, no patches. It seems fine except that -s causes protocol failures. See below. Local host is Sparc (Solaris 5.8), remote is Sparc (Solaris 5.10) or i686 Linux. Regards, Giuliano. userX@hostA$ /home/userX/tools/bin/rsync -v -v -v -v -v -n --rsync-path /home/userX/tools/bin/rsync -s . hostB: FILE_STRUCT_LEN=16, EXTRA_LEN=4 cmd=<NULL> machine=hostB user=<NULL> path= cmd[0]=ssh cmd[1]=hostB cmd[2]=/home/userX/tools/bin/rsync cmd[3]=--server cmd[4]=-svvvvvne.s cmd[5]=(NULL) cmd[6]=. cmd[7]= opening connection using: ssh hostB /home/userX/tools/bin/rsync --server -svvvvvne.s note: iconv_open(&...
2018 Dec 30
2
--partial does not "unhide" the files
...but after successful transfer, the files are not renamed from .<tmpfile> to <file>. Where to go next? Here is the verbose output after transferring an empty file heiko at blade:~/Pictures$ rsync -iavvvvvvvP ./x platte.local:/shares/Storage/Bilder\\\ von\\\ Heikos\\\ Computer/ FILE_STRUCT_LEN=24, EXTRA_LEN=4 cmd=<NULL> machine=platte.local user=<NULL> path=/shares/Storage/Bilder\ von\ Heikos\ Computer/ cmd[0]=ssh cmd[1]=platte.local cmd[2]=rsync cmd[3]=--server cmd[4]=-vvvvvvvlogDtpre.iLsfxC cmd[5]=--log-format=%i cmd[6]=--partial cmd[7]=. cmd[8]=/shares/Storage/Bild...
2018 Dec 30
0
--partial does not "unhide" the files
...> are not renamed from .<tmpfile> to <file>. > > Where to go next? > > Here is the verbose output after transferring an empty file > > heiko at blade:~/Pictures$ rsync -iavvvvvvvP ./x platte.local:/shares/Storage/Bilder\\\ von\\\ Heikos\\\ Computer/ > FILE_STRUCT_LEN=24, EXTRA_LEN=4 > cmd=<NULL> machine=platte.local user=<NULL> path=/shares/Storage/Bilder\ von\ Heikos\ Computer/ > cmd[0]=ssh cmd[1]=platte.local cmd[2]=rsync cmd[3]=--server cmd[4]=-vvvvvvvlogDtpre.iLsfxC cmd[5]=--log-format=%i cmd[6]=--partial cmd[7]=. cmd[8]=/shares/St...
2019 Nov 05
1
Segmentation fault using rsync client on Android device
...vvv --stats --progress -rdt rsync://192.168.1.205:12000 ``` I get this output: ``` opening tcp connection to 192.168.1.205 port 12000 Connected to 192.168.1.205 (192.168.1.205) Segmentation fault ``` Not much to go on. I tried running the same command via rsync in cygwin and it worked fine: ``` FILE_STRUCT_LEN=24, EXTRA_LEN=4 opening tcp connection to 192.168.1.205 port 12000 Connected to 192.168.1.205 (192.168.1.205) msg checking charset: UTF-8 sending daemon args: --server --sender -vvvvvvvvtre.iLsfxC . / (5 args) ziosk Ziosk Content Files ``` Can anyone help me understand why rsync is cras...
2011 Sep 13
1
protect rule prevents file sending when in merge filter file?
...r' to '-sr', and the sending side files are removed, which explains the behaviour seen. Whether it's a bug, could anyone suggest an alternative rule set which would allow us to achieve our goal here so we can work with 3.0.x rsync? Regards, Lassi (a) [client] add_rule(-r /x/***) FILE_STRUCT_LEN=24, EXTRA_LEN=4 cmd=<NULL> machine=<NULL> user=<NULL> path=/tmp/bbb/ cmd[0]=. cmd[1]=/tmp/bbb/ note: iconv_open("UTF-8", "UTF-8") succeeded. (Client) Protocol versions: remote=30, negotiated=30 (Server) Protocol versions: remote=30, negotiated=30 building file...
2019 Oct 31
0
rsync CLI protocol documentation
...s is the protocol version I have to answer with the remote protocol version for example, if I want to emulate protocol version 31: 1f 00 00 00 and then I need to send this 5 (magic) bytes: 3f 94 8b b4 5d after this the rsync client prints: (Client) Protocol versions: remote=31, negotiated=31 FILE_STRUCT_LEN=24, EXTRA_LEN=4 and then sends the file lists. Inside the bytes I receive server side I can read the file name but I need some docs on how to parse these bytes and what I need to expect. I would like to have some documentation about this protocol for rsync CLI, is this documented somewhere? F...
2007 Dec 19
1
3.0.0pre7 compiler warning on ia64
Any concerns with the compiler warning on flist.c on a ia64 system running SLES10SP1? ~/rsync-3.0.0pre7> make gcc -std=gnu99 -g -O2 -DHAVE_CONFIG_H -Wall -W -o mkrounding -I. ./ mkrounding.c ./mkrounding >rounding.h Rounding file_extras in multiples of 2 (EXTRA_LEN=4, FILE_STRUCT_LEN=24) gcc -std=gnu99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -c flist.c -o flist.o /tmp/ccqjJwNs.s: Assembler messages: /tmp/ccqjJwNs.s:2995: Warning: Use of 'mov' may violate WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 14 /tmp/ccqjJwNs.s:2993: Wa...
2017 Jul 28
2
Help - rsync runs from command line, fails from task scheduler, hangs at msg checking charset: UTF-8
.../administrator/.ssh/id_rsa\"" --stats --files-from=/cygdrive/d/WorkingDIr/c_from_file.dat -vvvvvvvv --exclude-from=/cygdrive/d/WorkingDIr/c_exc_file.dat / systemID at systemID.WebURL.com:/data/current/systemID/cygdrive/c > "D:\WorkingDIr\systemID.log" 2>&1Logging file:FILE_STRUCT_LEN=16, EXTRA_LEN=4cmd=ssh -p 31122 -i "/cygdrive/c/Users/administrator/.ssh/id_rsa" machine=systemID.WebURL.com user=systemID path=/data/current/systemID/cygdrive/ccmd[0]=ssh cmd[1]=-p cmd[2]=31122 cmd[3]=-i cmd[4]=/cygdrive/c/Users/administrator/.ssh/id_rsa cmd[5]=-l cmd[6]=systemID cmd[7]=...
2007 Dec 02
3
rsync hangs when accessing through SSH (Leopard OS X)
To preface, I'm running Leopard OSX and am using rsync version 2.6.9 protocol version 29. Whenever I attempt to sync (using rsync obviously) a folder on my local drive to my web server (netfirms.com is my web host) using SSH, the process hangs. I have to force kill it in order to continue using Terminal. I can connect to my server space using SSH just fine by itself, and I ran
2016 Feb 16
2
BackupPC using rsync fails with "protocol version mismatch -- is your shell clean?"
.../usr/bin/ssh -q -x -l backup-user 192.168.10.20 /usr/local/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . /home/backup-user/test Adding some verbose to the rsync command sent to the client, it says: FILE_STRUCT_LEN=24, EXTRA_LEN=4 (Server) Protocol versions: remote=168430090, negotiated=31 ########################### Notice the remote protocol version protocol version mismatch -- is your shell clean? (see the rsync man page for an explanation) [sender] _exit_cleanup(code=2, file=compat.c, line=178): entered...
2009 Aug 17
1
rsync: connection unexpectedly closed
...is error and what are the potential causes for it, things to check, etc? C:\CMS\PageGenerator>rsync -avc --delete -vvvvv -e "ssh.exe -i C:\cms\PageGenera tor\qa_rsa" \\cagecfsu1.saifg.rbc.com\YCM0\InternalCache\test_aug17 nasadmin at 10 .243.101.218:/cygdrive/g/EWCMS_SYNC/test_aug17/ FILE_STRUCT_LEN=16, EXTRA_LEN=4 cmd=ssh.exe -i C:\cms\PageGenerator\qa_rsa machine=10.243.101.218 user=nasadmin path=/cygdrive/g/EWCMS_SYNC/test_aug17/ cmd[0]=ssh.exe cmd[1]=-i cmd[2]=C:\cms\PageGenerator\qa_rsa cmd[3]=-l cmd[4]=nas admin cmd[5]=10.243.101.218 cmd[6]=rsync cmd[7]=--server cmd[8]=-vvvvvvlogDtprce ....
2016 Feb 16
0
BackupPC using rsync fails with "protocol version mismatch -- is your shell clean?"
...68.10.20 > /usr/local/bin/rsync --server --sender --numeric-ids --perms > --owner --group -D --links --hard-links --times --block-size=2048 > --recursive --ignore-times . /home/backup-user/test > > Adding some verbose to the rsync command sent to the client, it > says: > > FILE_STRUCT_LEN=24, EXTRA_LEN=4 > > (Server) Protocol versions: remote=168430090, negotiated=31 > ########################### Notice the remote protocol version > protocol version mismatch -- is your shell clean? (see the rsync > man page for an explanation) [sender] _exit_cleanup(code=2, > fi...
2007 Oct 17
3
DO NOT REPLY [Bug 5022] New: FreeBSD 4.11 - Compilation Fails - uidlist.c - gcc2 / gcc3
...rsion, compilation fails at uidlist.c. I tried both gcc versions, and they both fail at the same point. gcc version 2.95.4 20020320 [FreeBSD] gcc -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -o mkrounding -I. ./mkrounding.c ./mkrounding >rounding.h No rounding needed for file_extras (EXTRA_LEN=4, FILE_STRUCT_LEN=16) gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c flist.c -o flist.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c rsync.c -o rsync.o rsync.c: In function `read_ndx_and_attrs': rsync.c:215: warning: `flist' might be used uninitialized in this function rsync.c: In funct...
2015 Oct 24
15
[Bug 11572] New: rsync --debug doesn't work, and gives erroneous results when taken out
...activism drwxr-xr-x. 20 john john 4096 Oct 24 12:41 food drwxr-xr-x. 7 john john 4096 Oct 24 12:45 .. ------------------------------------------------- // // debug on // // /////////////////////////////////////////////////// [john at johnsplace Downloads]$ rsync -rav --debug 2015 delete_me/ FILE_STRUCT_LEN=24, EXTRA_LEN=4 cmd=<NULL> machine=<NULL> user=<NULL> path=. cmd[0]=. cmd[1]=. msg checking charset: UTF-8 [sender] safe_read(5)=4 (Client) Protocol versions: remote=31, negotiated=31 [Receiver] safe_read(0)=4 (Server) Protocol versions: remote=31, negotiated=31 [sender] safe_read...