Thread: system time and NTP
not sure when started exactly. had comcast installed last thursday, had at&t before week , half no internet in between. other that, haven't changed anything.
noticed on monday system time off, , keeps happening. i've never had issue before. i'd run sudo ntpdate pool.ntp.org update, fine, , end being 8 minutes fast again next day (cron firing off , getting system emails early). system has been week, not happening when rebooting.
setup cron ntp update every hour. let run , here output.
in syslog
code:jun 29 12:10:03 tux ntpdate[14790]: step time server 128.10.254.7 offset -4.521275 sec jun 29 12:10:03 tux ntpd[14818]: ntpd 4.2.4p8@1.1612-o tue apr 19 07:08:29 utc 2011 (1) jun 29 12:10:03 tux ntpd[14819]: precision = 1.000 usec jun 29 12:10:03 tux ntpd[14819]: ntp_io: estimated max descriptors: 1024, initial socket boundary: 16 jun 29 12:10:03 tux ntpd[14819]: listening on interface #0 wildcard, 0.0.0.0#123 disabled jun 29 12:10:03 tux ntpd[14819]: listening on interface #1 wildcard, ::#123 disabled jun 29 12:10:03 tux ntpd[14819]: listening on interface #2 lo, 127.0.0.1#123 enabled jun 29 12:10:03 tux ntpd[14819]: listening on interface #3 eth1, 192.168.2.102#123 enabled jun 29 12:10:03 tux ntpd[14819]: kernel time sync status 2040 jun 29 12:10:03 tux ntpd[14819]: frequency initialized -10.360 ppm /var/lib/ntp/ntp.drift
1 thing guess, thoughts on why system time getting off track in first place. , two, issue how setup cron , log entries syslog? don't understand why have started recently.
cron not way keep time update. let ntpd run, keep clock accurate (that's it's for). clock drift 8minutes in single day not common not rare either. consumer-grade computers notoriously bad @ keeping time (hence why ntpd exists).
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [SOLVED] system time and NTP
Ubuntu
Comments
Post a Comment