Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 1996 15:13:46 -0500 (CDT)
From:      ptroot@uswest.com (Paul T. Root)
To:        chris@enteract.com (dcastle)
Cc:        questions@freebsd.org
Subject:   Re: booting takes forever
Message-ID:  <199605282013.PAA28085@astro.acs.uswest.com>
In-Reply-To: <Pine.BSF.3.91.960528130730.16331B-100000@enteract.com> from "dcastle" at May 28, 96 01:11:00 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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



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