Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-06-2005, 07:18 AM
|
#1
|
LQ Newbie
Registered: Jul 2003
Posts: 16
Rep:
|
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
|
|
|
04-06-2005, 07:38 AM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Is portmap running on the machine attempting to mount the share from the server?
|
|
|
04-06-2005, 07:41 AM
|
#3
|
LQ Newbie
Registered: Jul 2003
Posts: 16
Original Poster
Rep:
|
Yes , Portmap running on all servers
|
|
|
04-06-2005, 07:52 AM
|
#4
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Quote:
Originally posted by ritesh_aladdin
Yes , Portmap running on all servers
|
You keep saying servers but also the clients?
|
|
|
04-06-2005, 08:35 AM
|
#5
|
LQ Newbie
Registered: Jul 2003
Posts: 16
Original Poster
Rep:
|
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
|
|
|
10-01-2005, 06:12 AM
|
#6
|
Member
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680
Rep:
|
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
|
|
|
10-01-2005, 06:13 AM
|
#7
|
Member
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680
Rep:
|
both systems are running debian 3.1
|
|
|
10-01-2005, 10:14 AM
|
#8
|
Member
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 03:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|