*BSD News Article 73993


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!usenet.eel.ufl.edu!tank.news.pipex.net!pipex!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!uknet!sunsite.doc.ic.ac.uk!qmw!news
From: scott@crux.dcs.qmw.ac.uk (Scott Mitchell)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: /etc/localtime?
Date: 16 Jul 1996 11:38:09 GMT
Organization: Queen Mary & Westfield College, London, UK
Lines: 36
Message-ID: <SCOTT.96Jul16123810@crux.dcs.qmw.ac.uk>
References: <4sasqr$3v8@pelican.unf.edu>
NNTP-Posting-Host: crux.dcs.qmw.ac.uk
In-reply-to: caddy@osprey.unf.edu's message of 14 Jul 1996 13:31:07 GMT

In article <4sasqr$3v8@pelican.unf.edu> caddy@osprey.unf.edu (Cliff Addy) writes:

> From: caddy@osprey.unf.edu (Cliff Addy)
> Newsgroups: comp.unix.bsd.freebsd.misc
> Date: 14 Jul 1996 13:31:07 GMT
> Organization: University of North Florida
> 
> 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.  Running sysinstall to set the timezone
> seems to have no effect (yes, I rebooted).
> 
> Any hints?
> 
> Cliff

I think someone meant /usr/share/zoneinfo.  /etc/localtime is usually
a copy/symlink to the appropriate file under that directory.

Does 'date' give you the correct timezone?
Is your CMOS clock running UTC or local time (see adjkerntz(1))?

If date says the right thing I'd say you have a problem with your
Apache config.

Share and enjoy,

	Scott

-- 
===========================================================================
 Scott Mitchell, CompSci Dept, Queen Mary & Westfield College, London, UK
       mailto:scott@dcs.qmw.ac.uk   http://www.dcs.qmw.ac.uk/~scott
            finger scott@ruby.dcs.qmw.ac.uk for PGP public key