Jeff Abrahamson on 9 Feb 2006 20:29:54 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] debian and ntpd / ntpdate


On Thu, Feb 09, 2006 at 02:54:22PM -0500, Eugene Smiley wrote:
>   [26 lines, 167 words, 1209 characters]  Top characters: te_nioas
> 
> Jeff Abrahamson wrote:
> > Debian says that ntpd doesn't start automatically nor even provide an
> > init.d script because the maintainer can't find a solution that works
> > sufficiently broadly.  Result, "apt-get install ntp" doesn't have
> > quite the intended behavior.  Sadly, the distro doesn't include any
> > sample scripts for init.d/, either.
> 
> That's funny, /etc/init.d/ntp-server (start|stop) works for me. I'll
> grant that I must pay attention to if its running after reboot.

Ah, I see now.  The init.d file comes from ntp-server, not from ntp.
Silly me, I just wanted a client and so didn't look at the server
package.

OK, now I'm running an ntp server and I've dropped the ntpdate line
from my root crontab.


> > Rather than spend the time to make a robust /etc/init.d/ntp-client, I
> > just added the following to my root crontab:
> > 
> >     23 4 * * *    /etc/init.d/ntpdate start 2>&1 >/dev/null
> > 
> > Does this seem somehow to be a bad move?
> 
> As someone involved with the NTP pool project, I say it's not the
> prefered behavior. It tends to cause the servers to take a beating,
> especially when people set cron to run once an hour at :00.

That, of course, was the reason for picking the semi-random 4:23...

-- 
 Jeff

 Jeff Abrahamson  <http://www.purple.com/jeff/>    +1 215/837-2287
 GPG fingerprint: 1A1A BA95 D082 A558 A276  63C6 16BF 8C4C 0D1D AE4B

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug