Linux - NetworkingThis 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.
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.
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
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.