NFS RPC: Port mapper failure - RPC: Unable to receive
Good Morning All,
could anyone help with this please? As a background I'm trying to network our three PC's at home here - my machine (host), the wife's, and my son's. All three incidentally are running FC3, although my son's dual boots with Win98. The idea is that all three machines can share an internet connection and the printer attached to my PC. Additionally, all three PC's should be able to access shared files on my PC (family photos, music, etc.), and there are some files on my wife's machine we both need access to.
The internet connection's fine - we have an Origo 8100 modem/router (address 10.0.0.2, netmask 255.0.0.0) which is connected to a Netgear 104 hub, which the three PC's are connected to - all three PC's can access the internet without any problem.
I've set all three machines up with an ip address of 10.0.0.x and netmask of 255.0.0.0, and can ping between all three without any apparent problem. However, trying to set up NFS is proving problematic. The folders I want to share are /files from my PC (host) and /home/shared from my wife's PC (anna) which should only be shared with host. Anna can mount the nfs share from my PC without any problem; on trying showmount and mounting the nfs shares from her PC however I get: -
[root@host ~]# showmount -e anna
mount clntudp_create: RPC: Port mapper failure - RPC: Unable to receive
[root@host ~]# mount anna:/home/shared /files/nfs
mount to NFS server 'anna' failed: server is down.
I've tried service portmap restart and service nfs restart on both machines without any success - any help will be very much appreciated.
Try rpcinfo -p on your wife's computer to see what the output is.
thanks for replying on this. The output is: -
[root@anna ~]# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32769 status
100021 1 udp 33482 nlockmgr
100021 3 udp 33482 nlockmgr
100021 4 udp 33482 nlockmgr
100021 1 tcp 34101 nlockmgr
100021 3 tcp 34101 nlockmgr
100021 4 tcp 34101 nlockmgr
100011 1 udp 834 rquotad
100011 2 udp 834 rquotad
100011 1 tcp 837 rquotad
100011 2 tcp 837 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100005 1 udp 848 mountd
100005 1 tcp 851 mountd
100005 2 udp 848 mountd
100005 2 tcp 851 mountd
100005 3 udp 848 mountd
100005 3 tcp 851 mountd
If your wife's computer able to access the share once it's mounted?
Can you post the /etc/exports file for your computer?
here's the output of my exports file: -
[root@host ~]# cat /etc/exports
As far as we can tell all the files on the share are accessible. Thanks again for your help.
The IP address subnet specification is incorrect. It should read 10.0.0.0/8 since your subnet mask is 255.0.0.0. Try changing that to see if the RPC problem resolves itself.
rpcinfo -p tells you portmap is using port 111
nmap <ip-server> from the client and see if port 111 is open for rpcbind
|All times are GMT -5. The time now is 11:16 PM.|