°Ô½Ã¹° 259°Ç
   
[redhat6.7] NFS client ¿¡¼­ tcp wrapper ¸¦ »ç¿ëÇÒ¶§ - hosts.allow hosts.deny
±Û¾´ÀÌ : theko ³¯Â¥ : 2016-08-19 (±Ý) 21:31 Á¶È¸ : 9356

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