FREEBSD 7.0架設NFS - BBS

Table of Contents

※ 引述《bilibala ()》之銘言:
: ※ 引述《killzane (Jin)》之銘言:
: : 我在A機器上架設了NFS伺服器
: [deleted]
: : 我得到的結果是
: : [udp] A_host:/usr/home/killzane: RPCPROG_NFS: RPC: Program not registered
: [deleted]
: : 我估狗
: : RPCPROG_NFS: RPC: Program not registered
: : 也沒有能解的解答
: : 不知道有大大能幫解嗎?
: google 找 RPCPROG_NFS: RPC: Program not registered,第一篇是中文的
: 且明確告訴你用 rpcinfo [NFS_Server_IP] 來解決,你嘗試了嗎?

這我有在CLIENT端看過

RPCbind,mountd,nfs都有

以下是內容

program version netid address service owner
100000 4 tcp 0.0.0.0.0.111 rpcbind superuser
100000 3 tcp 0.0.0.0.0.111 rpcbind superuser
100000 2 tcp 0.0.0.0.0.111 rpcbind superuser
100000 4 udp 0.0.0.0.0.111 rpcbind superuser
100000 3 udp 0.0.0.0.0.111 rpcbind superuser
100000 2 udp 0.0.0.0.0.111 rpcbind superuser
100000 4 tcp6 ::.0.111 rpcbind superuser
100000 3 tcp6 ::.0.111 rpcbind superuser
100000 4 udp6 ::.0.111 rpcbind superuser
100000 3 udp6 ::.0.111 rpcbind superuser
100000 4 local /var/run/rpcbind.sock rpcbind superuser
100000 3 local /var/run/rpcbind.sock rpcbind superuser
100000 2 local /var/run/rpcbind.sock rpcbind superuser
100005 1 udp 0.0.0.0.3.145 mountd superuser
100005 3 udp 0.0.0.0.3.145 mountd superuser
100005 1 tcp 0.0.0.0.3.149 mountd superuser
100005 3 tcp 0.0.0.0.3.149 mountd superuser
100005 1 udp6 ::.3.144 mountd superuser
100005 3 udp6 ::.3.144 mountd superuser
100005 1 tcp6 ::.3.148 mountd superuser
100005 3 tcp6 ::.3.148 mountd superuser
100003 2 tcp 0.0.0.0.8.1 nfs superuser
100003 3 tcp 0.0.0.0.8.1 nfs superuser
100003 2 tcp6 ::.8.1 nfs superuser
100003 3 tcp6 ::.8.1 nfs superuser

: 第二篇雖然是英文的,但是跟你說要去看 server 的 /var/log/message,
: 看看錯誤訊息是什麼,你嘗試了嗎?

第二篇這個看LOG的我看了我的LOG沒有相關訊息

我也有去/etc/hosts.allow把RPC的加上去

內容如下

rpcbind : A_host/255.255.255.0 : allow

但測試結果還是RPCPROG_NFS: RPC: Program not registered

所以才提出問題詢問

另外想問問看這行訊息的意思是rpc的部分沒有設定?

--

All Comments