最近在安裝 NFS 時...啟動會發生rpc.rquotad: Cannot bind to given address: Address already in use 錯誤訊息..
如下:
引用:
[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
在最下面空白處加上
引用:
STATD_PORT=4000
STATD_OUTGOING_PORT=4004
LOCKD_TCPPORT=4001
LOCKD_UDPPORT=4001
MOUNTD_PORT=4002
RQUOTAD_PORT=4003
然後再重新啟動
# service nfs restart
就會正常囉~