Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: /etc/localtime? Date: 15 Jul 1996 22:46:35 GMT Organization: Private BSD site, Dresden Lines: 24 Message-ID: <4sehob$hn4@uriah.heep.sax.de> References: <4sasqr$3v8@pelican.unf.edu> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.6 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E caddy@osprey.unf.edu (Cliff Addy) wrote: > We're having a problem with the Apache web server logging all its actions in > GMT, rather than local time. Someone told me that the problem may be in > /etc/localtime not being pointed to the correct file in /usr/share/timezone. > However, /usr/share/timezone doesn't exist and /etc/localtime is a binary > file that I don't know how to change. Uh, it's actually /usr/share/zoneinfo. You can either copy or symlink the appropriate file from under /usr/share/zoneinfo as /etc/localtime. (The default is now to copy, that's why you are seeing it as ``binary junk''. The only drawback of the symlink method is that you won't have a local time when running single-user with /usr unmounted.) However, i don't know whether this will help Apache. I would have to look into our Apache logs in order to see whether it logs in UTC or local time. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)