Re: no output from perl script

2002-04-22 Thread Harry Putnam
Robert Silge <[EMAIL PROTECTED]> writes: > You are quite right. I fixed that up, here is the current incarnation of the > script, but still no output revealed. > > Also if anyone who actually knows something about perl could tell me how to > have it reprint the first print command if a valid choi

Re: no output from perl script

2002-04-22 Thread Robert Silge
You are quite right. I fixed that up, here is the current incarnation of the script, but still no output revealed. Also if anyone who actually knows something about perl could tell me how to have it reprint the first print command if a valid choice is not entered that would be pretty slick. I cou

symlinks?

2002-04-22 Thread Dan Stromberg
I'm trying to switch to using rsync for updating a huge software library containing binaries, text files, symlinks, and so on. We've been using something homegrown which I'm not that happy with - it's a perl script that systems cp and chmod and such. The problem I'm seeing is: target computer:

RE: Future RSYNC enhancement/improvement suggestions

2002-04-22 Thread David Bolen
Martin Pool [[EMAIL PROTECTED]] writes: > No, I think you could avoid it, and also avoid the up-front traversal > of the tree, and possibly even do this while retaining some degree of > wire compatibility. It will be a fair bit of work. Yeah, I was sort of thinking bang for the buck - munging w

Re: Future RSYNC enhancement/improvement suggestions

2002-04-22 Thread Martin Pool
On 22 Apr 2002, David Bolen <[EMAIL PROTECTED]> wrote: > I don't suppose anyone knows any legacy reason why all the checksums > are computed and stored in memory before transmission do they? I > don't think at the time I could find any real requirement in the code > that it be done that way - th

RE: Future RSYNC enhancement/improvement suggestions

2002-04-22 Thread David Bolen
Martin Pool [[EMAIL PROTECTED]] writes: > I guess alternatively you could set the rsync timeout high, the > line-drop timeout low, and make it dial on demand. That would let the > line drop when rsync was really thinking hard, and it would come back > up as necessary. Losing the ppp channel doe

RE: Future RSYNC enhancement/improvement suggestions

2002-04-22 Thread David Bolen
(I wrote about long files using 20-30 min to checksum without network traffic) Jason Haar [[EMAIL PROTECTED]] writes: > ...But then you should have a dialup timeout of 1 hour set? Oh of course - I was more responding to Martin's comment about there being enough traffic present in general during

no output from perl script

2002-04-22 Thread Robert Silge
Here is the first Perl script I've tried to write to run rsync. It seems to work, but I don't see the progress like I should. I apologize if it's sloppy, I should add that it's not only the first perl script I've written for rsync, it's the first perl script I've written at all. _

Re: Future RSYNC enhancement/improvement suggestions

2002-04-22 Thread Martin Pool
On 23 Apr 2002, Jason Haar <[EMAIL PROTECTED]> wrote: > On Mon, Apr 22, 2002 at 01:01:13PM -0400, David Bolen wrote: > > Unless you have quite large files, in which case there can be a > > lengthy period (particularly if the file is being accessed across a > > local network) while checksums are co

Re: Future RSYNC enhancement/improvement suggestions

