- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- editing the tztab file manually
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
02-21-2007 05:56 AM
02-21-2007 05:56 AM
editing the tztab file manually
43c43
< 0 3 1-7 4 1987-2038 0 EDT4
---
> 0 3 8-14 3 2007-2038 0 EDT4
46c46
< 0 1 25-31 10 1975-2038 0 EST5
---
> 0 1 1-7 11 2007-2038 0 EST5
Yet when I made the change, the clocks instantly jumped an hour ahead and went from EST to EDT. I then made the mistake of using the "date" command to "run time backwards." That made the time correct, but it is still in EDT instead of EST.
I then decided to put the old tztab file back in place and on one system it worked instantly, reverting back to EST. However the time stayed the same so I used the "date" command to set the clock forward and all is well with that system. All other systems, however, remain unchanged, even when I put the old tztab back in place.
Any suggestions?
(Note: I was unaware of patch PHCO_34668 at the time.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2007 06:07 AM
02-21-2007 06:07 AM
Re: editing the tztab file manually
You bungeled your editting; you need:
0 3 1-7 4 1987-2006 0 EDT4
0 3 8-14 3 2007-2038 0 EDT4
0 1 25-31 10 1975-2006 0 EST5
0 1 1-7 11 2007-2038 0 EST5
You then made a worse mess by running time backwards. I hope your server isn't a production database one.
Next, you have no record of you changes in the Installed Product Database ('/var/adm/sw') because you manually updated the 'tztab' instead of applying the patch.
Do yourself a favor. Stop any databases. Set your server time to UCT using 'date -u'. Apply the correct patch. Reboot your server. While application of the patch does not a priori require a reboot, doing so means that all processes have an opportunity to re-read/re-cache the updated 'tztab' rules via the libC routines.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2007 03:05 PM
02-21-2007 03:05 PM
Re: editing the tztab file manually
The patch is trivial -- it simply replaces the tztab file. This file is regularly replaced as governments change local timezone rules. You can simply extract the file from the patch (depot files are just tar archives) or run swinstall.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2007 07:27 AM
02-26-2007 07:27 AM
Re: editing the tztab file manually
I'd like to thank you both for your help.
I was going through some other threads concerning this same issue and found references to the following patches:
PHCO_34669 11.23
PHCO_34668 11.11
PHCO_27258 11.0
Later there is a reference to patch PHCO_34673. Is this for 11.0 only or for all versions of the O/S? If it is for 11.0 only, is the patch listed for 11.11 still valid for that O/S version?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2007 07:39 AM
02-26-2007 07:39 AM
Re: editing the tztab file manually
In reality, any of the patches for will work. The DST patch delivers an updated '/usr/lib/tztab' file. The value of using the appropirate patch for the appropriate operating system version is that 'swinstall' records the patch in its Installed Product Directory thus tracking your change and performing the correct setting for file permissions and ownership.
The current patches can be noted here:
http://h10072.www1.hp.com/dst/
Click on the HP Customer Notice Document ID: c00832124 .
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2007 07:40 AM
02-26-2007 07:40 AM
Re: editing the tztab file manually
PHCO_34673 supercedes PHCO_27528.
I would load the patch that is appropriate to your OS. That will make future patching easier. The exception to this is if you are running 10.20; in that case, copy the tztab from one of the newer boxes to the 10.20 tztab. Tztab is simply a text file so you could make the changes yourself but patching is the better way as it keeps the installed software database current and consistant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2007 02:40 AM
02-27-2007 02:40 AM
Re: editing the tztab file manually
PHCO_34673 for 11.0
PHCO_34668 for 11.11
The new tztab now appears and swlist shows the patch.
However, I'm having an issue with swinstall on two of the servers. Couldn't I just rcp or ftp the new tztab file from one of the other servers to the servers I'm having a problem with?
I'm not concerned about whether or not the patch shows up in swlist, only that it works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2007 02:48 AM
02-27-2007 02:48 AM
Re: editing the tztab file manually
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2007 02:49 AM
02-27-2007 02:49 AM
Re: editing the tztab file manually
> I'm having an issue with swinstall on two of the servers. Couldn't I just rcp or ftp the new tztab file from one of the other servers to the servers I'm having a problem with? I'm not concerned about whether or not the patch shows up in swlist, only that it works.
In that case, then yes.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2007 02:56 AM
02-27-2007 02:56 AM
Re: editing the tztab file manually
Cowboy?
As I stated in my first entry, I was unaware that there was a patch for this issue. I was merely told that the tztab needed to be modified, so that's what I did. You said much the same in one of your posts:
"Tztab is simply a text file so you could make the changes yourself..."
I'd like thank everyone for their input.
Consider this thread closed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2007 02:57 AM
02-27-2007 02:57 AM