Answers to: what is RPC error program not registered error while mounting NFS on boot can't mount at boothttp://linuxexchange.org/questions/304/what-is-rpc-error-program-not-registered-error-while-mounting-nfs-on-boot-cant-mount-at-boot<p>what is RPC error program not registered error when mounting NFS on boot can't mount at boot using FSTAB</p> <p>I added fstab entry as</p> <p>host.foo.com:/nfsshare /pub nfs defaults 0 0</p> <p>at the boot time it report RPC failed program not registered. what i do?</p>enTue, 21 Feb 2012 05:55:33 -0500Answer by jasonhttp://linuxexchange.org/questions/304/what-is-rpc-error-program-not-registered-error-while-mounting-nfs-on-boot-cant-mount-at-boot/2786<p>Make sure you have the right IP addresss inside <strong>/etc/hosts.allow</strong> , otherwise you will get this error when trying to access your NFS folder from another computer... </p> <p><strong>Example:</strong></p> <p>portmap mountd nfsd statd lockd rquotad : 192.168.1.*</p>jasonTue, 21 Feb 2012 05:55:33 -0500http://linuxexchange.org/questions/304/what-is-rpc-error-program-not-registered-error-while-mounting-nfs-on-boot-cant-mount-at-boot/2786Answer by JD50http://linuxexchange.org/questions/304/what-is-rpc-error-program-not-registered-error-while-mounting-nfs-on-boot-cant-mount-at-boot/557<p>Sounds like it could be an issue with portmapper. There's a lot of different moving parts involved with an nfs server, check out this tutorial, it's pretty thorough. <a href="http://tldp.org/HOWTO/NFS-HOWTO/server.html" rel="nofollow">http://tldp.org/HOWTO/NFS-HOWTO/server.html</a></p>JD50Thu, 13 May 2010 14:29:58 -0400http://linuxexchange.org/questions/304/what-is-rpc-error-program-not-registered-error-while-mounting-nfs-on-boot-cant-mount-at-boot/557Answer by kainosnoushttp://linuxexchange.org/questions/304/what-is-rpc-error-program-not-registered-error-while-mounting-nfs-on-boot-cant-mount-at-boot/325<p>You will need to make sure that all the necessary daemons are running at the time you attempt the mount. Obviously, you should make sure that you can mount the share while your system is running.</p> <p>However, there is another problem to consider. If all works fine with the system running, then perhaps you could have a problem with timing. For instance, the necessary daemons must be started firs as well as your network connection must be functioning. If you can't track down the problem, try putting mount -a in /etc/rc.local as a dirty temporary fix. This assumes that you don't have anything on that server until after you are fully booted.</p>kainosnousThu, 06 May 2010 09:23:23 -0400http://linuxexchange.org/questions/304/what-is-rpc-error-program-not-registered-error-while-mounting-nfs-on-boot-cant-mount-at-boot/325Answer by codebunnyhttp://linuxexchange.org/questions/304/what-is-rpc-error-program-not-registered-error-while-mounting-nfs-on-boot-cant-mount-at-boot/317<p>For NFS to run, you need to have the RPC daemons running. The two required daemons are rpc.portmap and rpc.statd. These are normally started at bootup time. If these are not running, you will not be able to mount NFS partitions. So you need to start them.</p> <p>In Slackware, as root, you would go to /etc/rc.d and make rc.rpc executable and then</p> <pre><code>/etc/rc.d/rc.rpc start </code></pre> <p>In other distributions, you would look in your startup services, and turn on the RPC daemons, and then start them. Once your system has the RPC daemons running, then you will be about to mount your NFS partition.</p>codebunnyWed, 05 May 2010 21:08:05 -0400http://linuxexchange.org/questions/304/what-is-rpc-error-program-not-registered-error-while-mounting-nfs-on-boot-cant-mount-at-boot/317