From owner-freebsd-questions@FreeBSD.ORG Sat Nov 5 21:57:47 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99E36106564A for ; Sat, 5 Nov 2011 21:57:47 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3C2158FC14 for ; Sat, 5 Nov 2011 21:57:46 +0000 (UTC) Received: by wyg36 with SMTP id 36so4637934wyg.13 for ; Sat, 05 Nov 2011 14:57:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.180.3.71 with SMTP id a7mr3782637wia.0.1320530266193; Sat, 05 Nov 2011 14:57:46 -0700 (PDT) Received: by 10.180.81.193 with HTTP; Sat, 5 Nov 2011 14:57:46 -0700 (PDT) In-Reply-To: References: Date: Sat, 5 Nov 2011 14:57:46 -0700 Message-ID: From: Michael Sierchio To: Robert Simmons Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: ntpdate on boot problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Nov 2011 21:57:47 -0000 Are you running a firewall? Do you have a ppp connection? This happens when there is a dependency that is not expressed in the /etc/rc.d scripts. - M On Sat, Nov 5, 2011 at 2:52 PM, Robert Simmons wrote: > Is there a way to make sure that the interface is UP and working > before running ntpdate at boot on a box with a static IP address? > > After setting ntpdate_enable=3D"YES" in rc.conf, I get the following > error on boot: > > Setting date via ntp. > Error : hostname nor servname provided, or not known > =A05 Nov 17:11:05 > ntpdate[786]: can't find host 0.freebsd.pool.ntp.org > > Error : hostname nor servname provided, or not known > =A05 Nov 17:11:05 > ntpdate[786]: can't find host 1.freebsd.pool.ntp.org > > Error : hostname nor servname provided, or not known > =A05 Nov 17:11:05 > ntpdate[786]: can't find host 2.freebsd.pool.ntp.org > > =A05 Nov 17:11:05 > ntpdate[786]: no servers can be used, exiting > > I've had this problem with machines using DHCP and the solution was to > use SYNCDHCP rather than DHCP in rc.conf. =A0However, this box is using > a static IP address. =A0But the problem seems to be similar. > > Rob > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >