Anyone, When attempting to use batch mode to update a second host by executing the .sh file I get: [root@sspfedweb batch]# ./obsession_0000.sh Batch file ./batch/obsession_0000.rsync_flist open error: No such file or directory rsync error: syntax or usage error (code 1) at batch.c(241) Can anyone tell me whatI'm doing wrong. I tar and gzip the batch directory and ftp to the target host. Then untar/gunzip the batch files and run the .sh file. -- Thanks, Dale Bohl dbohl@sgi.com SGI IS/MWOPS (715)-726-8406
On Mon, Mar 28, 2005 at 09:33:22AM -0600, Dale Bohl wrote:> [root@sspfedweb batch]# ./obsession_0000.sh > Batch file ./batch/obsession_0000.rsync_flist open error: No such file or directoryYou're in a different dir relative to the batch file when trying to read it than you were when creating it. So, either tweak the .sh file, or make your rsync run start out in the same relative dir that you were in when creating it. For instance, to use the batch you've currently created, do this: cd .. ./batch/obsession_0000.sh That assumes that the destination dir is absolute. If it is not, you can specify a different destination on the command-line to the script, or just edit the script to remove the "batch/" prefix from the batch name. ..wayne..
On Mon, Mar 28, 2005 at 09:33:22AM -0600, Dale Bohl wrote:> Batch file ./batch/obsession_0000.rsync_flist open error: No such file or directoryI missed this in my first reply (though I already told Dale this): the suffix, ".rsync_flist", indicates that rsync is an older version because it is trying to read the obsolete multi-file batch format that was only supported (though usually not well) by versions prior to 2.6.3. ..wayne..
Hello: Is there a way to skip unreadable files so rsync doesnt die? i have to rsync live filesystems and sometimes a file is open and blocked (outlook.pst) and rsync says: rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(229) instead of skipping it. I understand that --ignore-errors isnt what i need. I tried it anyway. Thank you Carlos Pantelides _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
Hi, On Mon, 28 Mar 2005, C. P. wrote:> Is there a way to skip unreadable files so rsync doesnt die? > > i have to rsync live filesystems and sometimes a file is open and blocked > (outlook.pst) and rsync says: > > rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(229) > > instead of skipping it. > > I understand that --ignore-errors isnt what i need. I tried it anyway.You have to do it on the server side, with ignore nonreadable = true in /etc/rsyncd.conf. Cheers -e -- Eberhard Moenkeberg (emoenke@gwdg.de, em@kki.org)