logo       

Re: quoted string: msg#00006

sysutils.backup.rsnapshot.general

Subject: Re: quoted string

On Fri, Jun 16, 2006 at 11:53:24AM +1000, Nick wrote:
> > push( @rsync_long_args_stack, "--rsh=$config_vars{'cmd_ssh'} $ssh_args"
> > );
> > which should read:
> > push( @rsync_long_args_stack, "--rsh='$config_vars{'cmd_ssh'}
> > $ssh_args'" );
> >
> > Note the extra quotes in the string. Can you try that and let me know
> > if it works?
> Only one small problem, running from a shell (as apposed to cron) doesn't
> work anymore as it doesn't want the single quotes:
> [root@apollo ~]# rsnapshot hourly
> rsync: Failed to exec '/usr/bin/ssh: No such file or directory (2)
> rsync error: error in IPC code (code 14) at pipe.c(83)
> rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown"
> [receiver]: Broken pipe (32)
> rsync error: error in rsync protocol data stream (code 12) at io.c(909)

Well, that makes no sense to me whatsoever! Anyone have any brilliant
ideas?

--
header FROM_DAVID_CANTRELL From =~ /david.cantrell/i
describe FROM_DAVID_CANTRELL Message is from David Cantrell
score FROM_DAVID_CANTRELL 15.72 # This figure from experimentation

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise