Nfs client mount RPC Error: Program not registered.


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Nfs client mount RPC Error: Program not registered.
# 1  
Old 03-28-2012
Nfs client mount RPC Error: Program not registered.

Hello,

I was having few issues on my linux box, I am getting this error whenever I tried to mount a share on a client linux host.

Code:
# mount -t nfs 10.10.4.150:/data/pops_sva /mnt
mount: mount to NFS server '10.10.4.150' failed: RPC Error: Program not registered.
#

I see the error and I tried to restart portmap but that did not helpful. Running into same issue.
I see the rpc.statd process running and rpc.lockd process not running, how can I start rpc.lockd service

While I was going through couple of online links, mentioned "If you are using a 2.2 or later kernel with the /proc filesystem you can check the latter by reading the file /proc/filesystems and making sure there is a line containing nfs. If not, typing insmod nfs may make it magically appear if NFS has been compiled as a module; otherwise, you will need to build (or download) a kernel that has NFS support built in." -- I did checked in /proc/filesystems I didnot see nfsd entry. So in this case do I need to start nfs serivce on the client, to load nfsd module??

not sure what am I missing here to fix this issue.



Code:
# ps -ef |grep rpc.statd
rpcuser  30196     1  0 13:39 ?        00:00:00 rpc.statd
root     32214 30055  0 14:28 pts/1    00:00:00 grep rpc.statd
# ps -ef |grep rpc.lockd
root     32216 30055  0 14:28 pts/1    00:00:00 grep rpc.lockd
# more /proc/filesystems
nodev   sysfs
nodev   rootfs
nodev   bdev
nodev   proc
nodev   cpuset
nodev   binfmt_misc
nodev   debugfs
nodev   securityfs
nodev   sockfs
nodev   usbfs
nodev   pipefs
nodev   anon_inodefs
nodev   futexfs
nodev   tmpfs
nodev   inotifyfs
nodev   eventpollfs
nodev   devpts
        ext2
nodev   ramfs
nodev   hugetlbfs
        iso9660
nodev   mqueue
        ext3
nodev   rpc_pipefs
nodev   autofs
#

Thanks,
# 2  
Old 04-02-2012
I was able to mount the nfs filesystem.
but this is what I noticed, first time when I tired to mount it using fqdn of nfs server, I got this error message.
Code:
mount: mount to NFS server 'nfs.lab.com' failed: RPC Error: Program not registered.

Then when I tried to remount with IP address it worked fine.

Not sure why I am getting this error, but when I run nslookup on nfs.lab.com or nfs I got the response, but not sure why mount command is not picking up from DNS. What am I missing any idea ??

Thanks,
# 3  
Old 04-02-2012
On NFS client, what is the output of:
Code:
showmount -e <ip of server>
rpcinfo -p <ip of server>

On NFS server, what is the output of:
Code:
cat /etc/exports

# 4  
Old 04-03-2012
Here is the o/p

showmount -e <ip of server>
rpcinfo -p <ip of server>
Code:
# showmount -e 10.10.4.150
Export list for 10.10.4.150:
/data/pops_sva                      *
# rpcinfo -p 10.10.4.150
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp    762  status
    100024    1   tcp    765  status
    100011    1   udp    989  rquotad
    100011    2   udp    989  rquotad
    100011    1   tcp    992  rquotad
    100011    2   tcp    992  rquotad
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100021    1   udp  58021  nlockmgr
    100021    3   udp  58021  nlockmgr
    100021    4   udp  58021  nlockmgr
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100021    1   tcp  53419  nlockmgr
    100021    3   tcp  53419  nlockmgr
    100021    4   tcp  53419  nlockmgr
    100005    1   udp   1020  mountd
    100005    1   tcp   1023  mountd
    100005    2   udp   1020  mountd
    100005    2   tcp   1023  mountd
    100005    3   udp   1020  mountd
    100005    3   tcp   1023  mountd
#

On NFS server, what is the output of: cat /etc/exports
Code:
# cat /etc/exports
/data/pops_sva                      *(rw,sync)
#

# 5  
Old 04-04-2012
solution to nfs server

hello dude,

