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
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
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
Make sure you have the right IP addresss inside /etc/hosts.allow , otherwise you will get this error when trying to access your NFS folder from another computer...
portmap mountd nfsd statd lockd rquotad : 192.168.1.*
answered 21 Feb '12, 05:55