rsync error: error

Posted by 주원이^^
2011. 2. 22. 11:17 리눅스/trouble shooting
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.

문제점

그리고 hosts allow 에 의한 error 로 의심이 되신다면 해당 내용을 주석처리해보세요.
hosts allow 설정이 없을 때는 모든 IP 에 대해 허용을 한다는 것이고, hosts allow 설정이 있을 때는 해당 IP 만 허용한다는 것입니다.
rsync 가 정상적으로 실행이 안되신다면
1. netstat -nlp 했을때 873번 포트가 활성화 되어 있는지 확인해보세요.
2. iptables -nL 했을때 873번 포트가 ACCEPT 되어 있는지 확인해보세요.
3. /etc/hosts.allow,/etc/hosts.deny 설정을 하신다면 /etc/hosts.allow 에 해당 IP 에대해 허용되어 있는지 확인해보세요

정안되실땐 #setenforce 0  실행.
---------------------

write failed on BackUpData/carpr2_public_html3/Dealer/image/program/pcanywhere10.zip : Success
rsync error: error in file IO (code 11) at receiver.c(243)                                   
rsync: connection unexpectedly closed (2034656 bytes read so far)                           
rsync error: error in rsync protocol data stream (code 12) at io.c(150)     
------------------> 용량이 다 차서 더이상 백업을 받지 못함.               

[root@CarPR root]# rsync -avz 211.224.128.142::photo /home1/photo/photo/
rsync: server sent "" rather than greeting
rsync error: error starting client-server protocol (code 5) at main.c(924)
------------------> 방화벽 점검... xinit에서 실행하므로 /etc/hosts.allow  /etc/hosts.deny 점검..

[root@CarPR root]# rsync -avz 211.224.128.142::photo /home1/photo/photo/
rsync: failed to connect to 211.224.128.142: Connection refused
rsync error: error in socket IO (code 10) at clientserver.c(97)
------------------> 방화벽에 설정확인

rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(515)
------------------>  데몬이 돌아가는지 또는 방화벽에 설정확인(hosts.allow)

@ERROR: chroot failed
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(420)
------------------>  해당디렉토리에 접근권한 확인,또는 경로가 잘못된 경우

출처: http://www.superuser.co.kr/blog/cura1016/index.php/5

'리눅스 > trouble shooting' 카테고리의 다른 글

network unreachable resolving  (1274) 2013.12.31
configure: error: OpenSSL Crypto headers not found.  (2046) 2012.04.14
yum 안될시  (57) 2012.02.02
configure: error: no acceptable C compiler found in $PATH  (373) 2011.02.18
/etc/fstab 복구.  (4640) 2011.02.17