dyson6 2016-4-13 10:19
解決 NFS 啟動問題 - rpc.rquotad cannot bind to given address
最近在安裝 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 ]
[/quote]
這時後你可以這樣解決:
修改這個檔
# vi /etc/sysconfig/nfs
在最下面空白處加上
[quote]
STATD_PORT=4000
STATD_OUTGOING_PORT=4004
LOCKD_TCPPORT=4001
LOCKD_UDPPORT=4001
MOUNTD_PORT=4002
RQUOTAD_PORT=4003
[/quote]
然後再重新啟動
# service nfs restart
就會正常囉~