2002-04-22 Thread Jason Haar
On Mon, Apr 22, 2002 at 01:01:13PM -0400, David Bolen wrote: > Unless you have quite large files, in which case there can be a > lengthy period (particularly if the file is being accessed across a > local network) while checksums are computed where there is no traffic > at all. For a while (when

Re: Patch: update popt/ to 1.5.1

2002-04-22 Thread Jos Backus
On Mon, Apr 22, 2002 at 09:30:50AM -0701, Jos Backus wrote: > > Has someone from FreeBSD has already pushed the patch to the RedHat > > chaps? > > Not that I am aware of but I will; I'll also keep the FreeBSD port maintainer > in the loop. I have notified the popt maintainer of some problems I a

RE: memory requirements was RE: out of memory in build_hash_table

2002-04-22 Thread David Bolen
Granzow, Doug (NCI) [[EMAIL PROTECTED]] writes: > Hmm... I have a filesystem that contains 3,098,119 files. That's > 3,098,119 * 56 bytes or 173,494,664 bytes (about 165 MB). Allowing > for the exponential resizing we end up with space for 4,096,000 > files * 56 bytes = 218 MB. But 'top' tells

RE: Future RSYNC enhancement/improvement suggestions

2002-04-22 Thread David Bolen
Martin Pool [[EMAIL PROTECTED]] writes: > TCP connections don't timeout anyhow. Possibly a dial-on-demand line > or a firewall might drop the connection, but there should be enough > traffic that this is not a problem. Unless you have quite large files, in which case there can be a lengthy peri

RE: On Windows OS, is there any advantage for completing rsync using MSVC instead of gcc/cygwin ?

2002-04-22 Thread David Bolen
Diburim [[EMAIL PROTECTED]] writes: (Quoted from the subject line - Diburim, it's best to keep the subject line short and put your question in the body of the e-mail. Subject lines are often truncated for display purposes and it can make it more difficult to see your question) > On Windows OS,

memory requirements was RE: out of memory in build_hash_table

2002-04-22 Thread Granzow, Doug (NCI)
>The key growth factor for the file construction is going to be >per-file information that's about 56 bytes (last I looked) per file. >However, the kicker is that the file storage block gets resized >exponentially as you have more files. So for 385,000 files it'll >actually be a 512,000 file bloc

Re: Patch: update popt/ to 1.5.1

2002-04-22 Thread Jos Backus
On Mon, Apr 22, 2002 at 11:02:23PM +1000, Martin Pool wrote: > That looks fine. I do agree it's a bit hard to understand what you're > saying in the README. Yes. I'll improve on it before committing. > Has someone from FreeBSD has already pushed the patch to the RedHat > chaps? Not that I am a

Re: Fw: remote to remote sync

2002-04-22 Thread Sean O'Neill
>"dennis" <[EMAIL PROTECTED]> >Sent by: [EMAIL PROTECTED] >04/22/2002 05:37 AM > > To: <[EMAIL PROTECTED]> > cc: (bcc: Tim Conway/LMT/SC/PHILIPS) > Subject:Fw: remote to remote sync > Classification: > >I forgot to mention the error I keep getting w

Re: rsync under Mac OS X - advice/alternatives needed

2002-04-22 Thread Joseph Annino
This is a bit of an old message, but I haven't read the list in a while and it seems no one has replied. There are a few sync programs around for the Mac that can do remote syncs keeping track of the HFS+ stuff. They tend to be shareware. Look on versiontracker. An other option would be to run

Re: Fw: remote to remote sync

2002-04-22 Thread tim . conway
I'll let rsync itself answer your question: Note that in all cases (other than listing) at least one of the source and destination paths must be local. SunOS 5.7 Last change: 25 Jan

For the Error code 20 and 30

2002-04-22 Thread Charlot sur Prolectronic
Hi all, for my problem with the interrupted transfert, the code error is : 2002/04/22 08:50:49 [4248] reverse name lookup failed 2002/04/22 08:50:49 [4248] rsync to zen from unknown (213.221.129.85) 2002/04/22 09:01:36 [4248] transfer interrupted (code 30) at io.c(65) 2002/04/22 09:01:36 [4249]

Re: skipping non-regular file

2002-04-22 Thread Martin Pool
On 22 Apr 2002, Jean-Hugues BELPOIS <[EMAIL PROTECTED]> wrote: > > > #rsync --stats --compress --rsh=/usr/bin/ssh --recursive --times --perms --links >--delete /var/www 10.10.10.10::www-info-j > > > > If you're using a :: destination, then --rsh has no effect because ssh > > is not used. > > Yo

"invalid uid rsync" (was Re: rsync HELP!!!) (get a clue about writing Subject lines)

2002-04-22 Thread Martin Pool
On 22 Apr 2002, Sonu Singh <[EMAIL PROTECTED]> wrote: > i get the following error: > @ERROR: invalid uid rsync You probably have a line like uid = rsync in the server's rsyncd.conf, but there's no such user defined on the server. If you're using a chroot jail, then the passwd file inside th

rsync HELP!!!

2002-04-22 Thread Sonu Singh
I have installed n compliled rsync on my server station as well as clinet... my /etc/rsync.conf file seems to work fine... but when i try to move (copy) my data from the server to the client, like: rsync -avz host::www /home/sonu/test i get the following error: @ERROR: invalid uid rsync rsync:

Re: skipping non-regular file

2002-04-22 Thread Martin Pool
On 22 Apr 2002, Jean-Hugues BELPOIS <[EMAIL PROTECTED]> wrote: > Hello, > > When using rsync 2.4.6 on a linux machine to copy a complete web directory > (rescursively) on an other linux machine on my local network. > For one file I got : skipping non-regular file www/svg_mysql/mysql.sock > This f

Re: Patch: update popt/ to 1.5.1

2002-04-22 Thread Martin Pool
On 20 Apr 2002, Jos Backus <[EMAIL PROTECTED]> wrote: > This patch updates the files under popt/ to the latest vendor drop. The only > change is the inclusion of a FreeBSD-specific patch to popt.c. This is needed > in case somebody decides to build rsync on that platform without using the > port.

skipping non-regular file

2002-04-22 Thread Jean-Hugues BELPOIS
Hello, When using rsync 2.4.6 on a linux machine to copy a complete web directory (rescursively) on an other linux machine on my local network. For one file I got : skipping non-regular file www/svg_mysql/mysql.sock This file got the "s" flag set (and I suppose that is the problem). Anybody can t

Re: new beginner for synchronize

2002-04-22 Thread Martin Pool
On 22 Apr 2002, muzliani abd raman <[EMAIL PROTECTED]> wrote: > by the way, I'm a new user in synchronize, I've tried install > synchronize on linux, and running it, but I still confuse how to > configure the file, and what is the next step should I do. What is it that you want to do? Perhaps y

Re: remote to remote sync

2002-04-22 Thread Martin Pool
On 22 Apr 2002, dennis <[EMAIL PROTECTED]> wrote: > Hi all... > > Sorry if this has been covered before, I'm new to the list and couldn't find >anything in the archives. > Aside from the authentication issues, is it possible to run a rsync > cronjob from a local box that sync's two remotes boxes

Re: Future RSYNC enhancement/improvement suggestions

2002-04-22 Thread Martin Pool
On 22 Apr 2002, Jan Rafaj <[EMAIL PROTECTED]> wrote: > > > On Mon, 22 Apr 2002, Stefan Nehlsen wrote: > > > On Fri, Apr 19, 2002 at 12:23:06PM +0200, Jan Rafaj wrote: > > > > > - perhaps if the network connection between rsync client and server > > > stalls for some reason, implement somethin

Fw: remote to remote sync

2002-04-22 Thread dennis
> >Yes, I know, my question was about rsync... > >I'm not sure of the syntax to sync two remote boxes from localhost. > I don't think that's possible. > > But I'm interested in hearing? > > > Regards, > > Phil > > -- To unsubscribe or change options: http://lists.samba.org/mailman/lis

Fw: remote to remote sync

2002-04-22 Thread dennis
  I forgot to mention the error I keep getting with the below rsync script...   receiving file list ... donecannot create [EMAIL PROTECTED]:path/to/some/files...HjBwqT : No such file or directorywrote 32 bytes  read 192 bytes  149.33 bytes/sectotal size is 178  speedup is 0.79 All the files a

remote to remote sync

2002-04-22 Thread dennis
Hi all...   Sorry if this has been covered before, I'm new to the list and couldn't find anything in the archives. Aside from the authentication issues, is it possible to run a rsync cronjob from a local box that sync's two remotes boxes ?   ...something like...   rsync -avg -em ssh [EMAIL PR

Re: Future RSYNC enhancement/improvement suggestions

2002-04-22 Thread Stefan Nehlsen
On Fri, Apr 19, 2002 at 12:23:06PM +0200, Jan Rafaj wrote: > > Hello, > > Recently while working with rsync as the way to mirror large (several > GB) archive on a regular basis, I came across several problems, > and also got the ideas about their possible solutions > - please could you investiga

new beginner for synchronize

2002-04-22 Thread muzliani abd raman
Hai Everyone, Nice to meet you all, by the way, I'm a new user in synchronize, I've tried install synchronize on linux, and running it, but I still confuse how to configure the file, and what is the next step should I do. For everyone information, I just downloading the synchronize from the inte

Error code 20 and 30 on rsync

2002-04-22 Thread Charlot sur Prolectronic
Hello, I have installed rsync between several linux server and use rsync to backup data on one of this, all is very good working from the begin of this year, and now since the beginning of April, all connectiongive the same error, the synchronisation begin correctly and after some minutes error o