Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 2009 23:53:15 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        Zbigniew Szalbot <z.szalbot@lcwords.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ntpd / time synchronization
Message-ID:  <20090727225315.GA12917@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <4A6E2DE2.4080606@lcwords.com>
References:  <4A6E2DE2.4080606@lcwords.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090727225315.GA12917>