questions about "connection refused"

tongw tongw at
Thu Aug 7 12:09:00 EST 2003

Dear all:
        I installed the rsync 2.5.4 in my two machine ( and, both are AIX OS) to backup data each other. The
software`s installation is ok, and I can copy local files. But when I
try to backup data between two machines, there reports some errors: 

>./bin/rsync -avz ./backup-3000/
rsync: failed to connect to Connection refused
rsync error: error in socket IO (code 10) at clientserver.c(89)

another try: 
>./bin/rsync -avz
rshd: 0826-813 Permission is denied.
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(151)

    In fact, I have set up the rsyncd.conf file in the as
the following, I don`t know how to deal with the errors. 

uid = nobody
gid = nobody 
use chroot = no
max connections = 4 
pid file = /var/run/ 
lock file = /var/run/rsync.lock 
log file = /var/log/rsyncd.log 

[web] # just a test
path = /BGI/UCSC-mirror/bin/apache_1.3.27
comment = tmp backup directory
ignore errors
read only = yes 
list = no 
auth users = tongw 
secrets file = /etc/backserver.pas
hosts allow =

    Another question, when I initiate the rsync server in
by "rsync --daemon" command, the script is soon completed, no errors or
runing information. How can I know whether the "daemon" mode of rsync
has been initiated?

Really thanks.
Kind Regards. 


Wei Tong
Bioinformatics Department        
Beijing Genomics Institute/
Genomics & Bioinformatics Center Chinese Academy of Science

Beijing Airport Industrial Zone B6
Beijing 101300, P.R. China
Tel: 0086-10-80481433 (Office)  
Email : tongw at 

More information about the rsync mailing list