LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 08-04-2002, 10:00 PM   #1
Robert0380
Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 46
NFS error


I get the following error when i try to mount a file system
located on a different computer on my network:

mount: RPC: Port mapper failure - RPC: Unable to receive


According to the NFS how to, everything on the server is setup correctly. Here is my /etx/exports file from the server:


/net 192.168.1.100(rw)


it's just a 1- liner to allow /net to be mounted on 192.168.1.100 (the client) via nfs with read and write permissions.

i even checked to make sure nfs was runnin, here is the output from rpcinfo -p from the server:

program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 1025 status
100024 1 tcp 1024 status
100011 1 udp 629 rquotad
100011 2 udp 629 rquotad
100011 1 tcp 632 rquotad
100011 2 tcp 632 rquotad
100005 1 udp 1029 mountd
100005 1 tcp 1027 mountd
100005 2 udp 1029 mountd
100005 2 tcp 1027 mountd
100005 3 udp 1029 mountd
100005 3 tcp 1027 mountd
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100021 1 udp 1030 nlockmgr
100021 3 udp 1030 nlockmgr
100021 4 udp 1030 nlockmgr

notice that nfs and portmapper are both runnin


here is the same command from the client:

program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32768 status
391002 2 tcp 32769 sgi_fam


once agan notice that portmapper is running. As even a final step I added the client to the hosts.allow file on the server just to make sure the host had permission..but i still manage to get that error. The error again is:

mount: RPC: Port mapper failure - RPC: Unable to receive

any ideas or suggestions? The troubleshooting section of the HOWTO didn't seem to have my problem listed and everything on the server and client appear to be working just fine.
 
Old 08-06-2002, 11:32 PM   #2
Robert0380
Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Original Poster
Rep: Reputation: 46
still no takers huh?

still no help for me huh?
 
Old 08-07-2002, 03:06 AM   #3
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,121

Rep: Reputation: 121Reputation: 121
How are you trying to mount it on the client side ??
 
Old 08-07-2002, 03:26 AM   #4
lopezjo49
Member
 
Registered: Jun 2002
Location: NJ
Distribution: Mainly Kubuntu 8.10
Posts: 44

Rep: Reputation: 15
Maybe of some help if you are using tcpwrappers
Your hosts.allow may need all the deamons used for nfs.

lockd: 192.168.1.100
mountd: 192.168.1.100
rquotad: 192.168.1.100
statd: 192.168.1.100
 
Old 08-07-2002, 10:41 AM   #5
Robert0380
Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Original Poster
Rep: Reputation: 46
in response to both of your posts:

I mount on the host with the mount command:

mount 192.168.1.101:/net /

And I also have it set to mount at boot time using
an entry in the fstab but during boot it fails with the
same error.

and i tried to set up my hosts.allow already the way you have it but i still get the same error.
 
Old 08-07-2002, 12:09 PM   #6
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,121

Rep: Reputation: 121Reputation: 121
Quote:
Originally posted by Robert0380
in response to both of your posts:

I mount on the host with the mount command:

mount 192.168.1.101:/net /

And I also have it set to mount at boot time using
an entry in the fstab but during boot it fails with the
same error.

and i tried to set up my hosts.allow already the way you have it but i still get the same error.
Well first off, I wouldn't try to mount the remote directory to your / direcotry. Create a /net to mount it to. This is how I have my fstab entry on one of my machines:

192.168.1.10:/data /export/data nfs rsize=8192,wsize=8192,timeo=14

And like lopez suggested, make sure you do have all the correct daemons running and maybe using the tcpwrappers.
 
Old 08-07-2002, 07:18 PM   #7
lopezjo49
Member
 
Registered: Jun 2002
Location: NJ
Distribution: Mainly Kubuntu 8.10
Posts: 44

Rep: Reputation: 15
Your mount point is definitly the problem as tricky said.
create a new directory somwhere like /home and try

mount 192.168.1.101:/net /home/"new directory"
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error exporting nfs directories wastingtime Linux - Networking 1 06-04-2005 04:22 AM
NFS error on slackware 10.1 salviadud Linux - Networking 2 04-26-2005 01:27 PM
error in nfs suchi_s Programming 1 11-03-2004 05:39 AM
NFS mounting Error Help Sabeer Linux - Networking 5 06-24-2003 02:39 AM
nfs unmount error mathfeel Linux - General 7 12-13-2002 10:33 AM


All times are GMT -5. The time now is 01:32 AM.

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
Open Source Consulting | Domain Registration