LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 09-04-2002, 11:40 AM   #1
PatC
LQ Newbie
 
Registered: Jun 2002
Location: Washington state
Distribution: Debian and RedHat so far
Posts: 18

Rep: Reputation: 0
Portmap problem


Running a RedHat 7.3p network for experimentation purposes at a volunteer position at the
DSHS office where I did my intership. The server has an NFS and SMB server installed. Working on
the NFS side I have setup the NFS exports and hosts files, with help from the forum. Now the
problem is when I have tryed a manual mount of one of the shares from the workstation on the
server I recieve the error: mount: RPC:Portmapper failure- RPC: Unable to recieve. I read the
man page for portmap and put in an entry for portmap for my domain on the server. I still get the same error.
Time to say I need help again.
Pat
 
Old 09-04-2002, 12:17 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
I suppose you need portmapper (service) on the server. But I'm not sure if you need portmapper at all. How is your NFS configured?
 
Old 09-04-2002, 12:22 PM   #3
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
check syslog at server while trying to mount. It will mostly tell you what exactly is happening. ( you can use tail -f /var/log/messages for this )
--Sarin
 
Old 09-05-2002, 03:54 AM   #4
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
run this as root on your NFS client:

rpcinfo -p

If you get a portmapper error, your portmap service might not be running. Start it using this:

/sbin/service portmap start
then check your NFS server:

rpcinfo -p server_ip

You can check if you can see the exported shares by running this:

showmount -e server_ip

Last edited by born4linux; 09-05-2002 at 03:55 AM.
 
Old 09-05-2002, 11:21 AM   #5
PatC
LQ Newbie
 
Registered: Jun 2002
Location: Washington state
Distribution: Debian and RedHat so far
Posts: 18

Original Poster
Rep: Reputation: 0
reply

When I ran rpcinfo -p on the client the output was: 2 entries for portmapper, 2 for status, and 1 for sqi_fam.
The rpcinfo for the server ip gives an error: rpc can't contact portmapper: RPC: Remote system error - Connection refused.
The showmount on the client gives the original error.
I'm beginning to think I should have asked a simpler question:
What needs to be installed on a client to use an NFS servers shares?
An rpcinfo on the server shows the same as the client plus 4 for rquotad, 6 for mountd, 2 for nfs, and 3 for nlockmgr.
The problem seems to be with the server from the output, but what is wrong has me stumped.
Pat
 
Old 09-11-2002, 11:05 AM   #6
chamkila
Member
 
Registered: Nov 2001
Distribution: Redhat 7.3 Slackware 8.1
Posts: 87

Rep: Reputation: 15
I had the same problem with RedHat 7.3. I fixed the problem by reconfig the firewall.

Log in as root and use the commad setup then chose the firewall option.

this should fix it
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
portmap attack jbeiter Linux - Security 1 12-17-2004 02:52 PM
Is it portmap necessary? dominant Linux - Newbie 2 06-23-2004 12:37 PM
FAM and PORTMAP! neenee Slackware 2 04-10-2003 05:29 PM
portmap did not install (why not?) int0x80 Linux - Networking 0 10-28-2002 07:21 AM
NFS / portmap with RH 7.3 ychimin2000 Linux - Networking 5 10-18-2002 08:16 PM


All times are GMT -5. The time now is 03:21 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