Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2005 16:36:45 -0400
From:      Parv <parv@pair.com>
To:        x_patriot paracetamol <xparacetamol@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: rpc error on nfs
Message-ID:  <20050411203645.GA2905@holestein.holy.cow>
In-Reply-To: <5148d13405041021293a1a97fe@mail.gmail.com>
References:  <5148d13405041021293a1a97fe@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <5148d13405041021293a1a97fe@mail.gmail.com>,
wrote x_patriot paracetamol thusly...
>
> when i try to mount  NFS on my machine,.. error  messages appear
> like :
> 
> "NFS Portmap: RPC: Port mapper failure - RPC: Unable to send"
> 
> what was wrong on my system..?

For starters, search Google.  I did, and solved my own similar
problems.  Check list comes down to ...

  - Server & client both have IP addresses such that they can find
    each other. (In my case, dhclient(8) cannot get an IP address
    after boot up; i had to start it manually on 4.x.)

  - Portmapper/Rpcbind(8) is running on client & server.

  - Nfsd(8) is registered with portmapper/rpcbind.

  - Mountd(8) is listening on a port not blocked by a firewall.  (In
    my case, mountd was opening a random port for which there was no
    allowance in the firewall.  Now i start mountd with a port that
    is open in firewall.)

  - At the end, make sure above is as intended by use of rpcinfo(8) (on
    5.x; don't know similar command on 4.x).


I could have replied just "more information" or not at all to your
post (since you have not provided much information), but i send it to
be committed to archive for my own future benefit.


  - Parv

-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050411203645.GA2905>