Date: Tue, 28 Jul 2009 07:15:11 -0400 From: Jerry <gesbbb@yahoo.com> To: freebsd-questions@freebsd.org Subject: Re: ntpd / time synchronization Message-ID: <20090728071511.019d583a@scorpio.seibercom.net> 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, 28 Jul 2009 00:44:50 +0200 Zbigniew Szalbot <z.szalbot@lcwords.com> 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" Assuming you are running the system ntpd file, the above are not really required. They are the defaults anyway. Try commenting out the line and restarting ntpd. > 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 You are restating the 'driftfile again', why? Take out the restrict line. I doubt if you really need it. > 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! > > Thank you all very much! Are there any error messages logged? -- Jerry gesbbb@yahoo.com "Then you admit confirming not denying you ever said that?" "NO! ... I mean Yes! WHAT?" "I'll put `maybe.'" -- Bloom County
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090728071511.019d583a>