NFS error StartingNFSquotas: Cannotregisterservice: RPC: Unabletoreceive; errno = Connectionrefused

Source: Internet
Author: User

NFS error StartingNFSquotas: Cannotregisterservice: RPC: Unabletoreceive; errno = Connectionrefused
NFS Error

[Root @ bjs0-~] #/Etc/init. d/portreserve start
Starting portreserve: [OK]
[Root @ bjs0-~] #/Etc/init. d/nfs start
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 rpc is not started.

Solution: Start rpcbind & rpcidmap rpcbind 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/rpcbind start
Starting rpcbind: [OK]
[Root @ bjs0-~] #/Etc/init. d/rpcidmapd start
Starting RPC idmapd: [OK]
[Root @ bjs0-~] #/Etc/init. d/nfs start
Starting NFS services: [OK]
Starting NFS quotas: [OK]
Starting NFS mountd: [OK]
Starting NFS daemon: [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.