Re: ntpdate problem

2010-03-13 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 13/03/2010 19:08:38, RW wrote: > ntpd_sync_on_start="YES" > > is not a complete substitute for running ntpdate at startup. It allows > ntpd to make a large correction, but it doesn't block the boot sequence > so you could still get a large step-c

Re: ntpdate problem

2010-03-13 Thread Jonathan Chen
On Sat, Mar 13, 2010 at 01:19:54PM -0600, Programmer In Training wrote: > On 03/13/10 13:08, RW wrote: > > > ntpd_sync_on_start="YES" > > > you can run ntpdate at boot with > > > >ntpdate_enable=YES > > > > the rc script gets the servers from ntp.conf > > Can you have both in rc.conf wit

Re: ntpdate problem

2010-03-13 Thread Programmer In Training
On 03/13/10 13:08, RW wrote: > ntpd_sync_on_start="YES" > you can run ntpdate at boot with > >ntpdate_enable=YES > > the rc script gets the servers from ntp.conf Can you have both in rc.conf without abusing the ntp server(s) or should it just be one or the other? I'd like my clock to be

Re: ntpdate problem

2010-03-13 Thread RW
On Sat, 13 Mar 2010 18:03:42 + Matthew Seaman wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 13/03/2010 14:47:31, Антон Клесс wrote: > > I saw that more than year ago on my teacher's server, when I was > > deal with my first FreeBSD, so it's just a kind of habit. > > It's a

Re: ntpdate problem

2010-03-13 Thread Programmer In Training
While not having been part of this discussion I just want to say thanks for the tips. I've used them to cease using ntpdate as well and am already synced with a time server I know to be constantly reliable. -- Yours In Christ, PIT Emails are not formal business letters, whatever businesses may w

Re: ntpdate problem

2010-03-13 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 13/03/2010 14:47:31, Антон Клесс wrote: > I saw that more than year ago on my teacher's server, when I was deal with > my first FreeBSD, so it's just a kind of habit. It's a bad habit you should try and cure yourself of. Stepping the clock with nt

Re: ntpdate problem

2010-03-13 Thread Антон Клесс
2010/3/13 Randal L. Schwartz > > But really, why are you using ntpdate and not just ntpd? > > -- > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 > http://www.stonehenge.com/merlyn/> > Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. > See http://

Re: ntpdate problem

2010-03-12 Thread Randal L. Schwartz
> "RW" == RW writes: RW> You can different servers like this: RW> 0.ru.pool.ntp.org RW> 1.ru.pool.ntp.org RW> 2.ru.pool.ntp.org RW> 3.ru.pool.ntp.org But really, why are you using ntpdate and not just ntpd? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 h

Re: ntpdate problem

2010-03-12 Thread RW
On Fri, 12 Mar 2010 18:06:45 +0300 Антон Клесс wrote: > So, while ru.pool.ntp.org is pool of several servers, I have to run > it as > > 5 * * * * /usr/sbin/ntpdate ru.pool.ntp.org ru.pool.ntp.org > ru.pool.ntp.org> /dev/null > > to check 3 servers from pool? > You can different servers like t

Re: ntpdate problem

2010-03-12 Thread Антон Клесс
So, while ru.pool.ntp.org is pool of several servers, I have to run it as 5 * * * * /usr/sbin/ntpdate ru.pool.ntp.org ru.pool.ntp.org ru.pool.ntp.org> /dev/null to check 3 servers from pool? 2010/3/12 RW > On Fri, 12 Mar 2010 09:22:07 -0500 > Nathan Vidican wrote: > > > or more specifically,

Re: ntpdate problem

2010-03-12 Thread RW
On Fri, 12 Mar 2010 09:22:07 -0500 Nathan Vidican wrote: > or more specifically, if you don't want to leave ntpd running, > read-up on 'ntpd -q' which mimmicks the behavior of ntpdate but > allows you to use multiple ntp servers. ntpdate supports multiple servers too, you just list them as extra

Re: ntpdate problem

2010-03-12 Thread Nathan Vidican
man ntpdate: " -s Divert logging output from the standard output (default) to the system syslog(3) facility. This is designed primarily for conve- nience of cron(8) scripts. " Change your cron job to 5 * * * * /usr/sbin/ntpdate -s ru.pool.ntp.org This will su

Re: ntpdate problem

2010-03-12 Thread Leslie Jensen
Антон Клесс skrev 2010-03-12 11:57: I have the following line in my root cron: 5 * * * * /usr/sbin/ntpdate ru.pool.ntp.org> /dev/null That must hourly adjust system time via NTP. But I discover that it works from time to time: some days just once, some days 5-6 times a day I receive e-mail w

ntpdate problem

2010-03-12 Thread Антон Клесс
I have the following line in my root cron: 5 * * * * /usr/sbin/ntpdate ru.pool.ntp.org > /dev/null That must hourly adjust system time via NTP. But I discover that it works from time to time: some days just once, some days 5-6 times a day I receive e-mail with text like 12 Mar 12:05:05 ntpdate[2