tibberous Posted August 21, 2010 Share Posted August 21, 2010 I have a server that runs CentOS / WHM. If I set the clock using the date command, within a few hours it will go back one hour. I am guessing that this is due to a problem with daylight savings time. I would think that there would be a way to turn off automatic clock adjusting, but neither myself of the server company can seem to figure out the problem. Any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/211391-server-time-keeps-resetting-one-hour-early/ Share on other sites More sharing options...
trq Posted August 22, 2010 Share Posted August 22, 2010 I would recommend installing ntp, and syncing time from a server. Quote Link to comment https://forums.phpfreaks.com/topic/211391-server-time-keeps-resetting-one-hour-early/#findComment-1102235 Share on other sites More sharing options...
steviewdr Posted August 24, 2010 Share Posted August 24, 2010 For ubuntu, debian go: dpkg-reconfigure tzdata Quote Link to comment https://forums.phpfreaks.com/topic/211391-server-time-keeps-resetting-one-hour-early/#findComment-1103378 Share on other sites More sharing options...
Hypnos Posted September 6, 2010 Share Posted September 6, 2010 Run the date command from the shell. Does it say the right timezone? If it is, try doing a "hwclock --systohc" after you set the time. That will sync the OS clock to the hardware clock. Quote Link to comment https://forums.phpfreaks.com/topic/211391-server-time-keeps-resetting-one-hour-early/#findComment-1108016 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.