Solve the problem that CentOS boot is stuck in the progress bar
CentOS6 boot stops at the progress bar. Press ESC to display the startup details. The following error occurs:
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]
After version 6.0, the RH operating system does not have the portmap service to control rpc startup. As NFS and nfslock must be registered with rpc, an error will be reported if rpcbind does not start.
Solution: restart and enter the single-user mode. Set the rpcbind service to start upon startup: chkconfig rpcbind on.