From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 14:34:44 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18E4616A4CE for ; Fri, 4 Jun 2004 14:34:44 -0700 (PDT) Received: from mail.mi.celestial.com (dagney.celestial.com [192.136.111.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFB2543D46 for ; Fri, 4 Jun 2004 14:34:43 -0700 (PDT) (envelope-from bill@celestial.com) Received: by mail.mi.celestial.com (Postfix, from userid 203) id 9A3D211E89F; Fri, 4 Jun 2004 14:33:52 -0700 (PDT) Date: Fri, 4 Jun 2004 14:33:52 -0700 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20040604213352.GA72303@alexis.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <000201c449cf$25ec7d50$10c8a8c0@edsdell8200> <20040604202045.GA2340@gothmog.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040604202045.GA2340@gothmog.gr> User-Agent: Mutt/1.4.2.1i Subject: Re: NTPD hangs on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2004 21:34:44 -0000 On Fri, Jun 04, 2004, Giorgos Keramidas wrote: >On 2004-06-03 20:59, Edward Carmody 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.