Operating System - HP-UX
1837239 Members
2167 Online
110115 Solutions
New Discussion

Re: DST Patch Doesn't work

 
sujeet joshi
Frequent Advisor

DST Patch Doesn't work

Hi,

I have Installaed PHCO_34668 dst patch on MY HPUX 11i v1 server, but found that dst patch doesn't work on march 11,2007.

I want to know why this patch doesn't work any specific reason for that and how to solve this prob.

Please help me.I change time manually.

Thanks & Regards,

Sujeet
7 REPLIES 7
Dennis Handly
Acclaimed Contributor

Re: DST Patch Doesn't work

>I have installed PHCO_34668

What is the state of this patch?
$ swlist -l patch PHCO_34668

>I change time manually.

Then you broke your system, unless you manually edited tztab(4).
Peter Godron
Honored Contributor

Re: DST Patch Doesn't work

Sujeet,
how do you know the patch did not work ? Did you restart the tztab depenedent processes, like cron etc.

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.

So far you have only rewarded 9 of 99 answers !
OldSchool
Honored Contributor

Re: DST Patch Doesn't work

what do you mean by "broke" and how did you determine that it doesn't work?

If you mean that cron jobs are off by the amount of the time change, you need to stop and restart cron.

Ra Jose
Regular Advisor

Re: DST Patch Doesn't work

I installed patches as noted on this bulletin
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c00832124

I checked system at 1.57am on that day, it went to 1.59 am and then to 3.00am. So the patch worked.
If you change the date/time manually, I am doubful whether that will get erased after reboot. On my home system, manual changes got erased after reboot. So better to install patches.
Rajos.
Dennis Handly
Acclaimed Contributor

Re: DST Patch Doesn't work

>what do you mean by "broke"

Broke as in changing the GMT time on the system instead of fixing tztab(4). This is what time it is now:
$ date; date -u
Tue Mar 20 16:58:02 PDT 2007
Tue Mar 20 23:58:02 UTC 2007
Dennis Handly
Acclaimed Contributor

Re: DST Patch Doesn't work

>Rajos: manual changes got erased after reboot. So better to install patches.

If you manually change tztab, the patches won't work. That's why I asked about the state of the patch.

Manually changing the computer clock to the incorrect value is permanent, until corrected.
OldSchool
Honored Contributor

Re: DST Patch Doesn't work

Sorry Dennis, those questions were supposed to be to Sujeet.

So, Sujeet:

what do you mean by "broke" and how did you determine that it doesn't work?

If you mean that cron jobs are off by the amount of the time change, you need to stop and restart cron.