Problem : System time is one hour ahead even ntp sync is proper.
Observation: I stoped the ntp client and set the time manually using date command .The moment i do an ntpdate to the time server system time jumps to one hour ahead.All other ntp clients were fine and were showing proper time.So this should be a problem with this particular client.
Client OS details: AIX 7.1
From the problematic client:
-------------------------------------
bash-4.2# date
Mon Mar 17 19:51:33 IST 2014 =>Time showing 19:51 which was 1 hour ahead that of ntp server.
bash-4.2# date 031718512014 =>Set time manually.
Mon Mar 17 18:51:33 IST 2014
bash-4.2# ntpdate 192.168.1.100 where 192.168.1.100 is my ntp server.
17 Mar 19:51:34 ntpdate[12386500]: adjust time server 192.168.1.100 offset 3600.479108
Please notice time is getting set to one hour ahead.
bash-4.2#date
Mon Mar 17 19:51:35 IST 2014
IST word at the date command output gave an impression that Time zone is IST(GMT+5:30). But it was not true when checked the time zone.
bash-4.2# echo $TZ
IST-5:30IST
So changed the time zone to Asia/Kolkata(GMT+5:30) using smitty and restarted the system to effect the new Time zone.
smitty-->System Environments-->Change / Show Date and Time-->Change Time Zone Using System Defined Values-->Select Asia/Kolkata from the list-->Enter-->Enter -->Exit (F10)
Then took a reboot.
bash-4.2# shutdown -Fr
Once the system is back everything will be fine.
No comments:
Post a Comment