Time problem

Daniel Hartmeier daniel at benzedrine.cx
Sun Jun 4 05:04:48 PDT 2006


On Sun, Jun 04, 2006 at 02:19:24AM -0400, Bulk Mail wrote:

> System reports 22:21:18 on the third, while time is actually 01:57:08 on the 
> 4th.
> 
> ntpd.conf has:
> listen on *
> servers pool.ntp.org

See the -S and -s flags in ntpd(8). If the time is off more than 180s on
startup, it won't get corrected immediately by default. Either enable
-s, or use rdate -n (see rdate(8)) on startup, or manually now.

> localtime is linked to /usr/share/zoneinfo/EST5EDT
> (I live on the US east coast.)

That's probably working, try

  $ date -u
  $ date

Your localtime setting only influences the difference between those two
outputs, the time is always sync'ed in UTC. I.e. if UTC is wrong, so
will be your local time.

Daniel


More information about the Openbsd-newbies mailing list