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

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

Post by cele » Fri, 05 Jul 2002 18:49:13



I'm trying to set up a NFS server, and installed
nfs-utils, edited /etc/exports, checked hosts.allow, deny,
and the firewalls.  Started portmap and nfs from the scripts
(rh7.3) and did exportfs -ra.

I have nfs-utils installed on the client too.

Nmap showed SUNRPC to be up, but all I get when trying to mount
a directory from the client with

mount serverNAME:/home ~/test

is

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

Can anyone help me out? I have no idea what went wrong here.

 
 
 

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

Post by Karl Heye » Fri, 05 Jul 2002 19:24:01



> I'm trying to set up a NFS server, and installed
> nfs-utils, edited /etc/exports, checked hosts.allow, deny,
> and the firewalls.  Started portmap and nfs from the scripts
> (rh7.3) and did exportfs -ra.

> I have nfs-utils installed on the client too.

> Nmap showed SUNRPC to be up, but all I get when trying to mount
> a directory from the client with

> mount serverNAME:/home ~/test

> is

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

make sure portmap is running on both systems and can be queried
from the other machine with rpcinfo -p <other machine> then try
querying the nfs server with showmount -e <other machine>

karl.

 
 
 

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

Post by Doug Pomerenk » Wed, 10 Jul 2002 00:46:47




>>I'm trying to set up a NFS server, and installed
>>nfs-utils, edited /etc/exports, checked hosts.allow, deny,
>>and the firewalls.  Started portmap and nfs from the scripts
>>(rh7.3) and did exportfs -ra.

>>I have nfs-utils installed on the client too.

>>Nmap showed SUNRPC to be up, but all I get when trying to mount
>>a directory from the client with

>>mount serverNAME:/home ~/test

>>is

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

> make sure portmap is running on both systems and can be queried
> from the other machine with rpcinfo -p <other machine> then try
> querying the nfs server with showmount -e <other machine>

> karl.

I'm having the exact same problem. rpcinfo -p from the client shows
portmapper on both client and server. From what I've gathered from other
  newsgroup postings, this problem has to do with ipchains, but I
haven't got that figured out.
 
 
 

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

Post by Karl Heye » Wed, 10 Jul 2002 03:26:35



> I'm having the exact same problem. rpcinfo -p from the client shows
> portmapper on both client and server. From what I've gathered from other
>   newsgroup postings, this problem has to do with ipchains, but I
> haven't got that figured out.

shutdown the firewall to see if that works.  use something like

/etc/rc.d/init.d/ipchains stop
/etc/rc.d/init.d/iptables stop

try the mounting again, if it works then look more closely at the
firewall side of things.

karl.

 
 
 

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

Post by Karl Heye » Sun, 21 Jul 2002 01:03:27



> Hi,

> I've the sames error using autofs to mount nfs. My rpcinfo -p is
> correct, and showmount -e host see nfs filesystems exported.
> I've no firewall setting up. It have been disabled with chkconfig.

> If someone have an idea about this, you're welcome.

make sure you can run rpcinfo -p  locally and rpcinfo -p <server>
as well.  Make sure neither machine is running a firewall
ipchains/iptables -L -n -v

karl.

 
 
 

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

Post by Serge Lecler » Sun, 21 Jul 2002 00:46:16




> > I'm having the exact same problem. rpcinfo -p from the client shows
> > portmapper on both client and server. From what I've gathered from other
> >   newsgroup postings, this problem has to do with ipchains, but I
> > haven't got that figured out.

> shutdown the firewall to see if that works.  use something like

> /etc/rc.d/init.d/ipchains stop
> /etc/rc.d/init.d/iptables stop

> try the mounting again, if it works then look more closely at the
> firewall side of things.

> karl.

Hi,

I've the sames error using autofs to mount nfs. My rpcinfo -p is
correct, and showmount -e host see nfs filesystems exported.
I've no firewall setting up. It have been disabled with chkconfig.

If someone have an idea about this, you're welcome.

Serge.