- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Reboot necessary after changing timezone ?
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
11-05-2001 06:11 AM
11-05-2001 06:11 AM
I have an Ingres DBMS running on a HP-UX 11 9000/810/D280 in Turkey.
The Unix gives the wright time (eg. 13:00), but Ingres shows a wrong time (eg. 14:00).
I noticed the TZ variable was set to EET-2EEST but there is no entry for EET-2EEST in the /usr/lib/tztab file. There is an entry for EET-2EETDST which is the correct timezone.
So I changed the /etc/TIMEZONE file into :
TZ=EET-2EETDST
export TZ
Result : no changes. The dbms still shows an 1 hour difference with the OS.
I have 2 questions :
a) Do I have to reboot the Unix system in order to let Ingres show the correct time ?
b) There is a configurable kernel parameter timezone set on 420 (default). Must this be changed too ?
Thanks in advance
Franky Leeuwerck
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 06:13 AM
11-05-2001 06:13 AM
Re: Reboot necessary after changing timezone ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 06:14 AM
11-05-2001 06:14 AM
Re: Reboot necessary after changing timezone ?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 06:47 AM
11-05-2001 06:47 AM
SolutionAs for the use of the kernel parameters 'dst' and 'timezone', Knowledge Base document #KBRC00007429 notes that "As long as your application programs use standard libc functions to obtain timezone information, you do not have to set the timezone or dst kernel parameter.".
For more information, I've attached the full document.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 07:00 AM
11-05-2001 07:00 AM
Re: Reboot necessary after changing timezone ?
export TZ
Result : no changes. The dbms still shows an 1 hour difference with the OS. >>
the /etc/TIMEZONE is read
during login process through
the /etc/profile file.
So, any change to it won't
get effected until you relogin
or restart the database (which
will relogin).
<a) Do I have to reboot the Unix system in order to let Ingres show the correct time ? >>
Restarting the db will
do it, but it is not a good
idea to do it that way.
You would be better off
rebooting the box and using
set_parms to reset it.
If you want to change
the TZ of just ingres
that you can just add
a TZ= setting in the ingres's
.profile (or .cshrc) file
and export it. That way
you dont need to reboot.
But, if this is systemwide,
then do set_parms and reboot.
This is ""minutes west
of Greenwich"" , whatever that
means. But, i have never changed it for changing timezones. It is default
on all my systems.
-raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 07:11 AM
11-05-2001 07:11 AM
Re: Reboot necessary after changing timezone ?
It was not until I rebooted the server that(everything) finally was together for the timezone.
Now..I routinely reboot the box whenever I have to fix a timezone issue...
Just my 2cents,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 07:47 AM
11-05-2001 07:47 AM
Re: Reboot necessary after changing timezone ?
It seems restarting Unix is the option I need.
Regards,
Franky