作者Nt1 (用功点吧!)
看板Linux
标题[问题] Centos7 NFS server 无法连线
时间Tue Nov 4 11:27:44 2014
小弟之前都是用 rhel4 设定nfs, 今日架设一台 centos 7 的nfs时,一直无法成功,
client 错误讯息:
# showmount -e xxx.xxx.xxx.xxx
mount clntudp_create: RPC: Port mapper failure - RPC: Unable to receive
# rpcinfo -p xxx.xxx.xxx.xxx
rpcinfo: can't contact portmapper: RPC: Remote system error - No route to host
p.s clinet端可以正常mount其他的nfs server,就是这台不行
server端侦错步骤如下:
1. 把 selinux 关掉
2. 把 iptables 关掉
3. 把rpcbind重启: systemctl restart rpcbind
4. 把nfs重启: systemctl restart nfs
5. 确定 rpcbind 有起来 systemctl status rpcbind
6. 确定 nfs 有起来 systemctl status nfs
7. 看rpcinfo -p
program vers proto port service
100000 4 tcp 111 portmapper
....
100003 3 tcp 2049 nfs
请问版上的大大~还有什麽可能的情况吗..orz
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 125.227.139.198
※ 文章网址: http://webptt.com/cn.aspx?n=bbs/Linux/M.1415071666.A.F4B.html
※ 编辑: Nt1 (125.227.139.198), 11/04/2014 11:37:15
1F:→ justdoitmmo: 系统的另一套预设 firewall 有关吗 11/04 11:41
2F:→ justdoitmmo: systemctl disable firewalld.service 11/04 11:41
3F:→ Nt1: 可以了!!太感谢了!! 爬文都没爬到这一块,原来有两个firewall 11/04 11:54