Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jun 2004 14:33:52 -0700
From:      Bill Campbell <freebsd@celestial.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: NTPD hangs on boot
Message-ID:  <20040604213352.GA72303@alexis.mi.celestial.com>
In-Reply-To: <20040604202045.GA2340@gothmog.gr>
References:  <000201c449cf$25ec7d50$10c8a8c0@edsdell8200> <20040604202045.GA2340@gothmog.gr>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, Jun 04, 2004, Giorgos Keramidas wrote:
>On 2004-06-03 20:59, Edward Carmody <ecarmody@hudsonvalleynetworks.com> wrote:
>>
>> Recently did a cvsup and make world procedure, have a couple glitches.
>
>- Which version of FreeBSD are you running?
>
>- What version did you update to?

In my experience, ntp hanging on boot usually means the network is down
and/or DNS isn't working properly.  The AMD automounter does the same
thing.

My usual workaround it to boot into single user mode, and add exit commands
to the startup scripts for ntp and amd so they don't attempt to start.
Once I have everything on the network working, most particularly DNS, then
I remove these exit commands.

On machines running SYSV scripts (e.g. OpenPKG.org things on FreeBSD) that
aren't generally on the network, I put an exit immediately after the
``start'' case where I can comment it out to start the service when on the
network.  This allows the ``stop'' function to work properly if the service
is running, preventing locking problems that might occur if the exit were
at the top of the script.

-- 
Bill
--
INTERNET:   bill@Celestial.COM  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``My reading of history convinces me that most bad government results
from too much government.'' --Thomas Jefferson.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20040604213352.GA72303>