Aix server time jumps advanced by 1 hour when sync with ntp
AIXThis forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
As pointed by you the AIX server is 1 hour behind Linux server in GMT. I am confused as to how the server is showing wrong GMT.
AIX
<dr-new><root>/# date
Tue Mar 18 10:58:34 IST 2014
<dr-new><root>/# date -u
Tue Mar 18 04:28:37 GMT 2014
LINUX
root ~ # date
Tue Mar 18 10:55:37 IST 2014
root ~ # date -u
Tue Mar 18 05:25:39 UTC 2014
I have made the required changes in the environment file (replaed TZ=IST-5:30IST with TZ=IST-5:30);asked for downtime to reboot the server this week end. I thank you very much for helping me to resolve the issue. Once it's done I will update.
Last edited by geekslinux; 03-18-2014 at 12:47 AM.
Sorry for the delayed response; after removing the trailing IST, I have rebooted the server and gave ntpdate. Now the time runs behind(trailing) the clock by an hour. Also the xntpd daemon dies in 5 minutes. Can you please throw some light on this. Thanks in advance.
I have made the required changes in the environment file (replaed TZ=IST-5:30IST with TZ=IST-5:30)
I assume you mean the /etc/environment file. If so, it is possible that $TZ is also sent elsewhere (possibly /etc/profile or /.profile). I'd suggest you look there too. Before you reboot again, you can verify that it is set correctly after making the config changes by simply logging out & back in, and then running "echo $TZ".
I hope this helps :-)
Last edited by cliffordw; 04-01-2014 at 08:50 AM.
Reason: typo
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.