Re: ntpd / time synchronization

2009-07-29 Thread RW
On Wed, 29 Jul 2009 08:48:44 +0200 Zbigniew Szalbot wrote: > Hello, > > Jerry pisze: > > >> 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

Re: ntpd / time synchronization

2009-07-29 Thread Zbigniew Szalbot
Hello, Jerry pisze: 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. Thank you Jerry -

Re: ntpd / time synchronization

2009-07-28 Thread Jerry
On Tue, 28 Jul 2009 00:44:50 +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 /

Re: ntpd / time synchronization

2009-07-27 Thread Chuck Swiger
Hi-- On Jul 27, 2009, at 4:08 PM, Zbigniew Szalbot wrote: OK. So removing the restrictions should cause the time to be synced? Thank you for your patience and help! Yes, try it and see-- it's most likely to be the cause of problems. If you want to set a default restrict line, you'll want t

Re: ntpd / time synchronization

2009-07-27 Thread Zbigniew Szalbot
Chuck Swiger pisze: You can't readily combine a restrict statement with using random timeservers from the NTP pool; you would need to list specific servers and add blank restrict statements for each server you trust. What you've configured is likely querying the 4 servers listed for time, but

Re: ntpd / time synchronization

2009-07-27 Thread Anton Shterenlikht
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

Re: ntpd / time synchronization

2009-07-27 Thread Chuck Swiger
On Jul 27, 2009, at 3:44 PM, Zbigniew Szalbot wrote: 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