RE: rsync-2.6.1pre-1 hang
The backtrace you cite looks to be impossible (nested calls to send_file_list() can't happen), so I assume that the list is not valid for some reason. I haven't seen such a hang as you describe. Have you delved into this any further? Well what I did after my last post was recompiling rsync with different optimisation options, and also with all the optimisations disabled (-O0). the directory tree that is being synchronised is a so-called gentoo linux's 'portage', consisting of lots of directories (~14k) and files (~68k), most of which are pretty small (5k) whats further interesting, that after todays update of the tree from the upstream server, all of the sudden i can not reproduce described behaviour anymore... is it possible that it was something in the tree causing rsync to act so weird ? regards, terry -- 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: Rsync Error..
Jim: first - glad to see you're able to reach the group again. Second: In later messages, he'd found and fixed true rsh - to where rsh remotehost which rsync returned /usr/local/bin/rsync, and still got the timeout on actual rsyncs. I sent an enormous number of possible outputs he could get and what they'd mean, and haven't heard back. I think that might have been late Friday. Tim Conway Unix System Administration Contractor - IBM Global Services desk:3032734776 [EMAIL PROTECTED] Tim already answered your question for you. Your remote system is not answering on port 514, only on port 513. See your OS's rsh man page for further details - this isn't really an rsync question, it's an rsh question. -- 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: Rsync Error..
Hello Tim, Sorry for the late response. I was out of town for weekend. Ok, first I tried rsync -e rsh --rsync-path=/usr/local/bin/rsync hostwithrsync:/etc/services I got the following the output: -rw-r--r-- 73490 2003/10/27 09.26.50 services ++ lrwxr-xr-x 15 2003/08/19 08:13:58 services + The file persmissions are different from what you mentioned. With three v's i got the following output: + Or like this, with three vs. + [EMAIL PROTECTED] /usr/local/admin/binrsync -vvv -e rsh --rsync-path=/usr/local/bin/rsync hostwithrsync:/etc/services opening connection using rsh hostwithrsync /usr/local/bin/rsync --server --sender -vvvr . /etc/services add_exclude(/*/*,exclude) add_exclude(/*/*,exclude) server_sender starting pid=6090 make_file(1,services) expand file_list to 4000 bytes, did move recv_file_name(services) received 1 names -rw-r--r-- 73490 2003/10/27 09.26.50 services recv_file_list done get_local_name count=1 generator starting pid=5968 count=1 delta transmission enabled generate_files phase=1 recv_files(1) starting send_file_list done send_files starting recv_files phase=1 generate_files phase=2 send_files phase=1 send files finished total: matches=0 tag_hits=0 false_alarms=0 data=0 recv_files finished wrote 24 bytes read 331 bytes 236.67 bytes/sec total size is 15 speedup is 0.40 _exit_cleanup(code=0, file=main.c, line=1045): about to call exit(0) [EMAIL PROTECTED] /usr/local/admin/bin So, I suppose the problem is not something related to rsync timeout. I really appreciate for your time and help. Thanks, Naveen. Hello, I uncommented shell in inetd.conf on the destination system. The command rsh 66.123.34.123 which rsync is working fine now . I get the output /usr/local/bin/rsync. But the command: rsync -avvznrbe rsh /sourcepath 66.123.34.123:/destinationpath Still does not work. I get the same error as i used to get before. opening connection using rsh 66.123.34.123 rsync --server -vvbnlogDtprz . /destinationpath 66.123.34.123: operation timed out rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(189) - Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25¢ -- 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: Rsync Error..
assuming you replaced hostwithrsync with 66.123.34.123, you're in. It's fine that your /etc/services is a symlink... the important thing is that you can see it with rsync over rsh. Use the rsync-path option, and enjoy the tool. Tim Conway Unix System Administration Contractor - IBM Global Services desk:3032734776 [EMAIL PROTECTED] Naveen Babu [EMAIL PROTECTED] 04/26/2004 09:05 AM To Tim Conway/Denver/Contr/[EMAIL PROTECTED] cc [EMAIL PROTECTED] Subject Re: Rsync Error.. Hello Tim, Sorry for the late response. I was out of town for weekend. Ok, first I tried rsync -e rsh --rsync-path=/usr/local/bin/rsync hostwithrsync:/etc/services I got the following the output: -rw-r--r-- 73490 2003/10/27 09.26.50 services ++ lrwxr-xr-x 15 2003/08/19 08:13:58 services + The file persmissions are different from what you mentioned. -- 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: Rsync Error..
In my case rsync -e rsh 66.123.34.123:/etc/services just works fine. I understand that now i dont have to use rsync-path. My whole purpose of using rsync is to backup a directory from source machine to destination machine. In order to accomplish that i gave the command at the source machine: rsync -aznrbe rsh /sourcepath 66.123.34.123:/destinationpath [[ which logically should work because rsync -e rsh 66.123.34.123:/etc/services works fine. ]] . But when i use the above command i get the errors i mentioned in my previous emails. I hope you got my problem. Thanks, Naveen. Tim Conway [EMAIL PROTECTED] wrote: I gave the example, and understood that you'd used it. If instead of rsync -e rsh --rsync-path=/usr/local/bin/rsync 66.123.34.123:/etc/services , you used rsync -e rsh 66.123.34.123:/etc/services and it worked, then you don't need the --rsync-path= option. If however, the second example above fails, and the first one works, that's what you need, and it contains the exact correct syntax for your use. Someone has done some really good work writing and formatting the man pages. These give more detail and explain much more precisely than I can. You might want to take a quick glance. - for instance, see below: SunOS 5.8 Last change: 26 Jan 2003 15 User Commands rsync(1) --rsync-path=PATH Use this to specify the path to the copy of rsync on the remote machine. Useful when it's not in your path. Note that this is the full path to the binary, not just the directory that the binary is in. Tim Conway Unix System Administration Contractor - IBM Global Services desk:3032734776 [EMAIL PROTECTED] Naveen Babu 04/26/2004 11:41 AM To Tim Conway/Denver/Contr/[EMAIL PROTECTED] cc [EMAIL PROTECTED] Subject Re: Rsync Error.. Tim Conway wrote: assuming you replaced hostwithrsync with 66.123.34.123, you're in. Yes, i replaced it with the ip address. I have a question about rsync-path option. The command I am giving at the source machine is: rsync -aznrbe rsh /sourcepath 66.123.34.123:/destinationpath Could you please tell me how to use rsync-path option for the above command. Thanks, Naveen. It's fine that your /etc/services is a symlink... the important thing is that you can see it with rsync over rsh. Use the rsync-path option, and enjoy the tool. Tim Conway Unix System Administration Contractor - IBM Global Services desk:3032734776 [EMAIL PROTECTED] Naveen Babu 04/26/2004 09:05 AM To Tim Conway/Denver/Contr/[EMAIL PROTECTED] cc [EMAIL PROTECTED] Subject Re: Rsync Error.. Hello Tim, Sorry for the late response. I was out of town for weekend. Ok, first I tried rsync -e rsh --rsync-path=/usr/local/bin/rsync hostwithrsync:/etc/services I got the following the output: -rw-r--r-- 73490 2003/10/27 09.26.50 services ++ lrwxr-xr-x 15 2003/08/19 08:13:58 services + The file persmiss! ions are different from what you mentioned. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25¢ -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html - Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25¢ -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
rsync error
does anyone use rsync as a backup server? i got the following error msg. please help building file list ... link_stat /mnt/nw/DATA2/POP/APPS : Input/Output error done delta transmission enabled total: matches=0 tag_hits=0 false_alarms=0 data=0 wrote 17 bytes read 20 bytes 2.74 bytes/sec total size is 0 speedup is 0.00 rsync error: partial transfer (code 23) at main.c(578) leo -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
newbie question about using rsync for backups
Hi all, I'm wanting to make weekly backups of host qin to host elijah. I set a crontab to run a script that effectually executes this rsync command: rsync -ave ssh --exclude-from=excludes.txt --delete / elijah:/home/backup/qin host qin is running gentoo linux with rsync version 2.5.6. host elijah is running debian linux (stable) with rsync version 2.5.7. the excludes.txt file looks like this: + /proc/ - /proc/* + /dev/shm/ - /dev/shm/* + /tmp/ + /mnt/ + /cdrom/ - **/tmp/* I pieced this together from bits I read in different emails in the list archives. Basically, I want to have a fully functional system should host qin suffer complete system failure by moving the entire directory structure back to a hard drive on qin. Since I'm new to rsync, can somebody tell me if I'm doing this right? I'd hate to find out that I wasn't making proper backups after the fact. -Ryan -- 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: [PATCH] --timelimit and --stopat
On Thu, Apr 22, 2004 at 04:20:07PM -0400, John Taylor wrote: Upon a suggestion to improve the --timelimit patch, I have also added a --stopat option. CVS now has an updated time-limit.diff patch in which I simplified the code quite a bit and tweaked the options a bit: [EMAIL PROTECTED]:MM This option allows you to specify at what time to stop rsync, in [EMAIL PROTECTED]:minute numeric format (e.g. [EMAIL PROTECTED]:59). --time-limit=TIME This option allows you to specify the maximum number of minutes rsync will run for. ..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
CVS update: rsync
Date: Tue Apr 27 01:00:58 2004 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv19894 Modified Files: exclude.c Log Message: Made a comment clearer. Revisions: exclude.c 1.73 = 1.74 http://www.samba.org/cgi-bin/cvsweb/rsync/exclude.c.diff?r1=1.73r2=1.74 ___ rsync-cvs mailing list [EMAIL PROTECTED] http://lists.samba.org/mailman/listinfo/rsync-cvs
CVS update: rsync
Date: Tue Apr 27 01:36:06 2004 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv28273 Modified Files: exclude.c Log Message: - Changed XFLG_NO_PREFIXES to XFLG_WORDS_ONLY. - Don't parse comment lines in add_exclude_file() when XFLG_WORD_SPLIT is set. Revisions: exclude.c 1.74 = 1.75 http://www.samba.org/cgi-bin/cvsweb/rsync/exclude.c.diff?r1=1.74r2=1.75 ___ rsync-cvs mailing list [EMAIL PROTECTED] http://lists.samba.org/mailman/listinfo/rsync-cvs
CVS update: rsync
Date: Tue Apr 27 01:36:16 2004 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv28307 Modified Files: rsync.h Log Message: - Changed XFLG_NO_PREFIXES to XFLG_WORDS_ONLY. - Got rid of HP-UX kludge (since it didn't help). Revisions: rsync.h 1.198 = 1.199 http://www.samba.org/cgi-bin/cvsweb/rsync/rsync.h.diff?r1=1.198r2=1.199 ___ rsync-cvs mailing list [EMAIL PROTECTED] http://lists.samba.org/mailman/listinfo/rsync-cvs
CVS update: rsync/patches
Date: Tue Apr 27 03:04:54 2004 Author: wayned Update of /data/cvs/rsync/patches In directory dp.samba.org:/tmp/cvs-serv16304 Modified Files: time-limit.diff Log Message: Took John's new patch (with the --stopat option) and created a much simplified version with the options slightly tweaked. Revisions: time-limit.diff 1.4 = 1.5 http://www.samba.org/cgi-bin/cvsweb/rsync/patches/time-limit.diff.diff?r1=1.4r2=1.5 ___ rsync-cvs mailing list [EMAIL PROTECTED] http://lists.samba.org/mailman/listinfo/rsync-cvs
CVS update: rsync/patches
Date: Tue Apr 27 03:05:35 2004 Author: wayned Update of /data/cvs/rsync/patches In directory dp.samba.org:/tmp/cvs-serv16949 Modified Files: merge-exclude-file.diff Log Message: Updated. Revisions: merge-exclude-file.diff 1.2 = 1.3 http://www.samba.org/cgi-bin/cvsweb/rsync/patches/merge-exclude-file.diff.diff?r1=1.2r2=1.3 ___ rsync-cvs mailing list [EMAIL PROTECTED] http://lists.samba.org/mailman/listinfo/rsync-cvs
CVS update: rsync
Date: Tue Apr 27 03:53:28 2004 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv26333 Modified Files: NEWS Log Message: - Tweaked the bullet char so that vim can auto-format the items more easily (and then used vim to re-flow the items). - Added a mention about the daemon security fix. - Added the 2.6.1 release date. Revisions: NEWS1.170 = 1.171 http://www.samba.org/cgi-bin/cvsweb/rsync/NEWS.diff?r1=1.170r2=1.171 ___ rsync-cvs mailing list [EMAIL PROTECTED] http://lists.samba.org/mailman/listinfo/rsync-cvs
CVS update: rsync/packaging/lsb
Date: Tue Apr 27 03:55:37 2004 Author: wayned Update of /data/cvs/rsync/packaging/lsb In directory dp.samba.org:/tmp/cvs-serv27645/packaging/lsb Modified Files: rsync.spec Log Message: Preparing for release of 2.6.1 Revisions: rsync.spec 1.12 = 1.13 http://www.samba.org/cgi-bin/cvsweb/rsync/packaging/lsb/rsync.spec.diff?r1=1.12r2=1.13 ___ rsync-cvs mailing list [EMAIL PROTECTED] http://lists.samba.org/mailman/listinfo/rsync-cvs