ntpdate start up sequence
Johan Brannlund
johan_brn at yahoo.com
Thu Jun 22 02:29:38 UTC 2006
On Wed, 21 Jun 2006 12:43:53 -0700, Tom Smith wrote:
> I'm setting up a DNS server that will use itself for name resolution,
> versus using another server. This created a problem with ntpdate.
>
> ntpdate starts from /etc/rcS.d, which loads before bind9 or any other
> non-system services. Because of this, ntpdate is unable to locate the
> time server that it's looking for (since DNS isn't started when it loads).
The simplest solution might be to move ntpdate to start later than
bind. To do this in a persistent manner:
1. Rename the symlink from rcS.d/S20ntpdate (or whatever it's called) to
rcS.d/K20ntpdate. This will prevent newer versions of the package from
messing with your changes.
2. Create a symlink from (say) rc2.d/S80ntpdate to ../init.d/ntpdate .
Regards,
Johan
More information about the ubuntu-users
mailing list