go to machine 1st (server)and run these command
1-mkdir /share
2-vi /etc/exports
3-/share *(rw,sync)
4-service nfs restart
5-service portmap restart
6-showmount -e 1.2.3.4(your ip address=1.2.3.4 change as per ur req)
you are done on server machine
now go to client machine
1-showmount -e 1.2.3.4
2-mkdir /share2
3-mount -t nfs 1.2.3.4:/share /share2
4-cd /share2

you are done ..(if still have a problem mail me at <removed email address>

note:this is only for the redhat, solaris has different command to mount and share.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 NFS client cannot mount a share from a Windows server

I have a Solaris 10 server, I'm trying to mount a share from a Windows nfs server. If I add this entry (tst-walnut:/test_sap_nfs - /majid nfs - yes rw,soft) to my /etc/vfstab, then I can mount, but when I create a file by root:root, the file owner changes to... (1 Reply)
Discussion started by: Hiroshi
1 Replies

2. Shell Programming and Scripting

Mount NFS Share On NFS Client via bash script.

I need a help of good people with effective bash script to mount nfs shared, By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people. The scenario as follow: An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies

3. Solaris

nfs mount: RPC: Rpcbind failure - RPC: Timed out

Fails to mount the server (10.125.224.22) during installation of a software on client, throwing the below error: nfs mount: 10.125.224.22: : RPC: Rpcbind failure - RPC: Timed out nfs mount: retrying: /cdrom This happened after complete shutdown of the lab. The server came up fine but most... (1 Reply)
Discussion started by: frintocf
1 Replies

4. Red Hat

Not able to mount NFS share on client side

When i tried to mount the nfs i see this error message mount -t nfs 192.168.20.194:/remote/proj1 /nfsmount mount: 192.168.20.194:/remote/proj1 failed, reason given by server: Permission denied and the /etc/exports file in the host side looks like this /remote/proj1 ... (12 Replies)
Discussion started by: srinathk
12 Replies

5. AIX

can not mount from aix client to linux nfs server

Hi, I am trying to mount a nfs folder from AIX client to Linux NFS Server, but I got the following error: # mount 128.127.11.121:/aix /to_be_del mount: 1831-010 server 128.127.11.121 not responding: RPC: 1832-018 Port mapper failure - RPC: 1832-008 Timed out mount: retrying... (1 Reply)
Discussion started by: victorcheung
1 Replies

6. UNIX for Advanced & Expert Users

Unusual NFS mount problem on only ONE client: Red Hat WS Rel 3

This is an unusual situation where I have an NFS server currently serving out MULTIPLE clients over several variants of Linux and UNIX successfully (world permissions) except for a SINGLE client. Even the other Linux (SuSE) clients in the same room are mounting successfully with defaults without... (6 Replies)
Discussion started by: neelpert1
6 Replies

7. Shell Programming and Scripting

NFS client Mount script after boot

Hi, I have 12 AIX P series servers. One has the NFS DB2data and the others are client mounts. NFS is not in /etc/filesystem because if NFS DB2data not up the client takes 7+ minutes to give up on nfsmnt and boot up. I'd like to check that nfs is up, then do the client mount all from a startup... (0 Replies)
Discussion started by: sv2xs
0 Replies

8. UNIX for Dummies Questions & Answers

can not get netapp to mount RPC Not registered error

getting "NFS mount: netapp : RPC: Program not registered" error searched the site but none of the fixes from previous threads are helping (2 Replies)
Discussion started by: calamine
2 Replies

9. UNIX for Advanced & Expert Users

clnttcp_create: RPC program not registered

s/o=SCO 5.05 openserver hi, i have a problem with a mount between 2 servers i can see the mounted files, but i canīt open it if the file is a *.dbf, if i try to a "dbf" file with fox for unix the error is (the system has reached the maximum number of blocks) mount -f NFS... (1 Reply)
Discussion started by: jav_v
1 Replies

10. UNIX for Dummies Questions & Answers

"rpc program not registered"??

Hello all, When I shut down my X86/Solaris 8, I get the following messages on the console: "rpc program not registered "...... What is mean?why?May someone can tell me :) Thanks in advance. (1 Reply)
Discussion started by: Lee
1 Replies
Login or Register to Ask a Question