Some time we got this NFS related error :-
NFS error mount clntudp_create RPC Program not registered
root@amitmaheshwari.in:~# showmount -a
mount clntudp_create: RPC: Program not registered
mount clntudp_create: RPC: Program not registered
This error occurred due to following reasons :-
1)
rpc.mountd
service is stopped on NFS server
2) firewall or some network issue while connecting from client to NFS server.
3) Also check "/etc/hosts.allow & /etc/hosts.deny" file to check if any rule mention for NFS or Network.
Root cause of this erorr is :-
This error occurs when the rpc.mountd service is not running or a firewall or tcp-wrappers is blocking the service from communicating on the network.
Possible Solution :-
Check on NFS server side
1) start nfs service
# service nfs restart
2) rpcinfo -p localhost
In output check for mountd should be listening on some port
Now check on Client side
1) Check nfslock and portmap services (RHEL-4 )
2) Check nfslock / rpcbind services (RHEL-6 and above)
RHEL-4
# service nfslock restart
# service nfslock status
# service portmap restart
# service portmap status
RHEL-6 and above
# service nfslock restart
# service nfslock status
# service rpcbind restart
# service rpcbind status
# rpcinfo -p NFS.Server or it's IP address (xxx.xxx.xxx.xxx)
# showmount -e
you will see NFS shared devices
# service netfs status
I hope this will give you an idea about "NFS error mount clntudp_create RPC Program not registered" error.