Dear all:
     In fact, even I add the user in the command, the rsync`s error is
still appearing:
>./bin/rsync -avz [EMAIL PROTECTED]:/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)

another try:
>./bin/rsync -avz [EMAIL PROTECTED]::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)

     How can I deal with such errors? thank you. 
                                                           tongw

>  -----Original Message-----
> From:         tongw [mailto:[EMAIL PROTECTED] 
> Sent: 2003年8月7日 10:09
> To:   '[EMAIL PROTECTED]'
> Subject:      questions about "connection refused"
> 
> 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 : [EMAIL PROTECTED]
> http://www.genomics.org.cn 
> ============================================
> 
> 
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to