rsync: connection unexpectedly closed (24 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(342)


이런 에러가 나면. 대부분..

다음의 이유가 있다.


  • The destination disk is full (remember that you need at least the size of the largest file that needs to be updated available in free disk space for the transfer to succeed).
  • An idle connection caused a router or remote-shell server to close the connection.
  • A network error caused the connection to be dropped.
  • The remote rsync executable wasn't found.
  • Your remote-shell setup isn't working right or isn't "clean" (i.e. it is sending spurious text to rsync)

    그리고, /var/log/messages 파일을 보고. 로그를 확인한다.


    remote 디렉토리가 없어도 위의 에러가 생기니. 디렉토리도 제대로 있는지 확인한다.

    Posted by '김용환'

    댓글을 달아 주세요