Operating System - Linux
1829187 Members
17092 Online
109986 Solutions
New Discussion

Re: NFS - RPC: Program not registered -- Linux

 
Debbie Fleith
Regular Advisor

NFS - RPC: Program not registered -- Linux

Although I see some other threads related to this problem under HP-UX, I've yet to find help on this error under Red Hat Linux 3. My NFS server is Red Hat Linux 5.

I am unable to mount a drive from the client without this error. I was able to mount one of them a few days ago, and now its not accessible.

Any ideas that assist me will be rewarded with proper points.
7 REPLIES 7
Ivan Ferreira
Honored Contributor

Re: NFS - RPC: Program not registered -- Linux

Ensure that the portmap service is running. Ensure that the NFS programs are registered with rpcinfo -p. Ensure that security enhanced linux is disabled and your firewall is also disabled.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Debbie Fleith
Regular Advisor

Re: NFS - RPC: Program not registered -- Linux

Server side was OK. On client side Portmap was running, rpcinfo -p showed processes, but ipchains was enabled. I disabled it, and still didn't help. I decided to reboot and I received these errors:

Jan 28 13:50:11 dentahiti mount: mount: RPC: Program not registered
Jan 28 13:50:11 dentahiti last message repeated 4 times
Jan 28 13:50:11 dentahiti netfs: Mounting NFS filesystems: failed
Jan 28 13:50:11 dentahiti netfs: Mounting other filesystems: succeeded
Jan 28 13:50:11 dentahiti autofs: automount startup succeeded

Do these boot errors indicate anything obvious?
Ivan Ferreira
Honored Contributor

Re: NFS - RPC: Program not registered -- Linux

Maybe, the required services are not started yet when the client tries to mount the file system. Try running:

mount -a -t nfs

Or

mount /mount_point

After the system is up. I had a similar problem and the solution was to modify the services startup order.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Debbie Fleith
Regular Advisor

Re: NFS - RPC: Program not registered -- Linux

No luck.

#mount -a -t nfs
mount: RPC: Program not registered
mount: RPC: Program not registered
mount: RPC: Program not registered
mount: RPC: Program not registered
mount: RPC: Program not registered

#mount /mnt/u
mount: RPC: Program not registered

Dave Olker
Neighborhood Moderator

Re: NFS - RPC: Program not registered -- Linux

Hi Debbie,

From the NFS client, issue the following command and post the output:

# rpcinfo -p
# showmount -e

From the NFS server, issue the following command and post the output:

# rpcinfo -p

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Debbie Fleith
Regular Advisor

Re: NFS - RPC: Program not registered -- Linux

Although I had all server-side components running when I was able to mount a few days ago, all of this feedback helped me determine that a reboot occurred and nfs services were stopped on the server-side.

I have things up and running again now and have made changes to have nfs startup always now.

Thank-you.
Debbie Fleith
Regular Advisor

Re: NFS - RPC: Program not registered -- Linux

NFS on server side had stopped running.