From owner-freebsd-questions@freebsd.org Sun Oct 23 11:04:04 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D6FCC1BB31 for ; Sun, 23 Oct 2016 11:04:04 +0000 (UTC) (envelope-from starikarp@yandex.com) Received: from forward4m.cmail.yandex.net (forward4m.cmail.yandex.net [IPv6:2a02:6b8:b030::1b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 523C5A5A for ; Sun, 23 Oct 2016 11:04:04 +0000 (UTC) (envelope-from starikarp@yandex.com) Received: from smtp2j.mail.yandex.net (smtp2j.mail.yandex.net [95.108.130.60]) by forward4m.cmail.yandex.net (Yandex) with ESMTP id EC92320788; Sun, 23 Oct 2016 14:04:00 +0300 (MSK) Received: from smtp2j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2j.mail.yandex.net (Yandex) with ESMTP id 3D2363EC0480; Sun, 23 Oct 2016 14:03:59 +0300 (MSK) Received: by smtp2j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 1xb7julI9g-3wpmhrZU; Sun, 23 Oct 2016 14:03:58 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1477220639; bh=M/SB1qXni/ik7nswhnThmxvd+B4l9OR7N9cO57o8/GI=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References; b=VSPev4alZOVXP5i1JD7XWCe5wqYmfeFBPvQ7+Ex8evOKyyBNQFSuOLSeLVVgY5zVp QRtJGCz+RWbHpQtnrMwU8NjHYVarJW2+u1kke9XiJXt0bKKYXbdFIFy21HhV3rFFtP xTSMeJe6ejl8Xt0XBDK80wasWkAG9AU3yd0r/4XA= Authentication-Results: smtp2j.mail.yandex.net; dkim=pass header.i=@yandex.com X-Yandex-Suid-Status: 1 0,1 0 Message-ID: <1477220635.79813.1.camel@yandex.com> Subject: Re: ntpd From: Stari Karp To: Jon Radel , freebsd-questions@freebsd.org Date: Sun, 23 Oct 2016 07:03:55 -0400 In-Reply-To: References: <1477174990.1381.4.camel@yandex.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Oct 2016 11:04:04 -0000 On Sat, 2016-10-22 at 19:32 -0400, Jon Radel wrote: > On 10/22/16 6:23 PM, Stari Karp wrote: > > > > > Oct 22 18:10:49 osolemio ntpd[926]: ntpd 4.2.8p8-a (1): Starting > > Oct 22 18:10:49 osolemio ntpd[927]: format error frequency file > > /var/db/ntpd.drift > What happens if you move the ntpd.drift file aside, and restart ntpd? > It should create a new file, although you may have to wait on order > of > an hour for that to happen.  Comparing the format of the files might > make clearer what went wrong. > > Possibly, you've simply ended up with an empty drift file and need to > wait long enough for it to be populated with real data. > > In any case, you don't need a ntpd.drift when you start, it simply > speeds up the process of ntpd determining the clock drift for your > specific hardware upon subsequent reboots.  If it breaks upon major > upgrade, you can simply delete the file and have ntpd recreate it, > though I've never heard of an upgrade breaking the file.  Usually > this > is due to people manually creating the file and/or having directory > write permissions that keep ntpd from writing a file with real data. > > Is this a fresh install of 11.0 p1?  You really don't give us much to > go on. > > Thank you. I didn't restart yet but ntpd.drift is updated. And I upgraded to 11.0 from 10.3 Release.