Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2006 13:25:00 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Robert Gabaree <lists@rawb.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Time zone isn't displaying right one with 'tzsetup'
Message-ID:  <20060823035500.GT1113@wantadilla.lemis.com>
In-Reply-To: <68E7556C-F8C5-444D-8C8F-5C3AF3F2054A@rawb.net>
References:  <68E7556C-F8C5-444D-8C8F-5C3AF3F2054A@rawb.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--0WGqsT62A4RTsSXf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.

--0WGqsT62A4RTsSXf
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFE69GUIubykFB6QiMRAgyrAKCMdCADQ1fvF5DV14PeqQglVsqXgwCgiRk4
laykPc/Kgc9EtlYi+UCBjng=
=CbEU
-----END PGP SIGNATURE-----

--0WGqsT62A4RTsSXf--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060823035500.GT1113>