CentOS开机启动卡在进度条 提示NFS quotas: Cannot register service: RPC

CentOS6 开机启动卡在进度条,按ESC显示启动详细信息,如下错误:


Starting NFS services:                                     [  OK  ]
Starting NFS quotas: Cannot register service: RPC: Unable to receive; errno = Connection refused
rpc.rquotad: unable to register (RQUOTAPROG, RQUOTAVERS, udp).
                                                           [FAILED]
Starting NFS mountd:                                       [FAILED]
Starting NFS daemon: rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
rpc.nfsd: unable to set any sockets for nfsd
                                                           [FAILED]

RH系操作系统在6.0版本之后没有portmap服务控制rpc的启动,由于NFS和nfslock的启动需要向rpc进行注册,rpcbind服务不启动的话就会报错

 

解决办法:重启进入单用户模式,把rpcbind服务设置为开机启动:chkconfig rpcbind on 即可。

你可能感兴趣的:(linux,centos,nfs)