Failed: RPCError: RPC: The program is not registered.

Source: Internet
Author: User
Failed: RPCError: RPC: The program is not registered to solve a, scenario: In Linux Operating Command: mount-tnfs-orwxxx.xxx.xxx.xxx:/nfs error prompt: failed: RPCError: RPC: the program is not registered. Step 2: check the server of the other party... failed: RPC Error: RPC: The program is not registered. Solution 1. scenario: run mount-t nfs-o rw xxx on Linux. xxx. xxx. xxx:/nfs Error prompt: failed: RPC Error: RPC: The program is not registered 2. analysis steps: Step 2: check whether the target server has configured connection restrictions to log on to the target server and check/etc/hosts. allow and/etc/hosts. deny file. hosts. deny rejects the connection of the host with the corresponding IP address, hosts. allow allows the connection of the corresponding IP host. [Root @ lsxy ~] $ Tail/etc/hosts. allow ## hosts. allow This file describes the names of the hosts which are # allowed to use the local INET services, as decided # by the '/usr/sbin/tcpd' server. # [root @ lsxy ~] $ Tail/etc/hosts. deny # hosts. deny This file describes the names of the hosts which are # * not * allowed to use the local INET services, as decided # by the '/usr/sbin/tcpd' server. # The portmap line is redundant, but it is left to remind you that # the new secure portmap uses hosts. deny and hosts. allow. in particle # you shoshould know that NFS uses portmap! According to the content, the peer service does not impose any restrictions on the connection of other hosts. Step 2: Check whether the service is not started: check the portmap service and nfs service. The portmap service is used to support RPC connections, and RPC is used for services such as NFS and NIS. 1. check the status of the portmap service: [root @ lsxy etc] # service portmap status portmap (pid 20862) is running... it indicates that the portmap service is running properly. 2. check the nfs service status: [root @ lsxy etc] # service nfs status rpc. mountd has stopped nfsd has stopped rpc. rquotad has stopped. the problem should be almost found-nfs service has not started. 3. Solution: 1. start the nfs service: [root @ lsxy etc] # service nfs start the NFS service: [OK] disable the NFS quota: [OK] start the NFS daemon: [OK] start NFS mountd: [OK] 2. restart portmap service: [root @ lsxy etc] # service portmap reload stop portmap: [OK] start portmap: [OK] then run mount-t nfs-o rw xxx. xxx. xxx. xxx:/nfs.

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.