Re: rsync 2.6.2 --daemon Problem

2004-05-05 Thread Paul Slootman
On Tue 04 May 2004, Gregory Symons wrote: I've got the exact same problem here. For me at least,it appears that rsync is trying to bind to the same address twice. Below is an excerpt from 'strace rsync --daemon': [snip] I haven't really done any network programming, so I'm not exactly

Bad address error

2004-05-05 Thread Sean M. Kaiser
I'm getting a bad address error which is causing my rsync process to bomb out. I'm running RsyncX 2.1, in daemon mode on the source machine, with a script to pull the information to the backup server. Both servers are Xserves running OS X Server 10.2.8. Rsync target is on an Xserve RAID. The

Re: Bad address error

2004-05-05 Thread Kevin Alexander Boyd
RsyncX questions should be sent to: [EMAIL PROTECTED] Kevin Boyd OS X Deployment Coordinator Sys Adm UMIT Contract Services On Wed, 5 May 2004, Sean M. Kaiser wrote: Date: Wed, 05 May 2004 08:10:59 -0400 From: Sean M. Kaiser [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Bad address

Re: [PATCH] fix read-batch SEGFAULT [WAS: --write-batch just hangs?]

2004-05-05 Thread Wayne Davison
On Tue, May 04, 2004 at 08:14:22PM -0400, Chris Shoemaker wrote: this patch does allow me to read a batch written locally. Thanks, that insight makes a batch test I tried with 2.5.7 finally work (i.e. I explicitly specify --no-whole-file in the options), so this bug has been around for quite

Re: rsync 2.6.2 --daemon Problem

2004-05-05 Thread Wayne Davison
On Tue, May 04, 2004 at 09:25:17PM +0200, Martin Kjeldsen wrote: 2004/05/04 21:15:10 [22369] rsyncd version 2.6.2 starting, listening on port 873 2004/05/04 21:15:10 [22369] rsync error: error in socket IO (code 10) at socket.c(466) Rsync 2.6.2 now tries to listen on multiple interfaces, e.g.

rsync and Perl programming

2004-05-05 Thread Jim Salter
Hi everybody - I'm trying to write a Perl wrapper for some rsync tasks that need doing. Problem is, there's some sort of odd interaction going on between Perl and the daemon mode communication for the rsync client, and I'm at my wit's end in trying to figure it out. Here's the Perl script:

Re: rsync and Perl programming

2004-05-05 Thread Jim Salter
I just checked, and if it helps anybody any, the exact same thing happens if I use backticks instead of opening a filehandle to fire off rsync from within the Perl script. I know I COULD write a Bourne wrapper and run THAT from Perl - I've been using Bourne scripts from day one to automate my

Re: rsync and Perl programming

2004-05-05 Thread Jim Salter
BINGO. Unintended interpolation of the @localhost as an array instead of as a literal string. Thanks Brian! Jim Salter JRS Systems Brian Cross wrote: Jim, No idea's off hand, but set the -w debug option at the top of the script and see if it gives you more information regarding the error.

Re: rsync and Perl programming

2004-05-05 Thread Tom Allen
You didn't escape your @localhost, for one. Try $rsync_cmd = 'blah blah blah'; instead. -- Tom Allen Email: [EMAIL PROTECTED] Senior Open Systems EngineerPhone: 904-220-3627 10East Corp FAX: 904-384-1038 On Wed, 5 May 2004, Jim Salter wrote: Hi

Re: rsync 2.6.2 --daemon Problem

2004-05-05 Thread Gregory Symons
On Wed, 2004-05-05 at 04:02, Paul Slootman wrote: [snip] I haven't really done any network programming, so I'm not exactly sure what's going on in this section of the code, but it looks like rsync tries to set a flag on the IPV6 socket indicating that its only to be used for IPV6. In

Compiling 2.6.2 on Solaris 9 fails

2004-05-05 Thread John Martinez
Went through some of the archives, but couldn't find any answers to this. I'm trying to compile the latest rsync on Solaris 9 SPARC. I'm using gcc 2.95.3 supplied by Sun on the Companion CD. I get the following error: sun gmake gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -c rsync.c -o

Re: Compiling 2.6.2 on Solaris 9 fails

2004-05-05 Thread Albert Chin
On Wed, May 05, 2004 at 11:59:30AM -0700, John Martinez wrote: Went through some of the archives, but couldn't find any answers to this. I'm trying to compile the latest rsync on Solaris 9 SPARC. I'm using gcc 2.95.3 supplied by Sun on the Companion CD. I get the following error:

Re: rsync 2.6.2 --daemon Problem

2004-05-05 Thread Jan-Benedict Glaw
On Wed, 2004-05-05 14:44:49 -0400, Gregory Symons [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]: On Wed, 2004-05-05 at 04:02, Paul Slootman wrote: But in Linux, IPV6_V6ONLY socket option does not exist in kernel2.4.20 or earlier, except for USAGI kernels. Therefore, you can't do a

Re: rsync 2.6.2 --daemon Problem

2004-05-05 Thread Gregory Symons
On Wed, 2004-05-05 at 15:49, Jan-Benedict Glaw wrote: On Wed, 2004-05-05 14:44:49 -0400, Gregory Symons [EMAIL PROTECTED] [snip] And I am indeed running a 2.4.20 kernel. So maybe the configure script needs to detect whether or not this flag is actually available (which I thought was the

Re: rsync 2.6.2 --daemon Problem

2004-05-05 Thread Paul Slootman
On Wed 05 May 2004, Jan-Benedict Glaw wrote: Runtime check? Right. Think about distributions that offer both 2.4.x and 2.6.x. For sure you won't like to deliver two rsync versions to your users:) ...and because IPV6_V6ONLY exists in 2.4.21 upwards, I think that's not a major problem. Hey,

Re: rsync and Perl programming

2004-05-05 Thread Chuck Wolber
On Wed, 5 May 2004, Jim Salter wrote: Hi everybody - I'm trying to write a Perl wrapper for some rsync tasks that need doing. Problem is, there's some sort of odd interaction going on between Perl and the daemon mode communication for the rsync client, and I'm at my wit's end in trying

Re: Compiling 2.6.2 on Solaris 9 fails

2004-05-05 Thread John Martinez
On May 5, 2004, at 12:13 PM, Albert Chin wrote: Works fine with the Sun C compiler. Is your 2.95.3 build specifically for Solaris 9? GCC include files are specific to the platform it was built on. Thanks for replying. I installed GCC 3.3.3 from Blastwave and the compile worked. -john -- To

Error rsync 2.6.2 Solaris 9 over Sun SSH

2004-05-05 Thread John Martinez
Hello, I'm using Sun SSH on Solaris 9 and am getting the following error when using rsync over ssh: wrote 91628 bytes read 116 bytes 16680.73 bytes/sec total size is 293287825 speedup is 3196.81 rsync error: unexplained error (code 255) at main.c(633) The command I am using is: rsync -e ssh

Feature Request: Authentication enhancement

2004-05-05 Thread Razvan Popovici
Rsync works great, but for many network administrators it is difficult to manage a secondary user database to secure the rsync paths. The proposal is to develop an option for the rsync (daemon and client) so they can load some security modules developed as dynamic libraries. This approach

Re: Extra warnings now in 2.6.2

2004-05-05 Thread Stuart Inglis
Hi Wayne, Thanks for the rapid fix. That looks like it mostly fixed it. I was getting 100's and 100's of mkdir warnings. Now I only get a single warning. The directory was a CVS directory but I doubt that matters. Maybe there is another case you missed? cheers Stuart On Tue, May 04, 2004 at

coder wanted

2004-05-05 Thread Web Hosting Network
Hi I am using Rsync locally on some machines, however, there are a few machines that require me to backup over FTP, the current system I have in place is very very slow, and I would like to hire someone on this list familiar with backups ($50 sound fine?) and having it run of cron To create me

RE: coder wanted

2004-05-05 Thread Lets Fly Hosting
(not sure if this went though the 1st time...sorry if double) Hi I am using Rsync locally on some machines, however, there are a few machines that require me to backup over FTP, the current system I have in place is very very slow, and I would like to hire someone on this list familiar with

Re: Error rsync 2.6.2 Solaris 9 over Sun SSH

2004-05-05 Thread Wayne Davison
On Wed, May 05, 2004 at 03:45:55PM -0700, John Martinez wrote: wrote 91628 bytes read 116 bytes 16680.73 bytes/sec total size is 293287825 speedup is 3196.81 rsync error: unexplained error (code 255) at main.c(633) When ssh exits, it returns an exit code. Rsync reads the code, and returns

Re: Error rsync 2.6.2 Solaris 9 over Sun SSH

2004-05-05 Thread John Martinez
On May 5, 2004, at 8:53 PM, Wayne Davison wrote: ssh host uptime ; echo $? Thanks, I'll check that out. -john -- 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

2004-05-05 Thread Wayne Davison
Date: Wed May 5 17:15:03 2004 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv5841 Modified Files: generator.c Log Message: Added missing extern for read_batch. Revisions: generator.c 1.80 = 1.81