LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-12-2009, 06:37 PM   #1
dbrazeau
Member
 
Registered: Aug 2009
Distribution: Fedora, OpenSuse, DENX Embedded Linux
Posts: 184

Rep: Reputation: 28
NFS: failed: RPC Error: Program not registered


I keep getting this error when trying to mount an NFS " mount to NFS server '192.168.2.252:/mnt/raid5' failed: RPC Error: Program not registered"

Server:
#rpcinfo
program version netid address service owner
100000 4 tcp6 ::.0.111 portmapper superuser
100000 3 tcp6 ::.0.111 portmapper superuser
100000 2 tcp6 ::.0.111 portmapper superuser
100000 4 udp6 ::.0.111 portmapper superuser
100000 3 udp6 ::.0.111 portmapper superuser
100000 2 udp6 ::.0.111 portmapper superuser
100000 4 local /v portmapper superuser
100000 3 local /v portmapper superuser
100000 2 local /v portmapper superuser
100003 2 udp 0.0.0.0.8.1 nfs unknown
100003 3 udp 0.0.0.0.8.1 nfs unknown
100003 4 udp 0.0.0.0.8.1 nfs unknown
100021 1 udp 0.0.0.0.133.16 nlockmgr unknown
100021 3 udp 0.0.0.0.133.16 nlockmgr unknown
100021 4 udp 0.0.0.0.133.16 nlockmgr unknown
100021 1 tcp 0.0.0.0.204.250 nlockmgr unknown
100021 3 tcp 0.0.0.0.204.250 nlockmgr unknown
100021 4 tcp 0.0.0.0.204.250 nlockmgr unknown
100021 1 udp6 ::.223.21 nlockmgr unknown
100021 3 udp6 ::.223.21 nlockmgr unknown
100021 4 udp6 ::.223.21 nlockmgr unknown
100021 1 tcp6 ::.234.145 nlockmgr unknown
100021 3 tcp6 ::.234.145 nlockmgr unknown
100021 4 tcp6 ::.234.145 nlockmgr unknown
100003 2 tcp 0.0.0.0.8.1 nfs unknown
100003 3 tcp 0.0.0.0.8.1 nfs unknown
100003 4 tcp 0.0.0.0.8.1 nfs unknown
100005 1 udp6 ::.203.248 mountd unknown
100005 1 tcp6 ::.157.35 mountd unknown
100005 2 udp6 ::.203.248 mountd unknown
100005 2 tcp6 ::.157.35 mountd unknown
100005 3 udp6 ::.203.248 mountd unknown
100005 3 tcp6 ::.157.35 mountd unknown

Server:
#rpcinfo -p
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100000 4 0 111 portmapper
100000 3 0 111 portmapper
100000 2 0 111 portmapper
100021 1 udp 57109 nlockmgr
100021 3 udp 57109 nlockmgr
100021 4 udp 57109 nlockmgr
100021 1 tcp 60049 nlockmgr
100021 3 tcp 60049 nlockmgr
100021 4 tcp 60049 nlockmgr
100005 1 udp 52216 mountd
100005 1 tcp 40227 mountd
100005 2 udp 52216 mountd
100005 2 tcp 40227 mountd
100005 3 udp 52216 mountd
100005 3 tcp 40227 mountd

Client:
#rpcinfo -p 192.168.2.252
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100000 4 0 111 portmapper
100000 3 0 111 portmapper
100000 2 0 111 portmapper
100021 1 udp 57109 nlockmgr
100021 3 udp 57109 nlockmgr
100021 4 udp 57109 nlockmgr
100021 1 tcp 60049 nlockmgr
100021 3 tcp 60049 nlockmgr
100021 4 tcp 60049 nlockmgr
100005 1 udp 52216 mountd
100005 1 tcp 40227 mountd
100005 2 udp 52216 mountd
100005 2 tcp 40227 mountd
100005 3 udp 52216 mountd
100005 3 tcp 40227 mountd


The client IP is 192.168.2.84.

Here is my host.allow:
rpcbind: 192.168.2.84 : ALLOW
mountd: 192.168.2.84 : ALLOW
portmap: 192.168.2.84 : ALLOW
lockd: 192.168.2.84 : ALLOW
rquotad: 192.168.2.84 : ALLOW
statd: 192.168.2.84 : ALLOW

Here is my host.deny:
#Empty

Here is my /etc/exports:
/mnt/raid5 *(rw,no_root_squash,async)

This configuration seemed to work on my other Linux box.

I'm assuming my issues is that the client doestn't see nfs when I do "rpcinfo -p". I can see several NFSD threads running on the server when I do a "ps -fe" and when I do rpcinfo on the server I can see nfs.
Does anyone know why nfs doesn't get reported with "rpcinfo -p"?
 
Old 11-12-2009, 07:04 PM   #2
dbrazeau
Member
 
Registered: Aug 2009
Distribution: Fedora, OpenSuse, DENX Embedded Linux
Posts: 184

Original Poster
Rep: Reputation: 28
some more info:
The firewall is disable on both client and server.

The client can see the export list:
#showmount -e 192.168.2.252
Export list for 192.168.2.252:
/mnt/raid5 *
 
Old 03-25-2011, 03:35 PM   #3
sxbsxb
LQ Newbie
 
Registered: Feb 2009
Location: Minnesota
Distribution: Redhat EL 5
Posts: 4

Rep: Reputation: 0
I had to manually run:

/usr/sbin/rpc.mountd

on the server (the system from which I was exporting the filesystem).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
failed to send 'clear' to local ypserv: RPC:Program not registered beginner16 Linux - Newbie 3 04-29-2014 12:25 PM
NFS server: RPC: Program not registered burbank Linux - Networking 11 09-15-2011 02:04 PM
NFS mount: error program not registered thllgo Linux - Server 2 06-29-2009 07:56 AM
NFS Issues: rpcinfo -p hangs and RPC...Program not registered... Mohtek Linux - Networking 2 11-23-2007 10:53 PM
NFS Portmap: RPC: Program not registered fibbi Linux - Software 2 08-12-2004 12:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration