LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Portmap problem (https://www.linuxquestions.org/questions/linux-networking-3/portmap-problem-29584/)

PatC 09-04-2002 11:40 AM

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

Mara 09-04-2002 12:17 PM

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?

sarin 09-04-2002 12:22 PM

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

born4linux 09-05-2002 03:54 AM

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

PatC 09-05-2002 11:21 AM

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

chamkila 09-11-2002 11:05 AM

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


All times are GMT -5. The time now is 05:22 PM.