BackupPC-users

Re: [BackupPC-users] Unable to read 4 bytes

2009-09-29 18:29:37
Subject: Re: [BackupPC-users] Unable to read 4 bytes
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 29 Sep 2009 17:25:52 -0500
Simone S. Santiago wrote:
> Hi,
> 
> I have the ssh keys working for rsync and so I know that is working 
> correctly, however, I get the Last error is "Unable to read 4 bytes".
> 
> My config host:
> 
>     $Conf{BackupFilesOnly} = {};
>     $Conf{XferMethod} = 'rsync';
>     $Conf{NmbLookupCmd} = '$nmbLookupPath -A $host';
>     $Conf{NmbLookupFindHostCmd} = '$nmbLookupPath $host';
>     $Conf{PingCmd} = '$pingPath -c 1 $host';
>     $Conf{RsyncClientCmd} = '$sshPath -q -x -l root $hostIP $rsyncPath
>     $argList+';
>     $Conf{RsyncClientPath} = '/usr/bin/rsync';
>     $Conf{CompressLevel} = '9';
> 
> Have anyone ever seen this problem before?

It is reported on the mail list fairly often, but usually turns out to 
be that the ssh keys were set up and tested as the root user on the 
backuppc server instead of the backuppc user, connecting as root to the 
target.  If you are sure you are running as the backuppc user, does
ssh -l root target_host id
complete without a password prompt?

-- 
   Les Mikesell
    lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>