what is RPC error program not registered error when mounting NFS on boot can't mount at boot using FSTAB I added fstab entry as host.foo.com:/nfsshare /pub nfs defaults 0 0 at the boot time it report RPC failed program not registered. what i do? asked 05 May '10, 15:01 Sanil |
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. In Slackware, as root, you would go to /etc/rc.d and make rc.rpc executable and then
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. answered 05 May '10, 21:08 codebunny |
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. http://tldp.org/HOWTO/NFS-HOWTO/server.html answered 13 May '10, 14:29 JD50 |
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. 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. answered 06 May '10, 09:23 kainosnous |
Please accept an answer so the question/answer can be finished. Or provide more details so we can help.