Re: Re: rsync 2.6.2 hang (was rsync 2.6.2 crash)

2004-09-28 Thread Chuck Wolber
On Tue, 28 Sep 2004, jim wrote: > Hey, that's pretty funny. Actually, I would much prefer a Linux > environment, but I don't always get what I want. We are primarily a > Windows and HP-UX shop, so it's not so easy get the powers that be to > buy into a Linux box. Bummer, I feel your pain. As f

rsync and hard links

2004-09-28 Thread John
For those who saw my earlier posts regarding reliability and robustness, there were several problems; 1. rsync does not retry when there are transmission errors such as timeouts. I suggest it ought (as wget does): doing so would have enabled a clean recovery from the network problems we had. 2.

Re: rsync 2.6.2 hang (was rsync 2.6.2 crash)

2004-09-28 Thread John
jim wrote: Hey, that's pretty funny. Actually, I would much prefer a Linux environment, but I don't always get what I want. We are primarily a Windows and HP-UX shop, so it's not so easy get the powers that be to buy into a Linux box. In addition, I'm using several sets of in-house libraries for

Re: Re: rsync 2.6.2 hang (was rsync 2.6.2 crash)

2004-09-28 Thread jim
Hey, that's pretty funny. Actually, I would much prefer a Linux environment, but I don't always get what I want. We are primarily a Windows and HP-UX shop, so it's not so easy get the powers that be to buy into a Linux box. In addition, I'm using several sets of in-house libraries for this proje

refresh iso

2004-09-28 Thread Johan Sch
Hi, I downloaded a iso with wget . like .. wget -c http://cdimage.ubuntu.com/releases/warty/preview/warty-i386.iso Now I would like to update/refresh this iso with rsync . like .. rsync -avzP archive.ubuntulinux.org::cdimage/daily/current/warty-i386.iso /home/internet/warty-i386.iso When I try

Re: rsync 2.6.2 hang (was rsync 2.6.2 crash)

