From owner-freebsd-stable@FreeBSD.ORG Sat May 19 08:33:03 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6C93106566C for ; Sat, 19 May 2012 08:33:03 +0000 (UTC) (envelope-from brian.scott4@det.nsw.edu.au) Received: from up-mx2.det.nsw.edu.au (up-mx2.det.nsw.edu.au [153.107.105.80]) by mx1.freebsd.org (Postfix) with ESMTP id 4CAAE8FC0C for ; Sat, 19 May 2012 08:33:02 +0000 (UTC) Received: from itfsmtp5.central.det.win (extmail.det.nsw.edu.au [153.107.9.204]) by up-mx2.det.nsw.edu.au (8.13.8/8.13.8) with ESMTP id q4J8MDSM031632 for ; Sat, 19 May 2012 18:22:13 +1000 Received: from itfexhub5.central.det.win (Not Verified[153.107.9.32]) by itfsmtp5.central.det.win with MailMarshal (v6, 7, 2, 0) id ; Sat, 19 May 2012 18:22:13 +1000 Received: from ALF2.riverina.det.win ([172.18.8.18]) by itfexhub5.central.det.win with Microsoft SMTPSVC(6.0.3790.4675); Sat, 19 May 2012 18:22:13 +1000 Received: from 172.18.8.18 ([172.18.8.18]) by ALF2.riverina.det.win ([172.18.8.18]) with Microsoft Exchange Server HTTP-DAV ; Sat, 19 May 2012 08:22:13 +0000 References: <208875941252614284029FECC54B9ED81201CC@ALF2.riverina.det.win> From: "Scott, Brian" Content-Type: text/plain; charset="us-ascii" Message-ID: <8ED9E2E8-4BB0-4598-BBE0-4638CD36A6B5@det.nsw.edu.au> Thread-Topic: ntpd couldn't resolve host name on system boot Thread-Index: Ac01mH467CGyRro0Q0+yu29EAr4EHw== Date: Sat, 19 May 2012 18:22:34 +1000 To: Content-Transfer-Encoding: 7bit MIME-Version: 1.0 (1.0) X-OriginalArrivalTime: 19 May 2012 08:22:13.0347 (UTC) FILETIME=[7E469B30:01CD3598] Subject: Fwd: ntpd couldn't resolve host name on system boot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 May 2012 08:33:03 -0000 > > Matthew, > > Although netwait will probably fix the problem for you, another > possibility that I have just ran into recently involved DNSSEC > validation in bind. The problem was that without ntp syncing the time at > boot (the system doesn't have battery backed time) dns resolution failed > (root key wasn't valid yet). If dns resolution fails then you can't find > your time servers. Repeat till you get sick of it. > > Possible solutions include: > * Don't do dnssec validation > * Hard code an IP address in your ntp.conf (even a low stratum > server somewhere) > * Run a task at startup to brute force your time to something > reasonable (within a year or two ago) to allow dnssec validation to > work. > > As I said, you will probably find that netwait_* is all you need and you > can safely ignore this. > > Brian > > -----Original Message----- > From: owner-freebsd-stable@freebsd.org > [mailto:owner-freebsd-stable@freebsd.org] On Behalf Of Matthew Doughty > Sent: Friday, 18 May 2012 1:03 AM > To: freebsd-stable@freebsd.org > Subject: ntpd couldn't resolve host name on system boot > > Dear Jerermy, > > Whilst searching for a solution to a problem, I found your post: > http://lists.freebsd.org/pipermail/freebsd-stable/2011-October/064350.ht > ml > > Please could you explain how I can implement the netwait script to solve > the problem? I'm new to freenas/BSD but am willing to try working from > the Cmd line. > > Best regards, > > Matthew > > > PS: Here are the messages > > May 14 13:32:59 freenas kernel: SMP: AP CPU #1 Launched! > > May 14 13:32:59 freenas kernel: GEOM: da0s1: geometry does not match > label (16h,63s != 255h,63s). > > May 14 13:32:59 freenas kernel: GEOM: da0s2: geometry does not match > label (16h,63s != 255h,63s). > > May 14 13:32:59 freenas kernel: Trying to mount root from > ufs:/dev/ufs/FreeNASs2a > > May 14 13:32:59 freenas kernel: WARNING: /data was not properly > dismounted > > May 14 13:32:59 freenas kernel: ZFS filesystem version 4 > > May 14 13:32:59 freenas kernel: ZFS storage pool version 15 > > May 14 13:33:00 freenas ntpd[1512]: ntpd 4.2.4p5-a (1) > > May 14 13:33:00 freenas root: /etc/rc: WARNING: failed precmd routine > for vmware_guestd > > May 14 13:33:02 freenas ntpd_initres[1526]: host name not found: > 0.freebsd.pool.ntp.org > > May 14 13:33:02 freenas ntpd_initres[1526]: couldn't resolve ` > 0.freebsd.pool.ntp.org', giving up on it > > May 14 13:33:02 freenas ntpd_initres[1526]: host name not found: > 1.freebsd.pool.ntp.org > > May 14 13:33:02 freenas ntpd_initres[1526]: couldn't resolve ` > 1.freebsd.pool.ntp.org', giving up on it > > May 14 13:33:02 freenas ntpd_initres[1526]: host name not found: > 2.freebsd.pool.ntp.org > > May 14 13:33:02 freenas ntpd_initres[1526]: couldn't resolve ` > 2.freebsd.pool.ntp.org', giving up on it > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to > "freebsd-stable-unsubscribe@freebsd.org" ********************************************************************** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. **********************************************************************