From owner-freebsd-questions@FreeBSD.ORG Mon Jul 27 22:53:20 2009 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 C38261065680 for ; Mon, 27 Jul 2009 22:53:20 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 823D88FC16 for ; Mon, 27 Jul 2009 22:53:20 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1MVZ4H-0003zk-Gg; Mon, 27 Jul 2009 23:53:19 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1MVZ4G-0001nY-55; Mon, 27 Jul 2009 23:53:16 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id n6RMrFkU016923; Mon, 27 Jul 2009 23:53:15 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id n6RMrFVR016905; Mon, 27 Jul 2009 23:53:15 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 27 Jul 2009 23:53:15 +0100 From: Anton Shterenlikht To: Zbigniew Szalbot Message-ID: <20090727225315.GA12917@mech-cluster241.men.bris.ac.uk> References: <4A6E2DE2.4080606@lcwords.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A6E2DE2.4080606@lcwords.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -3.5 X-Spam-Level: --- Cc: freebsd-questions@freebsd.org Subject: Re: ntpd / time synchronization 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: Mon, 27 Jul 2009 22:53:21 -0000 On Tue, Jul 28, 2009 at 12:44:50AM +0200, Zbigniew Szalbot wrote: > Hello, > > I guess there is something simple that is wrong but my server is not > really keeping the correct time. I have these options in /etc/rc.conf > > ntpd_enable="YES" > ntpd_flags="-g -c /etc/ntp.conf -p /var/run/ntpd.pid -f /var/db/ntp.drift" > > and here's the details of /etc/ntp.conf file: > > server 0.pl.pool.ntp.org > server 1.pl.pool.ntp.org > server 2.pl.pool.ntp.org > server 3.pl.pool.ntp.org > driftfile /var/db/ntp.drift > restrict default nopeer nomodify > > I used to have server 0.europe.pool.ntp.org in the ntp.conf file but > today changed all entries to *.pl.pool.* > > At the moment my clock is about 3 minutes behind time. It has been > running for a year and I do not have ntpdate enabled so I guess > subsequent reboots did not correct the drifting problem. > > Is there anything obvious I am missing here? Any advice would be greatly > appreciated! what does "ntpq -p" give you? -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423