Knowledge Base ISC Main Website Ask a Question/Contact ISC
Why are my logs in GMT (UTC)?
Author: ISC Support Reference Number: AA-00306 Views: 1910 Created: 2011-05-16 14:18 Last Updated: 2017-03-15 16:28 0 Rating/ Voters

System-wide configurations for local time zone settings are commonly set via configuration files which vary between operating systems.  (If your OS is not listed below, consult your man pages to find out how to set the system-wide time zone default for your system.) 

Special considerations when running chrooted

A frequent problem occurring for operators who are running their servers chrooted is that they have omitted the time zone configuration files from the chroot environment, resulting in logs which are recorded in whatever time zone the system hardware clock may be set to, generally UTC.


FreeBSD, Linux: /etc/localtime

Solaris: /etc/TIMEZONE and /usr/share/lib/zoneinfo

OSF: /etc/zoneinfo/localtime

AIX: /etc/environment ($TZ)

See also tzselect(1), tzset(3) and zic(8).


© 2001-2017 Internet Systems Consortium

For assistance with problems and questions for which you have not been able to find an answer in our Knowledge Base, we recommend searching our community mailing list archives and/or posting your question there (you will need to register there first for your posts to be accepted). The bind-users and the dhcp-users lists particularly have a long-standing and active membership.

ISC relies on the financial support of the community to fund the development of its open source software products. If you would like to support future product evolution and maintenance as well having peace of mind knowing that our team of experts are poised to provide you with individual technical assistance whenever you call upon them, then please consider our Professional Subscription Support services - details can be found on our main website.

Feedback
  • There is no feedback for this article
Quick Jump Menu