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版本之后使用rpcbind服务(5系版本为portmap服务)控制rpc的启动,由于NFS和nfslock的启动需要向rpc进行注册,rpcbind服务不启动的话就会报错
解决办法:重启进入单用户模式,把rpcbind服务设置为开机启动:chkconfig rpcbind on 即可。
本文转自 kuSorZ 51CTO博客,原文链接:http://blog.51cto.com/kusorz/1739513