From owner-freebsd-questions@FreeBSD.ORG Thu Aug 24 00:14:18 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 204D716A4DA; Thu, 24 Aug 2006 00:14:18 +0000 (UTC) (envelope-from freebsd-questions@voidcaptain.com) Received: from mx4.x15.net (mx4.x15.net [69.55.237.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id C92F943D45; Thu, 24 Aug 2006 00:14:17 +0000 (GMT) (envelope-from freebsd-questions@voidcaptain.com) Received: from j1.x15.net [63.196.213.76] by mx4.x15.net with ESMTP id 608060222X1GG2rR0009yr9i; Thu, 24 Aug 2006 00:14:17 +0000 Message-ID: <44ECEF3A.5000108@voidcaptain.com> Date: Wed, 23 Aug 2006 17:13:46 -0700 From: Pete Slagle MIME-Version: 1.0 To: Robert Gabaree References: <68E7556C-F8C5-444D-8C8F-5C3AF3F2054A@rawb.net> <20060823035500.GT1113@wantadilla.lemis.com> In-Reply-To: <20060823035500.GT1113@wantadilla.lemis.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Greg 'groggy' Lehey , freebsd-questions@freebsd.org Subject: Re: Time zone isn't displaying right one with 'tzsetup' 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: Thu, 24 Aug 2006 00:14:18 -0000 Greg 'groggy' Lehey wrote: > On Tuesday, 22 August 2006 at 23:45:19 -0400, Robert Gabaree wrote: >> Hi, >> >> I tried to update my new server to the new time zone by running >> 'tzsetup' and selecting Eastern. However, instead of showing 11:45, >> it shows 6:45 - 5 hours later. I even tried to do a 'cp /usr/share/ >> zoneinfo/EST5EDT /etc/localtime" but it didn't help. What can I do >> to fix it? > > That depends on whether you're running ntpd or not. If you are, your > best bet is to stop ntpd and run ntpdate, specifying the same server, > then restart ntpd. > > If you're not running ntpd, just set the date: > > date 08232355 > > See the man page for the format. > > Greg Also, instead of copying EST5EDT to /etc/localtime you can use a symlink. That way when EST5EDT gets updated you will automatically use the new version. So, su cd /etc ln -s /usr/share/zoneinfo/EST5EDT localtime exit Obviously, substitute the appropriate zoneinfo file if you are not on US Eastern time.