RE: How to start NTPD?
Hi Steven,
I just took out this Debian box for testing. It has
not been used for more than a year. I believe I have
ntp installed and running on this box, IIRC.
> If you are a client then you can run ntpdate via a
> cronjob.
>
> eg
>
> crontab -e
# crontab -e
only displaying an empty table.
> running ntpq to test it,
>
> then at the > prompt type ep then as, these should
> give you outputs.
# ntpq
ntpq> as
ntpq: read: Connection refused
ntpq>
Kindly advise how to fix it. TIA
B.R.
Stephen Liu
> thing@katrina:~$ ntpq
> ntpq> as
> ind assID status conf reach auth condition
> last_event cnt
>
===========================================================
> 1 15004 9124 yes yes none falsetick
> reachable 2
> 2 15005 9424 yes yes none candidat
> reachable 2
> 3 15006 9624 yes yes none sys.peer
> reachable 2
> 4 15007 9424 yes yes none candidat
> reachable 2
> ntpq> pe
> remote refid st t when poll
> reach delay offset jitter
>
==============================================================================
> xmu-relay2.masse tick.usno.navy. 2 u 860 1024 377
> 44.740 75.290 8.830
> +orthanc.otago.a buzzybee.its.wa 2 u 817 1024 377
> 61.753 0.696 3.386
> *amp-gw.compass. bigben.clix.net 2 u 831 1024 377
> 36.793 0.581 0.556
> +gen2.ihug.co.nz bigben.clix.net 2 u 922 1024 377
> 43.803 -2.286 3.600
>
> regards
>
> Thing
>
> -----Original Message-----
> From: JoeHill [mailto:joehill@sympatico.ca]
> Sent: Wednesday, 22 September 2004 11:18 a.m.
> To: Debian Users
> Subject: How to start NTPD?
>
>
>
> In installed the NTP, as well as the ntp-docs, and
> for the life of me I can't
> figure out how to start ntpd. There does not even
> appear to be an 'ntpd'
> anywhere (tried 'which'), and from going over the
> docs I cannot find a section
> on how to start/stop/restart the service, and there
> is no seperate 'ntpd'
> package.
>
> I already have an NTP service running on this box, I
> just want my little Debian
> box to be in sync with it.
>
> On a related note, to start/stop/restart a service
> on my Mandrake machine, I use
> the 'service' command. I somehow ended up with the
> impression that the
> analagous command on Debian was 'dpkg-reconfigure'.
> I'm way off, I suspect.
> Clarification on that also appreciated.
>
> Thanks.
Reply to: