From owner-freebsd-questions@FreeBSD.ORG Sat Aug 25 03:59:04 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5938A16A418 for ; Sat, 25 Aug 2007 03:59:04 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.232]) by mx1.freebsd.org (Postfix) with ESMTP id 170EB13C467 for ; Sat, 25 Aug 2007 03:59:03 +0000 (UTC) (envelope-from modulok@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so591989nzf for ; Fri, 24 Aug 2007 20:59:03 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=COiVmT1ppZjZXP5IpltJOxEOJU2jCOxgc2+pokzkotuEIAuU1tQVZv8RPqf10lpVeasndtOioeKw+aAjqZZWNGm5wiagcawEEBqIpN0QLt56ica2z2D19DfSepXuhN+lz3Inms86YGFyWZjp0EEXKy8D8mxeTHaHLXmPxWR69vM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IJ1CZkBsy3XQ6PBYpAngYjVNIVzU5LGuCR9e3imF5oLnsJRomzsQ3SP8Nn3N2vOzfwcHv1HrJCtlBTqpFz/AYmNzuJvrrPIZtb80eV6Io8yOkcgyn3OIYFexS+vwLOEntiEsH0l5p7bCM9gtN2pU+iROqxYg2Wy1dA9hGAJGoyg= Received: by 10.141.133.14 with SMTP id k14mr1764459rvn.1188014343054; Fri, 24 Aug 2007 20:59:03 -0700 (PDT) Received: by 10.140.170.12 with HTTP; Fri, 24 Aug 2007 20:59:03 -0700 (PDT) Message-ID: <64c038660708242059l63288da3pc321a289df6912ed@mail.gmail.com> Date: Fri, 24 Aug 2007 21:59:03 -0600 From: Modulok To: msoulier@digitaltorque.ca In-Reply-To: <20070825024209.GG5877@tigger.digitaltorque.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070825024209.GG5877@tigger.digitaltorque.ca> Cc: freebsd-questions@freebsd.org Subject: Re: time issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Aug 2007 03:59:04 -0000 > Hello, > > I recently noticed that my clock was running a few minutes slow, even though > I > have ntpd running on the box. Now I'm seeing this on occasion. > > Aug 24 20:17:10 kanga dovecot: Time just moved backwards by 105 seconds. > This > might c > ause a lot of problems, so I'll just kill myself now. > http://wiki.dovecot.org/TimeMov > edBackwards > > > Does this suggest a hardware clock issue? Is this a system that is left running 24/7 connected to the Internet, or a system which is frequently turned off? If the latter, you might want to do as has been suggested by re-syncing the clock at boot time, and check the CMOS battery on the mainboard. The current recommended method of clock sync at boot time is is via ntpd(8) instead of ntpdate(8), (as of FreeBSD 6.1 and possibly earlier). To quote the ntpdate(8) manual page: "Note: The functionality of this program is now available in the ntpd(8) program. See the -q command line option in the ntpd(8) page. After a suitable period of mourning, the ntpdate utility is to be retired from this distribution." To accomplish this simply add the following like to /etc/rc.conf ntpd_sync_on_start="YES" # Synchronize clock at startup. -Modulok-