- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- New timezone entries in tztab not reflected in set...
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-2006 01:23 AM
03-31-2006 01:23 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2006 01:37 AM
03-31-2006 01:37 AM
Re: New timezone entries in tztab not reflected in set_params
I think you should run swverify to make sure the patch is installed and not corrupt.
swverify
Then you should consider editing the TIMEZONE file if it can be edited. Don't touch it if its binary, only if its text.
file /etc/TIMEZONE
They changed the clocks here on Friday morning at 2 a.m. Who ever heard of such a thing?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2006 01:45 AM
03-31-2006 01:45 AM
SolutionOnce you have a patched '/usr/lib/tztab',
simply edit '/etc/TIMEZONE' and put your timezone therein. This is what 'set_parms' is going to do anyway.
When the modification has been made to the '/usr/lib/tztab' any new process started will fall under the new "rules". A restart of 'cron' would cover cron tasks. New logins would execute 'login()' so the processes spawned by those would also abide by the new time changes. A reboot of the server sometime before the mandated time change would then align everything --- things that are running and things that are later scheduled to run.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2006 03:03 AM
03-31-2006 03:03 AM
Re: New timezone entries in tztab not reflected in set_params
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2006 04:30 AM
03-31-2006 04:30 AM
Re: New timezone entries in tztab not reflected in set_params
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=967177
Clay's script locates and displays the Daylight Saving points exactly as the system libraries would. The set_parms code is really for getting started with networking and setting up root's password. All the rules for timezones are kept in /usr/lib/tztab and a good discussion on how to create your own customized timezone are found in: man environ
As mentioned in the link, time never changes in HP-UX -- it is always GMT (more accurately, UTC or Zulu time) so the $TZ value is used by the system time libraries to translate the appearance of time. The beauty of this system is that users can login from all over the world, set the TZ value to match their local timezone and they will see a system that matches their local time. Most databases will also handle time correctly using the standard library routines.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2006 01:36 AM
04-04-2006 01:36 AM