LinuxQuestions.org
Register a domain and help support LQ
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 02-19-2005, 06:15 AM   #1
KEJP
Member
 
Registered: Jul 2003
Location: Weston-super-Mare, Somerset, UK
Distribution: Debian Squeeze
Posts: 48

Rep: Reputation: 15
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.
 
Old 02-20-2005, 01:45 AM   #2
aznluvsmc
Member
 
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Rep: Reputation: 30
Try rpcinfo -p on your wife's computer to see what the output is.
 
Old 02-20-2005, 02:41 AM   #3
KEJP
Member
 
Registered: Jul 2003
Location: Weston-super-Mare, Somerset, UK
Distribution: Debian Squeeze
Posts: 48

Original Poster
Rep: Reputation: 15
Hi aznluvsmc,

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
[root@anna ~]#
 
Old 02-20-2005, 02:10 PM   #4
aznluvsmc
Member
 
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Rep: Reputation: 30
If your wife's computer able to access the share once it's mounted?

Can you post the /etc/exports file for your computer?
 
Old 02-20-2005, 02:31 PM   #5
KEJP
Member
 
Registered: Jul 2003
Location: Weston-super-Mare, Somerset, UK
Distribution: Debian Squeeze
Posts: 48

Original Poster
Rep: Reputation: 15
Hi aznluvsmc,

here's the output of my exports file: -

[root@host ~]# cat /etc/exports
/files 10.0.0.0/24(rw,sync)

[root@host ~]#

As far as we can tell all the files on the share are accessible. Thanks again for your help.
 
Old 02-20-2005, 02:36 PM   #6
aznluvsmc
Member
 
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Rep: Reputation: 30
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.
 
Old 12-18-2006, 02:14 AM   #7
progressdll
LQ Newbie
 
Registered: Sep 2003
Location: Belgium
Distribution: RH 6.1 / xandros
Posts: 5

Rep: Reputation: 0
rpcinfo -p tells you portmap is using port 111

try

nmap <ip-server> from the client and see if port 111 is open for rpcbind
 
  


Reply

Tags
nfs, portmap, server


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
mountd time out: "mount_nfs: bad MNT RPC: RPC: Timed out" on client brush Debian 1 10-15-2006 02:01 PM
rpc.lockd & rpc.statd twantrd Linux - General 1 05-21-2005 09:24 AM
NFS (RPC time out)rh 9 rinux Linux - Networking 3 09-24-2003 05:02 PM
Unmounting NFS filesystems: Cannot MOUNTPROG RPC: RPC ErnstVikenstein Linux - General 4 05-31-2003 12:10 AM
mount: RPC: Unable to receive; errno = Connection refused peacho Linux - Networking 1 01-15-2003 02:50 AM


All times are GMT -5. The time now is 06:45 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration