[問題] Centos7 NFS server 無法連線

看板Linux作者 (用功點吧!)時間9年前 (2014/11/04 11:27), 9年前編輯推噓0(003)
留言3則, 2人參與, 最新討論串1/1
小弟之前都是用 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://www.ptt.cc/bbs/Linux/M.1415071666.A.F4B.html ※ 編輯: Nt1 (125.227.139.198), 11/04/2014 11:37:15

11/04 11:41, , 1F
系統的另一套預設 firewall 有關嗎
11/04 11:41, 1F

11/04 11:41, , 2F
systemctl disable firewalld.service
11/04 11:41, 2F

11/04 11:54, , 3F
可以了!!太感謝了!! 爬文都沒爬到這一塊,原來有兩個firewall
11/04 11:54, 3F
文章代碼(AID): #1KM4UozB (Linux)