[afnog] Xntp on Solaris 9
sematin@mtn.co.ug
sematin at mtn.co.ug
Fri Jan 27 18:28:37 EAT 2006
Hi all,
I think I am missing something here. I have setup my ntp.conf file on a
solaris 9 box to pick from some stratum 2 servers but after setting it up the
output of the date command gives me time that is 6 hours off my current time.
I have set the correct timezone and this behaviour is puzzling me. Contents
of /etc/default/init are:
TZ=Africa/Kampala
CMASK=022
LC_COLLATE=en_US.ISO8859-1
LC_CTYPE=en_US.ISO8859-1
LC_MESSAGES=C
LC_MONETARY=en_US.ISO8859-1
LC_NUMERIC=en_US.ISO8859-1
LC_TIME=en_US.ISO8859-1
/etc/inet/ntp.conf
server ntp0.cornell.edu version 3
server ticker.cis.sac.accd.edu version 3
server ntp-1.cede.psu.edu version 3
server ntp.exnet.com version 3
peer sauga02.mtn.co.ug version 3
ntpq -p
root at sauga01 # ntpq -p
remote refid st t when poll reach delay offset
disp
=============================================================================
=
cudns.cit.corne ntp2.usno.navy. 2 u 56 64 3 554.20 -17.408
7881.81
venus.cis.sac.a navobs1.gatech. 2 u 56 64 3 587.75 -1.449
7882.45
ancalagon.cede. ntp1.usno.navy. 2 u 56 64 3 567.02 -11.166
7881.62
rosehip.exnet.c time.nist.gov 2 u 120 64 2 653.70 -14.814
15875.0
sauga02.mtn.co. cudns.cit.corne 3 u 55 64 3 0.32 0.738
7882.20
root at sauga01 # ntptrace ntp0.cornell.edu
cudns.cit.cornell.edu: stratum 2, offset 0.025965, synch distance 0.04346
ntp2.usno.navy.mil: stratum 1, offset 0.026266, synch distance 0.00031, refid
'USNO'
What do I do to get the date command to display the correct time with
timezone adjustments?
More information about the afnog
mailing list