ERROR: chroot failed

tim.conway@philips.com
Mon, 08 Apr 2002 08:41:05 -0000

The first thing i'd look for is to make sure that
/home/brad/data/emailbackup already exists.  Every time i've had chroot
fail, it was an invalid path.
 Once a typo; once, i hadn't made the directory yet, and once, I didn't
have permission to cd to the directory as the user in the uid field.

Tim Conway
tim.conway@philips.com
303.682.4917
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn,
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970),
".\n" '
"There are some who call me.... Tim?"




"Brad" <rsyncuser@capstone.net.au>
Sent by: rsync-admin@lists.samba.org
04/07/2002 12:43 AM


        To:     "Rsync Mailing List" <rsync@lists.samba.org>
        cc:     (bcc: Tim Conway/LMT/SC/PHILIPS)
        Subject:        ERROR: chroot failed
        Classification:



I am trying to use rsync to transfer some directories from a RedHat 7.0
box
to a RedHat 7.1 rsync server via a cron job.

The cron command line:
00 00 * * *  /usr/local/bin/emailbackup > /tmp/backup.log 2>&1; mail
-s
"Rsync Backup Log" my@emailaddres < /tmp/backup.log

The 7.1 rsyncd.cond;
[home]
path = /home/brad/data/emailbackup
read only = no
uid = root
gid = root

The 7.0 client command:
rsync -avt /home homeserver::home

The emailed log file:
building file list ... done
home/brad/
home/brad/.bash_history
home/brad/Sent
home/brad/Trash
home/sales/
home/sales/Sent
home/sales/Trash
home/brad/
home/sales/
wrote 2890098 bytes  read 494604 bytes  9062.12 bytes/sec
total size is 1946474433  speedup is 575.08
@ERROR: chroot failed

Can anyone shed any light on this?

Regards,
Brad


--
To unsubscribe or change options:
http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html