字體:  

解決 NFS 啟動問題 - rpc.rquotad cannot bind to given address

dyson6 發表於: 2016-4-13 10:19 來源: ADJ網路控股集團


最近在安裝 NFS 時...啟動會發生rpc.rquotad: Cannot bind to given address: Address already in use 錯誤訊息..
如下:

QUOTE:

[root@localhost ~]# service nfs restart
Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: [ OK ]
Shutting down NFS services: [ OK ]
Starting NFS services: [ OK ]
Starting NFS quotas: rpc.rquotad: Cannot bind to given address: Address already in use
[ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
這時後你可以這樣解決:
修改這個檔
# vi /etc/sysconfig/nfs
在最下面空白處加上

QUOTE:

STATD_PORT=4000
STATD_OUTGOING_PORT=4004

LOCKD_TCPPORT=4001
LOCKD_UDPPORT=4001

MOUNTD_PORT=4002
RQUOTAD_PORT=4003
然後再重新啟動
# service nfs restart

就會正常囉~