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

host name 관련

작성자 정보

  • 강대중 작성
  • 작성일

컨텐츠 정보

본문

AIX 4.3에 rsync를 이용 백업을 할려고 합니다.

rsync 설치
/etc/inetd.conf
rsync   stream  tcp6    nowait  root    /usr/local/rsync/bin/rsync rsyncd --daemon 등록

/etc/hosts.allow
ALL:ALL

/etc/rsyncd.conf

motd file = /etc/rsync.motd
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
max connections = 3
syslog facility = local3

[gjhost]
path = /home/kacoper
comment = gjhost
uid = nobody
gid = nobody
use chroot = yes
read only = yes
hosts allow = 211.xxx.xxx.xxx
timeout 600


실행
gjhost:/]/usr/local/rsync/bin/rsync -avz 211.xxx.xxx.xxx::gjhost/ /etc/backup
gjhost rsync server

@ERROR: access denied to gjhost from unknown (::ffff:211.xxx.xxx.xxx)
rsync error: error starting client-server protocol (code 5) at main.c(1171)

/var/log/rsyncd.log
2005/07/26 14:08:25 [41196] params.c:Parameter() - Ignoring badly formed line in configuration file: timeout 600
2005/07/26 14:08:25 [41196] forward name lookup for gjhost failed: Host not found
2005/07/26 14:08:25 [41196] rsync denied on module gjhost from unknown (::ffff:211.xxx.xxx.xxx)

gjhost:/etc]hostname 를 해보면
gjhost 라고 나옵니다.

rsync에서 Host를 찾지 못하는 이유를 알고 싶습니다.

테스트는 같은 서버내에서 했습니다.

관련자료

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

공지사항


뉴스광장


  • 현재 회원수 :  60,374 명
  • 현재 강좌수 :  37,047 개
  • 현재 접속자 :  316 명