LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 04-06-2005, 07:18 AM   #1
ritesh_aladdin
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Rep: Reputation: 0
mount: RPC: Program not registered


Hi Group,

Recently i deployed one NFS server(S1) with three clients(C1,C2,C3),
two client nodes successfully mount NFS server(S1) share into local
directory , but problem with client3 , when i tried to mount NFS
Server(S1) share directory in to local directory , it showed the
error message 'mount: RPC: Program not registered'.

# mount -o rsize=8192,wsize=8192 S1:/remote /local
mount: RPC: Program not registered

To minimize the complexity i add following line in /etc/hosts.allow in
NFS server(S1)

portmap:ALL


RHEL ver 3.0 installed on all machines.

Services running on machines
c1,c2,c3: portmap,rpc.mountd
s1: portmap,nfsd,rpc.rquotad,rpc.statd,rpc.mountd

C1# rpcinfo -p S1
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 59403 status
100024 1 tcp 36772 status
100021 1 udp 60364 nlockmgr
100021 3 udp 60364 nlockmgr
100021 4 udp 60364 nlockmgr
100021 1 tcp 42935 nlockmgr
100021 3 tcp 42935 nlockmgr
100021 4 tcp 42935 nlockmgr

C3# rpcinfo -p S1
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 59403 status
100024 1 tcp 36772 status
100021 1 udp 60364 nlockmgr
100021 3 udp 60364 nlockmgr
100021 4 udp 60364 nlockmgr
100021 1 tcp 42935 nlockmgr
100021 3 tcp 42935 nlockmgr
100021 4 tcp 42935 nlockmgr

S1# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100021 1 udp 32774 nlockmgr
100021 3 udp 32774 nlockmgr
100021 4 udp 32774 nlockmgr
100021 1 tcp 34121 nlockmgr
100021 3 tcp 34121 nlockmgr
100021 4 tcp 34121 nlockmgr
100024 1 udp 32852 status
100024 1 tcp 59544 status
100011 1 udp 933 rquotad
100011 2 udp 933 rquotad
100011 1 tcp 936 rquotad
100011 2 tcp 936 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100005 1 udp 960 mountd
100005 1 tcp 963 mountd
100005 2 udp 960 mountd
100005 2 tcp 963 mountd
100005 3 udp 960 mountd
100005 3 tcp 963 mountd
----------------------------------------------------------
any more information you need ??
need urgent help, thanks in advance.
--

Ritesh Agrawal
 
Old 04-06-2005, 07:38 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Is portmap running on the machine attempting to mount the share from the server?
 
Old 04-06-2005, 07:41 AM   #3
ritesh_aladdin
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Original Poster
Rep: Reputation: 0
Yes , Portmap running on all servers
 
Old 04-06-2005, 07:52 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by ritesh_aladdin
Yes , Portmap running on all servers
You keep saying servers but also the clients?
 
Old 04-06-2005, 08:35 AM   #5
ritesh_aladdin
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Original Poster
Rep: Reputation: 0
Yes client also..
Problem resolved

problem with /etc/hosts.allow portmap entry
portmap: 192168.0.0/24 (wrong)
portmap: 192.168.0.0/255.255.255.0

Thanks for your support
 
Old 10-01-2005, 06:12 AM   #6
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Rep: Reputation: 30
Hello i have read a million threads but need some guidance i keep getting this error message "mount: RPC: Program not registered"
when i do "rpcinfo -p" on the client machine i get this.
aries:/home/master1# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
391002 2 tcp 777 sgi_fam
100024 1 udp 784 status
100024 1 tcp 787 status
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100021 1 udp 32772 nlockmgr
100021 3 udp 32772 nlockmgr
100021 4 udp 32772 nlockmgr
100021 1 tcp 32768 nlockmgr
100021 3 tcp 32768 nlockmgr
100021 4 tcp 32768 nlockmgr
100005 1 udp 807 mountd
100005 1 tcp 810 mountd
100005 2 udp 807 mountd
100005 2 tcp 810 mountd
100005 3 udp 807 mountd
100005 3 tcp 810 mountd
aries:/home/master1#
when i do "rpcinfo -p" on the host i get this.
compaq:/home/master3# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
391002 2 tcp 813 sgi_fam
100024 1 udp 820 status
100024 1 tcp 823 status
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100021 1 udp 32772 nlockmgr
100021 3 udp 32772 nlockmgr
100021 4 udp 32772 nlockmgr
100021 1 tcp 32779 nlockmgr
100021 3 tcp 32779 nlockmgr
100021 4 tcp 32779 nlockmgr
100005 1 udp 849 mountd
100005 1 tcp 852 mountd
100005 2 udp 849 mountd
100005 2 tcp 852 mountd
100005 3 udp 849 mountd
100005 3 tcp 852 mountd
compaq:/home/master3#
this is what my /etc/exports looks like on the host.
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
*(rw,async,all_squash)
/home/master3/music/ 192.168.1.100 rw.

this is what my /etc/hosts allow looks like on the host.
/etc/hosts.allow: list of hosts that are allowed to access the system.
# See the manual pages hosts_access(5), hosts_options(5)
# and /usr/doc/netbase/portmapper.txt.gz
#
# Example: ALL: LOCAL @some_netgroup
# ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper, as well as for
# rpc.mountd (the NFS mount daemon). See portmap(8), rpc.mountd(8) and
# /usr/share/doc/portmap/portmapper.txt.gz for further information.
# portmap: 192.168.1.100
192.168.1.100 aries
portmap: 192.168.1.100
well i am open to all suggestion i have googled lots and lots.
any help appreciated thanks nige
 
Old 10-01-2005, 06:13 AM   #7
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Rep: Reputation: 30
both systems are running debian 3.1
 
Old 10-01-2005, 10:14 AM   #8
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Rep: Reputation: 30
ok folks the problem was /etc/hosts/deny i have basically wiped it clean and now it works no problem.I would guess from a security point of view thats not so good but i can work on that now.so if any body wants to throw a few tips my way on the best way for this file to look i would think that would be good.
thanks nige
 
  


Reply



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
NFS server: RPC: Program not registered burbank Linux - Networking 11 09-15-2011 02:04 PM
mount: RPC: Program not registered Harry Seldon Linux - Networking 3 09-05-2005 03:05 PM
NFS Portmap: RPC: Program not registered fibbi Linux - Software 2 08-12-2004 12:40 AM
Mount RPC : Program not registered phonecian Linux - Networking 2 08-29-2003 05:51 AM
mount: RPC: Program not registered madenan Linux - Software 2 08-16-2003 02:39 PM

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

All times are GMT -5. The time now is 06:37 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