*BSD News Article 70768


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!inquo!in-news.erinet.com!imci5!imci4!newsfeed.internetmci.com!howland.reston.ans.net!sol.ctr.columbia.edu!startide.ctr.columbia.edu!wpaul
From: wpaul@ctr.columbia.edu (Bill Paul)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: NFS Portmap: RPC: Program not registered
Date: 12 Jun 1996 16:52:18 GMT
Organization: Columbia University Center for Telecommunications Research
Lines: 35
Message-ID: <4pmsk3$pne@sol.ctr.columbia.edu>
References: <31be2718.3821550@news.intergate.bc.ca>
NNTP-Posting-Host: startide.ctr.columbia.edu
X-Newsreader: TIN [version 1.2 PL2]

Daring to challenge the will of the almighty Leviam00se, Jordon Randall
(jordon@intergate.bc.ca) had the courage to say:

: I got an error when I tried to mount an nfs drive.  I'm trying to set
: it up and was trying to mount a drive on the server that was serving
: in and I got this error: NFS Portmap: RPC: Program not registered
: Does any one have any info on this?

Yes, everyone has info on this. (This question gets asked at least once
a month.)

First, dig up a little documentation on NFS and make sure you understand
all of what's involved in running NFS with UNIX. This is supposed to be
an easy problem to fix.

Second, realize that the server has to be running nfsd and mountd before
the client can mount anything from it. Mountd in particular registers
itself with the portmapper on the server when it starts up. The client
then queries the portmapper to see if it's registered and calls it if
it is. If mountd isn't running, the portmapper will tell the client that
it isn't registered and the mount fails with the error you got.

You will also have to edit /etc/exports to allow the client access
to the proper filesystems.

-Bill

--
=============================================================================
-Bill Paul            (212) 854-6020 | System Manager, Master of Unix-Fu
Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
=============================================================================
 "If you're ever in trouble, go to the CTR. Ask for Bill. He will help you."
=============================================================================