Date: Wed, 5 Jan 2000 08:54:34 -0600 (CST) From: Gene Harris <zeus@tetronsoftware.com> To: Allan Strand <stranda@cofc.edu> Cc: freebsd-questions@freebsd.org Subject: Re: [Allan Strand <stranda@cofc.edu>] natd coexisting with rpc.statd+nfs Message-ID: <Pine.BSF.4.10.10001050847340.1818-100000@tetron02.tetronsoftware.com> In-Reply-To: <86puvg646i.fsf@linum.cofc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
To debug this, disable NFS from your rc.conf. Kill any mountd and nfsd processes. Then, as root, start mountd manually and then nfsd 4. Check rpcinfo -p to make sure the processes are running. You should be able to connect to your exports at this point. Also, are you using tcp_wrappers? If so, you will need to check hosts.allow and hosts.deny for a portmap: entry. Based on the error message you are getting, the nfs and mount daemons aren't working. rpc.statd has nothing to do with serving up exports. You might also substitute ip numbers instead of host names in your exports. If the DNS is not working correctly, things may appear to hang when in fact they are waiting on DNS requests. Gene On 5 Jan 2000, Allan Strand wrote: > Gene Harris <zeus@tetronsoftware.com> writes: > > On 5 Jan 2000, Allan Strand wrote: > > > > > > > > >I'm exploring different LAN configurations and one possibility > > > >requires a firewall (running natd/ipfw to connect the LAN to a > > > >semi-protected network) to also act as an NFS server to a couple of > > > >machines on the LAN. > > > > > > >I can see that this might present security problems, yet I am curious > > > >as to its general feasibility. > > > > > > >I've tried to set it up, but have run into a situation where rpc.statd > > > >hangs on the boot. Haven't even made it to the NFS server portion. > > > > > > > Hmmm... In rc.network, the execution order is mountd, nfsd, > > then rpc.statd. Are you starting rpc.statd from another > > source? > > > > I use the configuration you describe on a server and have no > > problems. In addition to ipfw, you might want to install > > tcp_wrappers to assist with security/connection logging. > > > > nfsd is started first on my setup as well. However, rpc.statd then > hangs for a while before the boot continues. Then, when I try to mount disks > on this machine from another, I get: > > NFS Portmap RPC: Program not Registered. > > I assumed that this was a problem with rpc.statd not running > correctly. > > Thanks, > A. > -- > Allan E. Strand stranda@cofc.edu, http://linum.cofc.edu > Department of Biology Phone: (843) 953-8085 > College of Charleston Fax: (843) 953-5453 > Charleston, SC 29424 > 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?Pine.BSF.4.10.10001050847340.1818-100000>