[ntp:questions] Local clock question with dialup connection
hal-usenet at ip-64-139-1-69.sjc.megapath.net
Thu Apr 19 19:32:16 UTC 2007
>It looks like I need to delay ntpd being started at bootup, or at least delay
>the polling of the servers. I see there is a script for this in the 4.2.4p0
>version, but can't see such a workaround on a rpm installed version as the
>4.2.0-7 version is on FC2.
>Someway or other this is going to be fixed.
I'd try the new "dynamic" version.
I think your problem was that the installation recipe didn't
include the startup dance and you didn't know enough about
that area to fake it.
I'm not a wizard in this area. Here is (roughly) what I would try:
Look at and/or make a copy of your current startup script.
Mine is in:
You also want to check:
There will also be a bunch of links from things like
Those are links back to the first file. They are shell scripts
used by the startup dance when changing runlevels. "K" is for
kill, and "S" is for start. The number is the order to process
them in. man chkconfig should help you understand this area.
Check the SEE ALSO section for more info.
Where is your old/normal ntpd? It's probably in /usr/sbin/ntpd
Where does the new version get installed? It's probably
There are several places where you can make a simple
edit to switch to the new version.
The first is in:
Set the search path to find the new version first.
You need something like:
(I'm not a shell hacker. That could easily be wrong.)
The second is to edit
It has this line:
Change that to point to where the installer puts your new version.
Or rather than doing a make install, kludge it by hand
cp -p /usr/sbin/ntpd /usr/sbin/ntpd-old
mv <wherever>/ntpd/ntpd /usr/sbin/ntpd
I'd leave the old ntp.conf alone until you get the new
version of ntpd working. Then add the dynamic lines.
(That leaves you with less work to undo if you want to back out.)
You can see the version string in /var/log/messages at startup time.
/sbin/service ntpd restart
is a handy way to restart ntpd.
These are my opinions, not necessarily my employer's. I hate spam.
More information about the questions