- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Timezone setup for Turkey
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 09:01 PM
03-31-2004 09:01 PM
Timezone setup for Turkey
I would like to launch again the following thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=149239
Harry's suggestions don't help me.
Kind regards and thanks in advance!
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 09:06 PM
03-31-2004 09:06 PM
Re: Timezone setup for Turkey
EET alone would not implement the DST correctly, which is probably your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 09:11 PM
03-31-2004 09:11 PM
Re: Timezone setup for Turkey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 09:29 PM
03-31-2004 09:29 PM
Re: Timezone setup for Turkey
0 3 31 10 2004 0-6 EET-2
This is correct for the current year. It seems to me, the common rule is the last Sunday of March and October
In this case the rule shoul be like this:
0 3 25-31 3 1983-2038 0 EETDST-3
0 3 25-31 10 1996-2038 0 EET-2
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 09:31 PM
03-31-2004 09:31 PM
Re: Timezone setup for Turkey
please insert the following entries numbered as 1 into the file /etc/profile and the others numbered 2 int to the file /etc/TIMEZONE
1-)/etc/profile
# Set the TIMEZONE
if [ -r /etc/TIMEZONE ]
then
. /etc/TIMEZONE
else
TZ=MST7MDT # change this for local time.
export TZ
fi
2-) cat /etc/TIMEZONE
TZ=EET-2EETDST
export TZ
Regards,
ALPER ONEY
SYBASE DBA
TAKASBANK INC, ISTANBUL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 09:33 PM
03-31-2004 09:33 PM
Re: Timezone setup for Turkey
It should already be in your tztab in /usr/lib/tztab
EET-2EETDST
0 3 25-31 3 1981-2038 0 EETDST-3
0 4 24-30 9 1981-2038 0 EET-2
To make it the default TZ edit it in /etc/TIMEZONE
You will need a reboot to force all the processes to use the new timezone
Also keep in mind that TZ is also set in /etc/profile and ~/.profile
HTH,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 09:55 PM
03-31-2004 09:55 PM
Re: Timezone setup for Turkey
I know that it is already in tztab and what to do in order to modify timezone now. But the problem is that is not happened automatically.
Victory indicated a possible solution.
ALPER,
in Turkey does your timezone change automatically? Or have you to do changes in tztab every march and october?
Kind regards,
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 10:04 PM
03-31-2004 10:04 PM
Re: Timezone setup for Turkey
You don't have to change the TIMEZONE file when you shift between summer- and wintertime, or Daylight saving time. The value EET-2EETDST means it will look into the tztab file to see if the first or the second part is currently the right one, depending on the current date. The tztab file will work until 2038.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 10:59 PM
03-31-2004 10:59 PM
Re: Timezone setup for Turkey
Elmar is right, there is the needed entry in /usr/lib/tztab, the file should not be updated.
You can see appropriate strings by:
grep EET /usr/lib/tztab.
In order to work according to this timezone variable TZ should be defined as EET-2EETDST
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 11:45 PM
03-31-2004 11:45 PM
Re: Timezone setup for Turkey
The answer for you questions is YES. The timezone changes automatically.
Here is the output of the command:
grep EET /usr/lib/tztab
EET-2EETDST
0 2 25-31 3 1981-2038 0 EETDST-3
0 1 25-31 10 1981-2038 0 EET-2
P.S I've been told that the command to set TIMEZONE is set_params used by the unix sa in our company.
HTH.
Regards
ALPER ONEY
SYBASE DBA
TAKASBANK INC, ISTANBUL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 12:03 AM
04-01-2004 12:03 AM
Re: Timezone setup for Turkey
have you seen the last Alper's post?
Alper comes from Turkey and his /usr/lib/tztab looks the following:
EET-2EETDST
0 2 25-31 3 1981-2038 0 EETDST-3
0 1 25-31 10 1981-2038 0 EET-2
If I launch on a my system
# grep EET /usr/lib/tztab
EET-2EETDST
0 4 25-31 3 1981-2038 0 EETDST-3
0 3 25-31 10 1996-2038 0 EET-2
The second column is different!!!
2 for March and 1 for October!
My question is:
Alper, have you changed it in tztab in order to change date automatically? Or did you install a new patch about tztab for Turkey?
Please I would like to unfix this node! Then I will submit points!
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 12:25 AM
04-01-2004 12:25 AM
Re: Timezone setup for Turkey
EET-2EETDST
0 4 25-31 3 1981-2038 0 EETDST-3
0 3 24-30 9 1981-1995 0 EET-2
0 3 25-31 10 1996-2038 0 EET-2
(It contains an extra line for the period 1981-1995)
The second column contains the hour on which the timezone should start (like cron). So, in Asper's case the timezone starts at 1 or 2 o'clock, while our versions start at 3 or 4 o'clock. I don't know which is correct for Turkey.
(Info like this can be found in 'man tztab')
Good luck, Elmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 12:53 AM
04-01-2004 12:53 AM
Re: Timezone setup for Turkey
I am not sure how it has been applied to our HP-UX 11i system because I am a sybase dba on HP-UX system, not an unix sa. The info gathered from the file /usr/lib/tztab is what we have currently for our HP-UX system. Maybe you can replace entries in your tztab file with mine for the section EET-2EETDST and find out if it helps.
Regards
ALPER ONEY
SYBASE DBA
TAKASBANK INC, ISTANBUL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 12:59 AM
04-01-2004 12:59 AM
Re: Timezone setup for Turkey
you've just tries
# set_parm timezone
Alper? isn't it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 01:02 AM
04-01-2004 01:02 AM
Re: Timezone setup for Turkey
However you hit the point! That is exactly my doubt: what is the correct set for Turkey? I think that it is like ALPER's system but he cannot give me a sure answer (thanks anyway ALPER :-)
Anyway it seems to be the story:
A specific timezone doesn't exist in tztab for Turkey! When an HP-UX system is installed in Turkey tztab MUST be modified, otherwise time won't change correctly.
Lorenzo,
Alper told me that he is not a system administrator and then he doesn't know how that change was done.
If anybody can add or deny something he will be welcome! :-)
Kind regards,
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 01:09 AM
04-01-2004 01:09 AM
Re: Timezone setup for Turkey
According to the latest HPUX installation
EET-2EETDST
0 4 25-31 3 1981-2038 0 EETDST-3
0 3 24-30 9 1981-1995 0 EET-2
0 3 25-31 10 1996-2038 0 EET-2
This can be checked in : http://www.timeanddate.com/worldclock/results.html?query=istanbul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 01:57 AM
04-01-2004 01:57 AM
Re: Timezone setup for Turkey
I have consulted to our Unix sa for your problem and I got information from HP Turkey. The expert I kept in touch told me that although they have info about Turkey's timezone on installation guiedes supplied by HP, that information is not true. He also indicated that although Turkey and Finland is at the same zone, they must have different switch time for day light saving periods. So he suggest that you should manually change the lines as I offered on my previous posts.
Regards
ALPER ONEY
SYBASE DBA
TAKASBANK INC, ISTANBUL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 06:23 PM
04-01-2004 06:23 PM
Re: Timezone setup for Turkey
Ok ALPER, thanks for news!
Last question for you, Alper (but if somebody else can answer me he will be welcome): I was informed that in these days in Turkey an official bulletin was published declarying that the hour for Daylight Saving Time is modified!!! From now on in March it will change at 1 o'clock (not anymore at 3 o'clock) and in October at 2 o'clock (not anymore at 4 o'clock).
Do you know it? Is it true?
Thanks a lot for info provided!
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 11:15 PM
04-01-2004 11:15 PM
Re: Timezone setup for Turkey
http://www.turkishpress.com/turkishpress/news.asp?ID=18717
I hope it can be useful for Turk System Administrators (of course for systems sited in Turkey). They should modify /usr/lib/tztab accordingly as follows (thanks ALPER):
EET-2EETDST
0 2 25-31 3 1981-2038 0 EETDST-3
#0 3 24-30 9 1981-1995 0 EET-2
0 1 25-31 10 1996-2038 0 EET-2
Kind regards,
Pedro