Re: problem getting RPC to work...
I got it to load portmap, but only with a kludge, I'm sure there is a
better way to do it,
but in /etc/rcS.d directory, there is a file called S45mountnfs.sh, (it may
not be S45 on your system) and in that file is where it will mount remote
file systems if there are any in /etc/fstab.
If there are remote file systems in /etc/fstab, then it'll start
'portmap' first, and then mount them. If there are not nfs entries in the
/etc/fstab, then it doesn't do anything, and portmap never gets started. (At
least, I couldn't find anything else that'd start portmap during the boot
So, I just doctored that file so that 'PORTMAP=yes' is set near the
beginning, instead of 'PORTMAP=no' and then even though it doesn't find any
remote file systems to mount, it'll start portmap anyway.
Of course, if you want to just mount some remote directory, set that up
in your /etc/fstab and at your next reboot it'll be launching portmap for
Others on this list, please let me know if I'm seriously mucking
anything up, it's just that portmap seems to be needed by nfsd, but wasn't
being loaded anywhere but in the above file.
----- Original Message -----
From: "Erik van Roode" <firstname.lastname@example.org>
To: "George Bingham" <email@example.com>
Sent: Saturday, January 25, 2003 5:19 PM
Subject: Re: problem getting RPC to work...
> On Sat, Jan 25, 2003 at 02:36:58PM -0600, George Bingham wrote:
> > Hi all,
> > After having trouble booting with the kernel-nfs (It would hang when
launching the nfsd) I have now tried the non-kernel user nfs, and it's
giving me an error message that I think points to what's wrong, but I don't
know how to fix it.
> > It's telling me that RPC: Connection Refused.
> > Doing some man page perusing, and trying 'rpcinfo -p' I get:
> > rpcinfo: can't contact portmapper: RPC: Remote system error - Connection
> > Is it clear that I'm trying to do this on the localhost?
> > Looking in inetd.conf, I see a place where RPC calls should go, but
there is nothing there. Did I miss something during install? How do I
startup RPC so that when it gets to loading nfsd it'll work?
> > Ideas?
> I had the same problems, but haven't gotten around to sorting it out. So I
> give moral support. There should be some references to
> in nfs documentation.
> Hope that helps (it doesn't work for me, but perhaps it can help you)
> #-- nfs begin
> portmap: 192.168.1.0/255.255.255.0
> lockd: 192.168.1.0/255.255.255.0
> rquotad: 192.168.1.0/255.255.255.0
> mountd: 192.168.1.0/255.255.255.0
> statd: 192.168.1.0/255.255.255.0
> ALL: 192.168.1.0/255.255.255.0
> #-- nfs end