From owner-freebsd-questions Wed Jan 5 14:10:12 2000 Delivered-To: freebsd-questions@freebsd.org Received: from tetron02.tetronsoftware.com (ftp.tetronsoftware.com [208.236.46.106]) by hub.freebsd.org (Postfix) with ESMTP id 1BC951549E for ; Wed, 5 Jan 2000 14:10:08 -0800 (PST) (envelope-from zeus@tetronsoftware.com) Received: from tetron02.tetronsoftware.com (IDENT:5001@tetron02.tetronsoftware.com [208.236.46.106]) by tetron02.tetronsoftware.com (8.9.3/8.9.3) with ESMTP id QAA04652; Wed, 5 Jan 2000 16:13:11 -0600 (CST) (envelope-from zeus@tetronsoftware.com) Date: Wed, 5 Jan 2000 16:13:11 -0600 (CST) From: Gene Harris To: Allan Strand Cc: freebsd-questions@freebsd.org Subject: Re: [Allan Strand ] natd coexisting with rpc.statd+nfs In-Reply-To: <86g0wc1k94.fsf@linum.cofc.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well, my diagnosis at this point is that something is wrong ;-) In checking the rpcinfo man page, if no host is supplied on the command line, it uses the response from the command "hostname". I suspect that something is wrong with your host name setup. Type hostname and see if something comes back. Then make sure that hostname is registered with your DNS provider. This would also explain why rcp.statd appears to hang, it cannot identify the machine it is executing on. I would also make sure that you have an entry in your /etc/hosts file of localhost 127.0.0.1. Either you have no hostname, or the hostname you have assigned is not in the DNS or is different from what the DNS thinks it is. I think this may be the problem! Gene On 5 Jan 2000, Allan Strand wrote: > Gene Harris writes: > > > 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. > > I did so and the first thing I noticed was that rpcinfo -p hangs. > if I include the hostname then it runs and only the portmapper entries > are showing: > > rpcinfo -p myhostname > program vers proto port > 100000 2 tcp 111 portmapper > 100000 2 udp 111 portmapper > > Both nfsd and mountd show up as processes 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. > > The results above certainly confirm this diagnosis > > Any suggestions on where to go from here? > 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