2004-09-28 Thread Chuck Wolber
On Tue, 28 Sep 2004, jim wrote: > OK, I set up a new PC with a fresh XP load to be my rsync server. Rsync > by itself seems to work fine (thank God. I'm going nuts.) > > I am still having problems when I throw ssh into the mix. At least now, > things don't crash, but they do hang. The file lis

Re: Why does rsync think my files are much bigger than they are ?

2004-09-28 Thread Peter Skipworth
Thanks - I'd compiled it myself with gcc 2.96 on a redhat 7.2 system, and tried reverting to the RedHat RPM and it works fine.Guess it's a compiler issue! Cheers, P Wayne Davison wrote: On Tue, Sep 28, 2004 at 03:47:09PM +1000, Peter Skipworth wrote: send_files mapped /IFX/llog/logs.109051.gz

[cygwin] Fwd: Updated: rsync-2.6.2-3

2004-09-28 Thread Lapo Luchini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Here goes the announcement of the 2.6.2-3 package for cygwin (available from cygwin's setup itself). If you wonder what "2.6.2-3" means, it's basically the third "cygwin package" that uses rsync-2.6.2 sources. This third attempt solves both the august

rsync 2.6.2 hang (was rsync 2.6.2 crash)

2004-09-28 Thread jim
OK, I set up a new PC with a fresh XP load to be my rsync server. Rsync by itself seems to work fine (thank God. I'm going nuts.) I am still having problems when I throw ssh into the mix. At least now, things don't crash, but they do hang. The file list gets build, the transfer starts and it get

Re: [Patch] rsync-2.6.2: Allow 'port = N' in rsyncd.conf

2004-09-28 Thread Demian M. Nave
Hi Wayne, Thanks for fixing the patch! I'll upgrade to the CVS source. Cheers, Demian [EMAIL PROTECTED]:01pm] Wayne Davison said (Re: Re: [Patch] rsync-2.6.2: Allow...: > On Tue, Sep 28, 2004 at 01:59:45PM -0400, Demian M. Nave wrote: > > If anyone is interested, the included patch to rsync-

Re: [Patch] rsync-2.6.2: Allow 'port = N' in rsyncd.conf

2004-09-28 Thread Wayne Davison
On Tue, Sep 28, 2004 at 01:59:45PM -0400, Demian M. Nave wrote: > If anyone is interested, the included patch to rsync-2.6.2 allows you to > specify the port number for an rsync server as a global option in > rsyncd.conf with 'port = ' (where is your favorite port number). I like this idea, so

[Patch] rsync-2.6.2: Allow 'port = N' in rsyncd.conf

2004-09-28 Thread Demian M. Nave
Hi, If anyone is interested, the included patch to rsync-2.6.2 allows you to specify the port number for an rsync server as a global option in rsyncd.conf with 'port = ' (where is your favorite port number). Note that this parameter only takes effect when the server is started, not when clie

Re: Extending --log-format

2004-09-28 Thread Wayne Davison
On Tue, Sep 28, 2004 at 11:42:54AM -0400, Christophe Kalt wrote: > i couldn't find anything in my various searches :-( It was surprisingly hard to google for due to him using the phrase "report options" for the idea. Here are the messages to which I was referring: http://lists.samba.org/archive/

Re: Truncated output from "rsync -e ssh ... 2>&1 | tee"

2004-09-28 Thread Wayne Davison
On Tue, Sep 28, 2004 at 04:10:13PM +, David Evers wrote: > rsync -e ssh -avn host:/path /local/path 2>&1 | tee LOG In my test I piped the output to "(sleep 10; tail)" to ensure a reproducable truncation. The attached patch fixes the problem by putting our stderr fd back into blocking I/O

Re: Ownership

2004-09-28 Thread Essyug
I just thought of something else that I should have thought of earlier: if you're using a chroot=yes setup for an rsync daemon, you must put the appropriate files into the chroot area for rsync to do any mapping of UIDs and GIDs (as explained in the man rsyncd.conf manpage). For instance, create a

Re: Ownership

2004-09-28 Thread Essyug
How can I check whether rsync uses /etc/nsswitch.conf or not? I'd suggest finding a Linux forum to ask that question (and first googling to see if the answer is already out there). I'd also suggest creating a simple test program that just tries to lookup "testuser" using getpwnam() (you could eas

Re: infinite loop in rsync daemon on Mac OSX

2004-09-28 Thread Wayne Davison
On Tue, Sep 28, 2004 at 11:43:40AM -0400, Anthony DiSante wrote: > rsync -avvv --delete --exclude /Volumes macbox::rootpath /mnt/bkup/macbox You need to also exclude this: --exclude=/dev/fd/ Otherwise the OS X filesystem has a loop back to the root dir, which causes rsync to keep scanning mo

Truncated output from "rsync -e ssh ... 2>&1 | tee"

2004-09-28 Thread David Evers
(Versions: OpenSSH_3.7.1p2, rsync version 2.6.2) I've just encountered a situation where "rsync -v -n" appears to run normally, but reports many fewer file transfers than actually get done when you remove the -n. (This is not one of the usual "-n" corner cases.) It turns out that this only happen

Re: Ownership

2004-09-28 Thread Wayne Davison
I just thought of something else that I should have thought of earlier: if you're using a chroot=yes setup for an rsync daemon, you must put the appropriate files into the chroot area for rsync to do any mapping of UIDs and GIDs (as explained in the man rsyncd.conf manpage). For instance, create a

Re: 2.6.2 rsync --daemon is not working for me

2004-09-28 Thread Wayne Davison
On Tue, Sep 21, 2004 at 12:37:55PM +0500, Sergey Golovin wrote: > I'm unable to write with remote rsync in daemon mode. The strace you included shows that it is the fork() call that is returning -1 (EAGAIN). So, you need to figure out why fork() isn't working -- e.g. what resource it thinks is "t

infinite loop in rsync daemon on Mac OSX

2004-09-28 Thread Anthony DiSante
Hello, I've got rsync --daemon running on an OSX machine, and I have it exporting the entire hard disk as [rootpath]. On my Linux machine, I run this: rsync -avvv --delete --exclude /Volumes macbox::rootpath /mnt/bkup/macbox I redirect the output from that command to a file (nohup.out), and then

Re: Extending --log-format

2004-09-28 Thread Christophe Kalt
On Sep 07, Wayne Davison wrote: | On Fri, Aug 27, 2004 at 10:56:06AM -0400, Christophe Kalt wrote: | > I'd like to extend rsync's --log-format to be more detailed | > and ultimately work in --dry-run mode. | | Something like this would indeed be nice, and it was something that J.W. | was going to

Re: Ownership

2004-09-28 Thread Wayne Davison
On Tue, Sep 28, 2004 at 05:15:55PM +0200, Essyug wrote: > How can I check whether rsync uses /etc/nsswitch.conf or not? I'd suggest finding a Linux forum to ask that question (and first googling to see if the answer is already out there). I'd also suggest creating a simple test program that just

Re: Ownership

2004-09-28 Thread Essyug
1. The receiving rsync isn't linked with the right library for getpwent() to find the name on that Linux system. This could indeed be the case, but I don't know how to check/solve this. I'm using nsswitch with winbind... /etc/nsswitch.conf: passwd: compat winbind group: compat wi

Re: rsync fails when syncing empty directories

2004-09-28 Thread Wayne Davison
On Tue, Sep 28, 2004 at 03:57:06PM +0200, Max Gilead wrote: > rsync -v --recursive --rsh="ssh" [EMAIL PROTECTED]:* dest_dir > receiving file list ... link_stat "/home/login/*" failed: No such file > or directory This isn't an rsync problem, this is a shell-induced problem due to you using a wildc

Re: Why does rsync think my files are much bigger than they are ?

2004-09-28 Thread Wayne Davison
On Tue, Sep 28, 2004 at 03:47:09PM +1000, Peter Skipworth wrote: > send_files mapped /IFX/llog/logs.109051.gz of size 17592186044416 This line comes directly from this code: rprintf(FINFO, "send_files mapped %s of size %.0f\n", safe_fname(fname), (double)st.st_size); The "st" variable is

Re: Ownership

2004-09-28 Thread Wayne Davison
On Tue, Sep 28, 2004 at 10:26:32AM +0200, Essyug wrote: > I really think it's on the rsync/cygwin side which probably > sends the numeric id instead of the name, or simply doesn't send the > name/uid map (although my user is known on this side, too). No, the test output you saw proves that is no

rsync fails when syncing empty directories

2004-09-28 Thread Max Gilead
I have a script which copies files from remote server to local filesystem and processes them locally. Files on remote server are cleaned periodically so that every once in a while the remote directory is empty just after old files are removed. If I run my script it fails with error mentioned below.

My testimonial about skuper viakgra

2004-09-28 Thread Murray Goodwin
I am truly enjoying my rebirth. No more excuses, no more frustration, no more having to solely satisfy my girlfriend orally. I just pop 10 mg, and before long, I am a sex machine. Now that I can get rock-hard again, my girlfriend can enjoy her favorite position: being on top, which is difficult fo

Re: Ownership

2004-09-28 Thread Essyug
Lookup of `testuser' failed Exactly as I expected. As long as there are no weird non-visible characters in that name (which I assume there are not), then you just need to figure out how to get the "testuser" into your defined users on the Linux box. (Try running something like "groups testuser"