From owner-freebsd-questions Tue May 28 14:10:52 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA29621 for questions-outgoing; Tue, 28 May 1996 14:10:52 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA29592 for ; Tue, 28 May 1996 14:10:48 -0700 (PDT) Received: from uswgco2.uswc.uswest.com (uswgco2.uswest.com [206.196.133.74]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id NAA07919 for ; Tue, 28 May 1996 13:14:47 -0700 Received: (from smap@localhost) by uswgco2.uswc.uswest.com (8.7.1/8.7.1) id OAA07279 for ; Tue, 28 May 1996 14:14:16 -0600 (MDT) Received: from egate.mnet.uswest.com(151.116.23.138) by uswgco2.uswc.uswest.com via smap (V1.3) id sma007262; Tue May 28 14:13:57 1996 Received: from easthub (easthub.mnet.uswest.com [151.117.26.86]) by egate.mnet.uswest.com (8.7.1/8.7.1) with SMTP id OAA03668 for ; Tue, 28 May 1996 14:13:55 -0600 (MDT) Received: by easthub.mnet.uswest.com (M-Net Hub.951228) Received: by acs.uswest.com (5.x/SMI-SVR4) id AA19840; Tue, 28 May 1996 15:13:55 -0500 Received: from astro.acs.uswest.com by acs.uswest.com (5.x/SMI-SVR4) id AA19818; Tue, 28 May 1996 15:13:48 -0500 Received: by astro.acs.uswest.com (SMI-8.6/SMI-SVR4) id PAA28085; Tue, 28 May 1996 15:13:46 -0500 From: ptroot@uswest.com (Paul T. Root) Message-Id: <199605282013.PAA28085@astro.acs.uswest.com> Subject: Re: booting takes forever To: chris@enteract.com (dcastle) Date: Tue, 28 May 1996 15:13:46 -0500 (CDT) Cc: questions@freebsd.org In-Reply-To: from "dcastle" at May 28, 96 01:11:00 pm X-Organization: !nterprise Networking Services X-Phone: (612) 663-1979 X-Fax: (612) 663-8030 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 200 S. 5th St., Suite 1100 X-Address: Minneapolis, MN 55402 X-Mailer: ELM [version 2.4 PL25] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In a previous message, dcastle said: > > > I just installed FreeBSD 2.1 on a 486 box, and I'm having trouble with > it hanging during bootup. > It gets to this point: > > add net default: gateway 204.119.47.50 > > (204.119.47.50 is the default gateway used by the entire office.) It > hangs on the above line for probably 5-10 minutes. Eventually it will > boot up, and the default gateway DOES work. > I've also noticed that if I ^C at the point where it hangs, it > continues booting again until it tries to start sendmail. It then hangs > at sendmail until I ^C again. Then I finally get the login prompt. Why > the grueling bootup? > Thanx in advance for any help you might be able to throw my way. > > Chris Odom It sounds to me like its having trouble resolving host names. The above output should mean that the route command has finished. Since your running a default route, I'm going to assume that you're not running as a gateway or gated. So the next command it runs is mount -a -t nfs. Which seems reasonable. That is to say, it's hanging on nfs because it can't resolve ip addresses of hosts that you're nfs mounting. If the period comes up after sendmail, then it's completed, otherwise sendmail is trying to resolve hosts (which also seems resonable). To sum up, check that dns is working correctly on the machine. Run nslookup, and the files /etc/host.conf and /etc/resolv.conf. If your not running dns. Check the /etc/hosts table that everything is defined in there. Or NIS, if your running it. If your machine is the dns server, you probably want hosts first in the host.conf file, because, the server won't be running during start up. Paul. -- Paul T. Root - USWEST !NTERPRISE Networking Service ptroot@uswest.com "But where the senses fail us, reason must step in." - Galileo