질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

rsync 에러

작성자 정보

  • 박카스 작성
  • 작성일

컨텐츠 정보

본문

서버쪽

/etc/rsyncd.conf

[test]
path = /home/test
comment = test
uid = nobody
gid = nobody
use chroot = yes
read only = yes
hosts allow = xxx.xxx.xxx.2
max connections = 3
timeout = 600

-------------------------------------

/etc/xinetd.d/rsync

# default: off
# description: The rsync server is a good addition to an ftp server, as it
# allows crc checksumming etc.
service rsync
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/bin/rsync
server_args = --daemon
log_on_failure += USERID
}

-----------------------------------------

# nmap localhost

873/tcp open rsync



위와 같이 설정한후 클라이언트에서 아래와 같이하면 에러가 출력됩니다. :를 한개만 하고 하면
패스워드를 물어보고 입력하면 그다음에는 똑같은 에러가 출력됩니다. 틀린것이 없는 것 같은데..
에러가 발생되는군요.. 휴. 도저히 이유를 모르겠네요.. 혹시 아시는 분들 부탁드립니다.

참고로 양쪽다 페도라 코어 4이고 기본으로 설치된 rsync를 사용했습니다.

# rsync -avz xxx.xxx.xxx.1::test /home/test
@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)

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,437 명
  • 현재 강좌수 :  37,183 개
  • 현재 접속자 :  340 명