host name 관련
작성자 정보
- 강대중 작성
- 작성일
컨텐츠 정보
- 2,021 조회
- 0 추천
- 목록
본문
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를 찾지 못하는 이유를 알고 싶습니다.
테스트는 같은 서버내에서 했습니다.
관련자료
-
이전
-
다음