[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Timezone info



Thanks for your help, but how do I see what time change rules are in the zone file ?

My /etc/localtime is a symlink to /usr/share/zoneinfo/Europe/London.

$ strings /etc/localtime
TZif
BDST
$

>From that output I cannot tell that the time will change at 2am. 

man tzfile and man tzset do not seem to show me how to change the time at which I would like the machine to start interpreting daylight savings time.

>>If zoneinfo file contains correct rules it will be the
>>same moment as set by the government. Therefore, you will not have any
>>problems with the time change.


This is important because we have Oracle running on these machines, and Oracle does not react well to time changes.

On our HPUX boxes we have a /usr/lib/tztab file in which we can specify at what time to move over to daylight saving, and we schedule Oracle to be down at this time. 
Am I correct in thinking that we do not have this functionality on RH ?

Thanks,
Nick .


> -----Original Message-----
> From: A Fadyushin it-centre ru [mailto:A Fadyushin it-centre ru]
> Sent: 28 October 2005 14:54
> To: redhat-list redhat com
> Subject: RE: Timezone info
> 
> 
> The rules for time changes are described in zoneinfo files. So, if you
> use the correct link '/etc/localtime' and that link points to the
> up-to-date file (i.e. the file /usr/share/zoneinfo/Europe/London
> contains officially declared time change rules which is currently in
> force) your boxes will change the time exactly at the moment set in
> zoneinfo files. If zoneinfo file contains correct rules it will be the
> same moment as set by the government. Therefore, you will not have any
> problems with the time change.
> 
> Also, you do not need to reboot the system for the change to take
> effect. The internal clock in the Linux kernel always uses UTC,
> regardless of tile zone. The localtime is then produced from 
> the UTC on
> the proccesses' requests in accordance with time zone 
> information (e.g.
> from /etc/localtime). At the moment of time change the kernel 
> clock will
> not be changed, only the rules for computation of local time will be
> changed.
> 
> Alexey Fadyushin.
> Brainbench MVP for Linux.
> http://www.brainbench.com
> 
> 
> > -----Original Message-----
> > From: redhat-list-bounces redhat com [mailto:redhat-list-
> > bounces redhat com] On Behalf Of Lunt, Nick
> > Sent: Friday, October 28, 2005 2:24 PM
> > To: Redhat (E-mail)
> > Subject: Timezone info
> > 
> > Hi folks,
> > 
> > This Sunday in the UK the time will be going backwards one hour. I
> need to
> > know if I can tell the system when to make this change or how I can
> find
> > out when this change is scheduled for.
> > 
> > All our boxes use a local timeserver which punts out the 
> UTC time and
> our
> > linux boxes convert that into the localtime for the box.
> > 
> > Here's some info from one of my boxes
> > 
> > # date
> > Fri Oct 28 11:18:27 BST 2005
> > # date -u
> > Fri Oct 28 10:18:29 UTC 2005
> > 
> > Our /etc/localtime is pointing to /usr/share/zoneinfo/Europe/London.
> > After the time change on Sunday `date` and `date -u` will output the
> same
> > time (I hope ;)
> > 
> > Can anyone give me any pointers on finding out when/how the 
> boxes will
> go
> > back an hour please ?
> > 
> > It seems that the machine will only pick up the new time after a
> reboot  -
> > can anyone confirm this ?
> > 
> > I've tried googling with not much luck.
> > I've also browsed the archives for last year around October 
> but didn't
> see
> > anything there either.
> > 
> > Cheers
> > Nick .
> > 
> > 
> > 
> > Wesleyan Administration Services Ltd registered number 5188850 and
> > Wesleyan Unit Trust Managers Ltd registered number 2114859 ("WUTM
> Ltd")
> > are wholly owned subsidiary companies of Wesleyan Assurance Society,
> whose
> > registered number is ZC145.
> > WUTM Ltd is a member of IMA. For ISA/PEP/Unit Trusts Administration
> > Centre: PO Box Basildon SS15 5WQ Telephone: 0870 601 6129
> > Wesleyan Assurance Society and WUTM Ltd are authorised and regulated
> by
> > the Financial Services Authority.
> > Head Office, Colmore Circus, Birmingham B4 6AR. Telephone: 0121 200
> 3003
> > Fax 0121 200 2971.
> > Website: www.wesleyan.co.uk Telephone calls may be recorded for
> monitoring
> > and training purposes.
> > 
> > CONFIDENTIALITY NOTICE
> > 
> > This communication and the information it contains is 
> intended for the
> > person or organisation to whom it is addressed. Its contents are
> > confidential and may be protected in law. Unauthorised use, 
> copying or
> > disclosure of any of it may be unlawful. If you are not the intended
> > recipient, please contact us immediately.
> > 
> > The contents of any attachments in this e-mail may contain software
> > viruses, which could damage your own computer system. While every
> > reasonable precaution to minimise this risk has been taken, 
> we cannot
> > accept liability for any damage that you sustain as a result of
> software
> > viruses. You should carry out your own virus checking 
> procedure before
> > opening any attachment.
> > 
> > 
> > --
> > redhat-list mailing list
> > unsubscribe 
> mailto:redhat-list-request redhat com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]