Anand Gupta wrote:
>
> I tried to add a linux client today to my test environment and this is
> what i get in the logs
>
> Contents of file /backup/backups/pc/172.20.0.3/XferLOG.bad.z, modified
> 2008-12-24 00:44:07 (Extracting only Errors)
>
> full backup started for directory /
> Running: /usr/bin/ssh -p 11000 -q -x -l root 172.20.0.3 /usr/bin/rsync
> --server --sender --numeric-ids --perms --owner --group -D --links
> --hard-links --times --block-size=2048 --recursive --ignore-times . /
> Xfer PIDs are now 1373
> Read EOF: Connection reset by peer
> Tried again: got 0 bytes
> Done: 0 files, 0 bytes
> Got fatal error during xfer (Unable to read 4 bytes)
> Backup aborted (Unable to read 4 bytes)
This usually means your ssh keys are not set up correctly.
> On the console, i switched to backuppc user, and then ran the above
> command without any errors.
>
> /usr/bin/ssh -p 11000 -q -x -l root 172.20.0.3 /usr/bin/rsync --server
> --sender --numeric-ids --perms --owner --group -D --links --hard-links
> --times --block-size=2048 --recursive --ignore-times . /
Did this start transferring files without asking for a password? If so,
that would indicate that your keys are correct. I usually just test
with something like:
ssh -lroot 172.0.0.3 id
to see if it completes without a prompt. If that works, check anything
that might be different about the server's environment than the way you
are testing.
--
Les Mikesell
[email protected]
------------------------------------------------------------------------------
_______________________________________________
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/