NFS error Starting NFS quotas: Cannot register service: RPC: Unable to receive; errno = Connection refused, connectionrefused

Source: Internet
Author: User
Tags nfsd

NFS error Starting NFS quotas: Cannot register service: RPC: Unable to receive; errno = Connection refused, connectionrefused
NFS Error

[Root @ bjs0-~] #/Etc/init. d/portreserveStart
StartingPortreserve:                                     [ OK ]
[Root @ bjs0-~] #/Etc/init. d/nfsStart
StartingNFSServices:                                    [ OK ]
StartingNFSQuotas:CannotRegisterService:RPC:UnableToReceive;Errno=ConnectionRefused
Rpc. rquotad:UnableToRegister(RQUOTAPROG,RQUOTAVERS,Udp ).
                                                           [FAILED]
StartingNFSMountd:                                      [FAILED]
StartingNFSDaemon:Rpc. nfsd:WritingFdToKernelFailed:Errno111(ConnectionRefused)
Rpc. nfsd:UnableToSetAnySocketsForNfsd
                                                           [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 rpc is not started.

Solution: Start rpcbind & rpcidmapRpcbind is the default RPC service after version 6.0, so it must be started before nfs. If you do not start rpcidmap, The ing of user permissions is incorrect. The user permissions appear to be a string of numbers.


[Root @ bjs0-~] #/Etc/init. d/rpcbindStart
StartingRpcbind:                                         [ OK ]
[Root @ bjs0-~] #/Etc/init. d/rpcidmapdStart
StartingRPCIdmapd:                                      [ OK ]
[Root @ bjs0-~] #/Etc/init. d/nfsStart
StartingNFSServices:                                    [ OK ]
StartingNFSQuotas:                                      [ OK ]
StartingNFSMountd:                                      [ OK ]
StartingNFSDaemon:                                      [ OK ]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.