From owner-freebsd-questions Tue Nov 30 7: 7:37 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mojave.sitaranetworks.com (mojave.sitaranetworks.com [199.103.141.157]) by hub.freebsd.org (Postfix) with ESMTP id 7A7CC1589C for ; Tue, 30 Nov 1999 07:07:30 -0800 (PST) (envelope-from grog@mojave.sitaranetworks.com) Message-ID: <19991129203714.33804@mojave.sitaranetworks.com> Date: Mon, 29 Nov 1999 20:37:14 -0500 From: Greg Lehey To: Michael Williams , freebsd-questions@FreeBSD.ORG, Majid Almassari Subject: Re: NFS server problems Reply-To: Greg Lehey References: <19991129042047.75210.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <19991129042047.75210.qmail@hotmail.com>; from Michael Williams on Sun, Nov 28, 1999 at 09:20:47PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sunday, 28 November 1999 at 21:20:47 -0700, Michael Williams wrote: > I have just installed FreeBSD 3.3 and am having a problem with the NFS > server. When my machine boots I get the following messages: > > ... > Doing additional network setup: portmap. > Starting final network daemons: > mountd Nov 28 21:04:07 master > mountd[127] can't register mount > nfsd Nov 28 21:04:07 master > nfsd:[130]: can't register with udp portmap > rpc.statd Cannot register service: > RPC: Unable to send; errno = No route to host > rpc.statd: unable to register (SM_PROG, SM_VERS, udp) > ... > > Consequently the NFS server does not work. > > Any ideas as to what the problem may be? Is there more information that I > need to provide. There was a problem with FreeBSD 3.3 only where the loopback interface didn't get initialized. This looks like the problem. Check that you get this: $ ifconfig lo0 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 If the address isn't set, do: # ifconfig lo0 127.1 After that, restart the NFS daemons, and things should work. To make it permanent, make sure that you have something like this in your /etc/rc.conf: network_interfaces="ed0 lo0" It's important that lo0 appears here; depending on your hardware, ed0 may be something else, or there may be multiple additional interfaces. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message