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's gravatar image

Sanil
1111
accept rate: 0%

Please accept an answer so the question/answer can be finished. Or provide more details so we can help.

(20 Apr '11, 13:57) rfelsburg ♦



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

/etc/rc.d/rc.rpc start

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.

link

answered 05 May '10, 21:08

codebunny's gravatar image

codebunny
40816
accept rate: 38%

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

link

answered 13 May '10, 14:29

JD50's gravatar image

JD50
512
accept rate: 0%

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.

link

answered 06 May '10, 09:23

kainosnous's gravatar image

kainosnous
3243
accept rate: 18%

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...

Example:

portmap mountd nfsd statd lockd rquotad : 192.168.1.*

link

answered 21 Feb '12, 05:55

jason's gravatar image

jason
1
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×4
×3
×2

Asked: 05 May '10, 15:01

Seen: 36,247 times

Last updated: 21 Feb '12, 05:55

powered by OSQA