when doing a backup using rsyncd I recive this error:

Connected to 192.0.0.98:873, remote version 29
Error connecting to module home at 192.0.0.98:873: chdir failed
Got fatal error during xfer (chdir failed)
Backup aborted (chdir failed)

both server and client are Linux (ubuntu); I have read somewhere it is a 
permission problem, but I don't know how to make rsync run as root (I 
think this is the solution of the problem). My configuration files are:

=== SERVER ===
$Conf{XferMethod} = 'rsyncd';
$Conf{RsyncShareName} = ['home','etc'];
$Conf{XferLogLevel} = 1;
$Conf{ArchiveComp} = 'bzip2';
$Conf{CompressLevel} = 9;
$Conf{PingMaxMsec} = 200;

$Conf{RsyncdUserName}  = "user";
$Conf{RsyncdPasswd}    = "password1";

=== Client: rsyncd.conf ===
use chroot = false
max connections = 2
[home]
    uid = root
    gid = root
    path = "/home"
    comment = "Home"
    auth users = user
    secrets file = /etc/rsyncd.secrets
    hosts allow = 192.0.0.97
    strict modes = false
    read only = true
    list = false


Any hint? thanks a lot

-- 
Lluís Forns
Servei de Comunicació i Informàtica (MEGSJC-OSG)
Tlf: 93-5902700 C/e: [EMAIL PROTECTED]
http://www.escoltesiguies.cat


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to