I'm new to rsync and I'm trying to use rsync-2.4.6 to sync web content
between 2 AIX (4.3.3.0) boxes (from SERVERA to SERVERB).

I've gone through the man pages for rsync and rsyncd.conf, searched the web
site and browsed several months worth of the mailing list, but I still
can't figure out which end is up.

I've had rsync working successfully on a small scale replicate some test
directories (100+ files in 10 directories).

Now that I'm trying to run rsync to replicate 32000+ at once, I'm having
several problems.

I initiate rsync with the following script from SERVERA:
   ==> cat /opt/rysnc/sync.sh
   /opt/rsync/rsync --rsh=/usr/bin/rsh --rsync-path=/opt/rsync/rsync
   --delete --timeout=0 --progress --verbose
   --exclude-from=/opt/rsync/exclude.dat --delete-excluded --recursive
   --links --hard-links --perms --owner --group --times /www/www.xyz.com/
   SERVERB:/www/www.xyz.com
   ==>

My /opt/rsync/exclude.dat file is as follows:
   ==>cat exclude.dat
   - /logs/
   - /logs/*
   ==>

1)  Running rsync as root, rsync appears to hang, as follows.
   ==>./sync.sh
   building file list ... done
   ^C
   ==>

Sometimes the rsync ends with an error message (but I haven't found any
reference to all of the various error codes and what they mean. Can someone
point me in the right direction?)

2) How do I configure logging correctly?

I initiate rsync as a daemon on SERVERB as follows:
   ==> /opt/rsync/rsync --daemon

I have the rsyncd.conf on SERVERB as follows:
   ==>cat /etc/rsyncd.conf
   # /etc/rsyncd.conf
   log file = /var/adm/rsync.log
   use chroot = no
   max connections = 1
   pid file = /etc/rsync.pid
   transfer logging = true
   [www]
           path = /www
           comment = WWW Content
           strict modes = true
   root@SERVERB:/
   ==>

My /etc/syslog.conf contains the following line:
   daemon.debug,info,notice              /var/adm/rsync.log

The only thing that appears in this log is:
   ==>tail -f /var/adm/rsync.log
   2001/06/14 14:49:57 [30764] rsyncd version 2.4.6 starting
   2001/06/14 16:08:44 [29374] rsyncd version 2.4.6 starting

3) Wouldn't a search engine for the mailing list archives be a valuable
addition?   Especilly for newbies like myself?


Thanks in advance,

Peter Bellamy
UNIX Systems Administrator
The Chubb Group of Insurance Companies


Reply via email to