Syncing system time

Romain Kang yellowdog-general@lists.terrasoftsolutions.com
Thu Mar 27 00:54:01 2003


If you look at the date(1) man page, the two most likely sources
of time zone info are /etc/localtime and the TZ environmental
variable.  However, programs like system daemons disregard the TZ
environment and rely on /etc/localtime.

If /etc/localtime was set up correctly, you should be able to
remove TZ from your environment and still get the correct time
when you run date.  If this doesn't work, then the solution should
be simple:
	# cp /usr/share/zoneinfo/PST8PDT /etc/localtime

If that doesn't work, please show us the output of "date"
and "date -u" taken at the same time.  This may provide some
helpful clues.

Romain Kang                             Disclaimer: I speak for myself alone,
romain@kzsu.stanford.edu                except when indicated otherwise.