questions about "connection refused"

tongw tongw at genomics.org.cn
Thu Aug 7 12:09:00 EST 2003


Dear all:
        I installed the rsync 2.5.4 in my two machine (192.168.1.30 and
192.168.1.120, 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 192.168.1.30::web ./backup-3000/
rsync: failed to connect to 192.168.1.30: Connection refused
rsync error: error in socket IO (code 10) at clientserver.c(89)

another try: 
>./bin/rsync -avz 192.168.1.30:/BGI/UCSC-mirror/bin/rsync-2.5.4/man
./backup-3000/
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 192.168.1.30 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/rsyncd.pid 
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 = 192.168.1.120

    Another question, when I initiate the rsync server in 192.168.1.30
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. 
                                                       tongw


============================================

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 genomics.org.cn
http://www.genomics.org.cn 
============================================





More information about the rsync mailing list