Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
We have our NTP server SERVER-NTP which sync its time with the server ntp0.nl.uu.net and time.nist.gov. And all other devices sync their time with our server SERVER-NTP. Now from 1st June the time in our country will increase to 1 hour for Day Light saving. I need to update my NTP server also . Any clue how to do that . Or can any one suggest me any server with
GMT+6 time as currently we have GMT+5 time. Any Clue ?
NTP has nothing at all to do with timezones. it uses a single global timestamp which is then adjusted later to be offset with timezones and seasonal changes.
Not sure how Centos does it, but Debian has a directory /usr/share/zoneinfo. This contains files for each country or timezone within the country, detailing daylignt saving arrangements for the zone. Normally linux/unix machines are globally synced to UTC (Universal time=Greenwich Mean Time) and the system uses the zoneinfo files to convert UTC to local time.
Countries/regions change the daylight savings rules all the time. You just have to get an updated zoneinfo file. It might just be a matter of updating a package.
I am little confused from the above two replies. You mean i dont have to change any thing on the ntp server but i have to change timezone setting on all my machine ?. I mostly have Centos 4.4 machine and few Solaris 9 servers as well.
if this is normal annual daylight savings, then you do nothing at all. It'd be a pretty crap system if you did don't you think??
if your country has recently changed it's policy on daylight savings, then your zone files might be outdated, which is what the other post is about. I think Canada did this last year.
Yes this policy is new implemented in our country. So according to you guys i have to update the zoneinfo files on all my servers right ?. Or i only have to update the zoneinfo on my NTP server.
Why are you not reading what I keep saying? There is no timezone in an NTP request. it is a timestamp. You seem to be really missing the fundamental point of NTP and timezones in the wider picture. I can use an NTP server in New York, Singapore, London, they all give THE SAME time, and the client then adjusts it.
Last edited by acid_kewpie; 05-29-2008 at 07:48 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.