Re: Rsync 2.5.6 - Configure problem on HP-UX 11.i
On Thu, Nov 13, 2003 at 08:23:49AM -0700, Hursch, Robert wrote: I received the following socket error when I try to run 'configure' on a new HP-UX 11.i server. (It works fine of HP-UX 11.0) Can anyone help with this error? checking for struct stat.st_rdev... yes checking for ino_t... yes checking for socklen_t... no checking for socklen_t equivalent... configure: error: Cannot find a type to use in place of socklen_t [/opt/rsync/rsync-2.5.6]$ You need to post the config.log snippet around this error. Info like the compiler you're using would help too. I don't have a problem on a machine here running 11i and using the HP C compiler. checking for socklen_t... yes -- albert chin ([EMAIL PROTECTED]) -- 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: IPv6 literal addresses on command line
On Thu, Nov 13, 2003 at 04:44:18AM -0800, cam wrote: Hello all, Can anyone give me a hint on how to specify an IPv6 address in an rsync address literal - the colon character is already used to seperate the host name from the remote directory AFAICT... I get, e.g. rsync -Cavb 3ffe:502:420:120::2:/home/cam/dev/proj 3ffe: Unknown host rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(150) Found some discussion of patches regarding IPv6 address-matching from about July so I went for the most recent CVS snapshot I could find (although to be honest and with only a superficial reading of the posts, the patches seemed to be related to matching addresses in some of the config files): rsync version 2.5.6cvs protocol version 26 Copyright (C) 1996-2002 by Andrew Tridgell and others http://rsync.samba.org/ Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles, IPv6, 64-bit system inums, 64-bit internal inums If you want current source you can either get it directly from cvs per the instructions or with rsync rsync://rsync.samba.org/ftp/unpacked/rsync Martin, can we either get the nightly snapshots working again (http://ftp.samba.org/ftp/rsync/nightly/) or get rid of them. Those are more than a year out of date predating the latest annointed release by about six months. This is worse than no CVS snapshots. ftp://rsync.samba.org/pub/rsync/cvsroot.tar.gz is even more out of date. -- J.W. SchultzPegasystems Technologies email address: [EMAIL PROTECTED] Remember Cernan and Schmitt -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Special files and Cygwin
Hi, I'm trying to use rsync to backup a linux filesystem to a windows server. I followed the hints that I found at http://www.tiarnan.phlegethon.org/rsyncntdoc.html to run rsync on windows, and it works quite well. The only problem I found is that windows is not able to backup linux special files (/dev/*). I don't know if the problem is in the way rsync has been compiled, or simply in the fact that mknod.exe is missing. What do you think about that? Has anyone tried it before? I could not find references on the mailing list archive or on the web. Thank you -- Pier Paolo Glave __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree -- 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: Using the rsync checksums for handling large logfiles.
On Fri, Nov 14, 2003 at 02:30:32PM +, Alun wrote: Here at Aber, we have around 30 unix and linux servers doing core services. Each one is maintaining its own logfiles and, for various reasons, we want to keep these on the servers' local disks, with each server having its own log rotation policy. We also have a box which acts as a central repository of logfiles. A script runs every 10 minutes on this box and pulls whatever's been appended to the logfile during the previous 10 minutes across to the log server. Ever considered using syslog, and sending all data to the central log server? Kurt -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
synchronisation in multiple directions.
We want to have the same files on multiple sites, of which one act as master. If the file changes on 1 site it should be moved to the master, and then from the master to the other sites. That part shouldn't be that hard to do, but what also should happen is that if a file is deleted or added on one site it should get removed or added on the sites too. And afaik, I can't currently do that with rsync. The only solution I can come up with is that you keep track in a file of what files you last got from the master. And if the slave now has a file more than it had last time, transfer it to the server. If it has a file less remove it on the server. Do you think this solution will work? Or are there better ways? Kurt -- 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: synchronisation in multiple directions.
On Fri, Nov 14, 2003 at 07:02:47PM +0100, Kurt Roeckx wrote: That part shouldn't be that hard to do, but what also should happen is that if a file is deleted or added on one site it should get removed or added on the sites too. And afaik, I can't currently do that with rsync. That's what unison is made to do -- it synchronizes changes between two systems (at a time), propagating changing in both directions. Using it you can either syncronize everyone to a master system, or you can use a daisy-chain in a circular run of multiple systems (e.g. A syncs with B, B syncs with C, C syncs with A). Unison uses the rsync algorithm to transfer its files, so it's network-efficient like rsync. Alternately, use a distributed file system, such as AFS or SFS. ..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
touch option for -c ?
Hi, I hope this hasn't been asked before ... I couldn't find it anyway. To the best of my knowledge, without the -c option rsync judges file differences based on date stamp and file size. This speeds things up of course but can be problematic when date stamps of two otherwise identical files are uncontrollable (say when they come from two different sources, such as installed from CD vs FTP). So -c is called for, right? Is there any way to have rsync syncronize the date stamps of the files on the destination host (even the ones that aren't changed) so that subsequent rsyncs can omit -c? Thanks, Rich -- 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 2.5.6 hanging
FYI - RHL 6.1 is no longer supported - from a Red Hat perspective that is :-( See the Red Hat Errata: Security Alerts, Bugfixes, and Enhancements page here http://www.redhat.com/apps/support/errata/ You may indeed get help here since this list is an rsync list. If I knew what your problem might be I'd try to help you myself, but I don't so hopefully someone else will chime in with some ideas for you to try. One question I do have is what version of rsync is running on the ftp server? Also, if you know the exact file it gets stuck on, how big is that file? -- Hardy Merrill Red Hat, Inc. Zachary Denison [EMAIL PROTECTED] wrote: I am using rsync 2.5.6 on redhat linux 6.1 with 1gb ram. What I would like to do is mirror a directory on the server to another server for backup purposes. The server is an ftp server and the main directory in question is 77GB consisting of 391000 subdirectories and files. when I run rsync with the following command: /usr/bin/rsync -av --rsh=ssh --stats --progress --rsync-path=/usr/bin/rsync --delete --force --exclude=logs/ /ftpfs/ 10.10.1.237:/ftpfs/ it starts to transmit some files and then gets stuck. Actually now it is stuck on one file and every time I run it it it freezes as it is transmitting the file: as in the example below: 196608 22% 629.92kB/s0:00:01 then it just hangs.. I have 1gb of ram in the machine so it shouldn't be a lack of memory issue. I would greatly appreciate any ideas. thank you.. Zach. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
--include=PATTERN not working!
Why does'nt this work? rsync -rvaz --include=*.lis --exclude='*' [EMAIL PROTECTED]:/path/ . receiving file list ... done client: nothing to do: perhaps you need to specify some filenames or the --recursive option? using: 2.5.4 protocol version 26 on hpux -- 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: touch option for -c ?
On Fri, Nov 14, 2003 at 02:15:03PM -0600, Rich Winkel wrote: Hi, I hope this hasn't been asked before ... I couldn't find it anyway. To the best of my knowledge, without the -c option rsync judges file differences based on date stamp and file size. This speeds things up of course but can be problematic when date stamps of two otherwise identical files are uncontrollable (say when they come from two different sources, such as installed from CD vs FTP). So -c is called for, right? Is there any way to have rsync syncronize the date stamps of the files on the destination host (even the ones that aren't changed) so that subsequent rsyncs can omit -c? --times which is part of -a -- J.W. SchultzPegasystems Technologies email address: [EMAIL PROTECTED] Remember Cernan and Schmitt -- 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: --include=PATTERN not working!
On Fri, Nov 14, 2003 at 10:02:56PM -, Haisam K. Ido wrote: Why does'nt this work? rsync -rvaz --include=*.lis --exclude='*' [EMAIL PROTECTED]:/path/ . receiving file list ... done client: nothing to do: perhaps you need to specify some filenames or the --recursive option? Looks like it is working perfectly. You ask it to only rsync file matching *.lis only if they are directly in the directory specified but not in any subdirs. There aren't any so there is nothing to do. -- J.W. SchultzPegasystems Technologies email address: [EMAIL PROTECTED] Remember Cernan and Schmitt -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html