Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 May 2000 11:36:43 -0500
From:      bradley oedithipus <bradley@swt.edu>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: NFS
Message-ID:  <390DB29B.C3614C6C@swt.edu>
References:  <Pine.GSO.4.21.0004301858320.16414-100000@ruby.ora.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike DeGraw-Bertsch wrote:

> Hi Bradley,
>
>   I believe this is the same problem I ran into recently.  I overlooked
> that in hosts.allow, portmap needs its own specific entries, they need to
> be IP addresses, not host names.  Making the change fixed it for me.

Well, I've tried this as well...
I've added this to /etc/hosts.allow
portmap :  ALL : allow
And, to ensure ipaddress compliancy :
portmap : 10.0.0.1 : allow                                 //only host which
will access nfs


I still have the same problem.. nothing is registering with portmap ....


>
>   Hope this helps,
>  -Mike
>
> On Sun, 30 Apr 2000, bradley oedithipus wrote:
>
> > This is an NFS problem....
> >
> >
> > I have hosts.allow setup to allow Anything from all inside the internet
> > network.
> >
> > I have /etc/exports setup like so:
> > / -maproot=0 psy
> > /usr -maproot=0 psy
> >
> > I also have NFS and NFS_Root compiled into the kernel.
> >
> > Here is my problem.. i'll show you my steps.
> >
> > virt:~ # killall portmap nfsd nfsiod mountd
> > virt:~ #
> > virt:~ # portmap -v  // debugging -v
> > virt:~ # mountd -r   // registration with RPC
> > virt:~ # nfsd -u -t -n 4  // starting 4 nfs servers for UDP and TCP
> >
> > Then i get these errors.
> >
> > Apr 30 15:32:07 virt nfsd:[598]: can't register with udp portmap
> > Apr 30 15:33:30 virt mountd[592]: can't register mount
> >
> > Says it cant register with portmap, looks simple, start portmap.. BUT!
> > virt:~ # ps aux|grep portmap
> > daemon    590  0.0  0.4   832  508  ??  Is    3:30PM   0:00.00 portmap
> > -v // already running
> >
> > Also.
> > virt:~ # rpcinfo -p virt
> >    program vers proto   port
> >     100000    2   tcp    111  portmapper
> >     100000    2   udp    111  portmapper
> >
> > ^^^ Proves again that portmap is running....
> >
> > I'm sure I am just missing the obvious here, but I am missing it all the
> > same.
> > I have not had luck finding good documentation on any of these. And I
> > dont have a good book.
> > I hope someone could point the obvious out for me, let me know how
> > foolish i am =)!!
> >
> >
> > Bradley@swt.edu
> >
> >
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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