[ntp:questions] Busybox and ntp
kostecke at ntp.org
Wed Dec 16 21:40:25 UTC 2009
On 2009-12-16, jam725 <jamoore84 at gmail.com> wrote:
> but have hit some snags where certain commands are not supported in
> busybox (service start/stop/reset, chkconfig).
You don't need those commands. Just run the init scripts directly.
> At boot ntpd looks to
> read from somewhere:
> Running ntpdate: 16 Dec 17:39:43 ntpdate: step time server
> 220.127.116.11 offset 1260988767.511027 sec
ntpd != ndpdate
> but issuing an ntpdate command returns:
> 16 Dec 18:22:01 ntpdate: no servers can be used, exiting
ntpdate needs at least one time server name on the command-line.
> what can I do to test that this is working? 'pgrep ntpd' returns only
> one process number where the above link makes it sound I should be
> seeing several.
1) ps ax | grep ntpd may show something like this:
3458 pts/2 R+ 0:00 grep ntpd
26773 ? Ss 0:02 /usr/sbin/ntpd -p /var/run/ntpd.pid -u 103:104 -g -N
2) try 'ntpq -p' and 'ntpq -crv'
Steve Kostecke <kostecke at ntp.org>
NTP Public Services Project - http://support.ntp.org/
More information about the questions