Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-04-2002, 11:40 AM   #1
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.
Old 09-04-2002, 12:17 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,545

Rep: Reputation: 160Reputation: 160
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
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 )
Old 09-05-2002, 03:54 AM   #4
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
LQ Newbie
Registered: Jun 2002
Location: Washington state
Distribution: Debian and RedHat so far
Posts: 18

Original Poster
Rep: Reputation: 0

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.
Old 09-11-2002, 11:05 AM   #6
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


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 05:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration