Operating System - Linux
1822582 Members
3397 Online
109642 Solutions
New Discussion юеВ

Re: NFS mount fail due to Port mapper failure

 
Tammy Liang
Regular Advisor

NFS mount fail due to Port mapper failure

Both NFS client and server are RH 8.0.
I can not NFS mount. Below have the command and messages on nfs_client and nfs_server systems.

nfs_client# rpcinfo -p nfs_server
rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused
nfs_client# showmount -e 163.243.26.119
mount clntudp_create: RPC: Port mapper failure - RPC: Unable to receive

I got following message below after run
rpcinfo -p on nfs_server system
nfs_server# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32768 status
100011 1 udp 710 rquotad
100011 2 udp 710 rquotad
100011 1 tcp 713 rquotad
100011 2 tcp 713 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100021 1 udp 32774 nlockmgr
100021 3 udp 32774 nlockmgr
100021 4 udp 32774 nlockmgr
100005 1 udp 32775 mountd
100005 1 tcp 33035 mountd
100005 2 udp 32775 mountd
100005 2 tcp 33035 mountd
100005 3 udp 32775 mountd
100005 3 tcp 33035 mountd
nfs_server# exportfs -v
/users/omni_5.1_cd
163.243(ro,wdelay,no_root_squash)



Appreciate any help...
take easy, enjoy life
2 REPLIES 2
Alexander Chuzhoy
Honored Contributor

Re: NFS mount fail due to Port mapper failure

for start
try to disable iptables/ipchains if started.

Do you have rpc related entries in /etc/hosts.deny?

see the hostname of the client-the command "hostname".
then add this hostname with respective IP address to /etc/hosts
Jan Sladky
Trusted Contributor

Re: NFS mount fail due to Port mapper failure

Hi Tammy,

it seems that communication between clinet and server maybe doesn't work, did you try ping from client to server ?
also check folowing:
- if exists right default gateway by route command
- /etc/hosts.denny , allow
- iptables by iptables -L command
- /etc/exports for path and ip
- restart /etc/init.d/nfs restart
- exportfs -a
- rcpinfo or showmount from client

I hope this will help you

br Jan

GSM, Intelligent Networks, UNIX