From owner-freebsd-questions Wed Dec 18 7:29:23 2002 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 371E137B401 for ; Wed, 18 Dec 2002 07:29:22 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8961443EE5 for ; Wed, 18 Dec 2002 07:29:21 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.6) id gBIFSsRd066428; Wed, 18 Dec 2002 09:28:54 -0600 (CST) (envelope-from dan) Date: Wed, 18 Dec 2002 09:28:54 -0600 From: Dan Nelson To: Will Mitayai Keeso Rowe Cc: questions@FreeBSD.ORG Subject: Re: weirdness - timezone altered. Message-ID: <20021218152854.GG90954@dan.emsphone.com> References: <000d01c2a68d$457a2eb0$8300a8c0@shadow> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000d01c2a68d$457a2eb0$8300a8c0@shadow> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Dec 18), Will Mitayai Keeso Rowe said: > i'm experiencing something *very* weird. > > php and mysql and other apps on two of three of my servers are > suddenly are defaulting to GMT rather than my locale. Make sure you're not accidentally setting the TZ environment variable to something, since programs will use that instead of the timezone in /etc/localtime. Also if you are chrooting or jailing processes, they will default to GMT if they can't find /etc/localtime. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message