게시물 261건
   
[redhat6.7] NFS client 에서 tcp wrapper 를 사용할때 - hosts.allow hosts.deny
글쓴이 : theko 날짜 : 2016-08-19 (금) 21:31 조회 : 10301

1. 문제점 
> mount.nfs: rpc.statd is not running but is required for remote locking.  
> mount.nfs: Either use '-o nolock' to keep locks local, or start statd.  
> mount.nfs: an incorrect mount option was specified

-- 문제점이 데몬일거라 생각하고 레드햇 솔루션을 따라함
chmod 644 /etc/hosts.allow
chmod 644 /etc/hosts.deny
restorecon -v /etc/hosts*


iptables -F

# /etc/init.d/nfslock restart

# /etc/init.d/rpcbind restart

하지만 문제 해결이 안됨.......이유는 

2. 이유 

tcp wrapper를 사용하고있었던 것


3. 해결

vi /etc/hosts.allow

portmap: 192.168.0.1 , 192.168.0.2
(6버전 : rpcbind : 192.168.0.1 , 192.168.0.2)

// rpcbind 에 nfs 서버 IP + 본인(로컬)IP 및 127.0.0.1 도 넣어주면 됨...

lockd: 192.168.0.1 , 192.168.0.2
rquotad: 192.168.0.1 , 192.168.0.2
mountd: 192.168.0.1 , 192.168.0.2
statd: 192.168.0.1 , 192.168.0.2


결론은 안될때 방화벽을 모두 찾아 disabled 해놓고 하면 됨....


이름 패스워드
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com