Me again.

I'm running BackupPC 3.1 on CentOS 5. Most of my clients have rsync
in /usr/local/bin/rsync but some of them have it in /usr/bin/rsync.

My server config.pl has
--
# Path to rsync executable on the client
#
$Conf{RsyncClientPath} = '/usr/local/bin/rsync';
#        $rsyncPath      same as $Conf{RsyncClientPath}
--

My client config file has (in this order)
--
$Conf{RsyncClientCmd} = '$sshPath -q -x -l willard $host $rsyncPath $argList+';
$Conf{RsyncClientPath} = '/usr/bin/rsync';
--

When I try to do a full backup I get the following error:

Running: /usr/bin/ssh -q -x -l willard hydro.cchem.berkeley.edu 
/usr/local/bin/rsync --server 
--sender --numeric-ids --perms --owner --group -D --links --hard-links --times 
--block-size=2048 
--recursive --checksum-seed=32761 --ignore-times . /Users/willard/
Xfer PIDs are now 14403
Got remote protocol 1752392034
Fatal error (bad version): bash: /usr/local/bin/rsync: No such file or directory

I don't understand why /usr/local/bin/rsync is being used instead of
/usr/bin/rsync. The client config file clearly has the correct location
of rsync. As the comment in the server config file says, "$rsyncPath [is the]
same as $Conf{RsyncClientPath}".

What am I doing wrong? Why isn't /usr/bin/rsync getting run?

Cordially,
-- 
Jon Forrest
Unix Computing Support
College of Chemistry
173 Tan Hall
University of California Berkeley
Berkeley, CA
94720-1460
510-643-1032
[EMAIL PROTECTED]

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to