Time on FreeBSD Server off

Hello all,

I hate to bring this up again (there are threads on this, but they don't solve my problem) but here's my problem: I have a FreeBSD VPS that just won't have the right time. When I run the date command it displays:
Code:
Fri Sep 27 17:12:11 EDT 2013

The date is correct, the time zone (EDT) is correct, but the time is way off. As the time the date command was run, the EDT time was 13:21:xx --- I ran the tzsetup utility and made all the right selections (as confirmed by the EDT output from date). I rebooted the server. I also ran ntpd -q.

No luck. Help.
-Premal
 
Is ntpd(8) enabled? If not, does it set the time correctly if you run ntpd -x -q? Virtual machines often have trouble keeping time, usually helped by adding
Code:
kern.hz="100"
to /boot/loader.conf and corrected by running ntpd(8) as a daemon.
 
@wblock@,

Thanks.
  1. When ntpd -x -q is run, the time is not corrected.
  2. Once I added
    Code:
    kern.hz="100"
    to the loader.conf file and then I run ntpd as a daemon, the time was corrected! Hooray!
-Premal
 
Last edited by a moderator:
Back
Top