rsync 에러
[root@localhost ~]# chkconfig rsync on // rsync 활성화
[root@localhost ~]# service xinetd restart // 슈퍼 데몬 xinetd 재시작
xinetd 를 정지 중: [ OK ]
xinetd (을)를 시작 중: [ OK ]
[root@localhost ~]#
[root@localhost ~]# telnet localhost 873 // 873포트 확인 완
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
@RSYNCD: 29
@ERROR: protocol startup error
Connection closed by foreign host.
[root@localhost ~]# mkdir /home/rsync // 다운받아 저장할 디렉토리를 /home/rsync로 생성
[root@localhost ~]# chmod 777 /home/rsync // 퍼미션 설정
[root@localhost ~]# rsync -avzr 192.168.126.128::home /home/rsync
위와 같이 rsync서버로부터 다운로드하여 저장할 디렉토리로 데이터를 동기화하려고 명령을 실행했는데. 다음과 같은 에러가 발생하네요.
-------------------------------------------------------------------------------------------
@ERROR: access denied to home from unknown (192.168.126.128)
rsync error: error starting client-server protocol (code 5) at main.c(1296) [receiver=2.6.8]
-------------------------------------------------------------------------------------------
[root@localhost ~]#
분명 rsync 설정 파일도 아무 이상이 없는거 같네요,
[root@localhost ~]# cat /etc/rsyncd.conf
[home]
path = /home
comment = CentOS-IA32
uid = nobody
gid = nobody
use chroot = yes
read only = yes
hosts allow = 192.168.100.32
max connections = 3
timeout 600
누구 아시는분 부탁드려요 ~
서버측의 /home
서버측의 /home 디렉토리의 접근 권한을 확인해 보셔야겠고
클라이언트가 192.168.100.32 가 맞는지도 (본문엔 없으니까) 다시 한번 확인해 보시고
"telnet localhost 873" 만으로 873번 포트를 확인했다고 할수는 없죠. localhost 니까 방화벽이 걸려있더라도 동작 안했을테고...
댓글 달기