Results 1 to 10 of 10
-
06-08-2011, 12:30 PM #1Web Hosting Master
- Join Date
- Apr 2009
- Posts
- 1,321
My server's time is resetting everyday
I set my server's time 5 minutes earlier but it resets the time everyday, is there something like automatic time update/sync with internet on linux? And how do I turn that off?
-
06-08-2011, 12:59 PM #2Web Hosting Master
- Join Date
- Mar 2009
- Posts
- 3,816
ntp/ntpd
why do you want to force your server to be out of sync?
-
06-08-2011, 01:02 PM #3Web Hosting Master
- Join Date
- Apr 2009
- Posts
- 1,321
I've shut it down now, will wait 24 hour and see if it resets again or not. I need it few minutes behind for syncing purposes with master server.
-
06-08-2011, 05:30 PM #4Hosting provider
- Join Date
- May 2002
- Location
- Moscow
- Posts
- 1,602
will be lot better if you could synchronize your master server with correct time
TK Rustelekom LLC Dedicated server since 2002, RIPE NCC member, LIR
-
06-08-2011, 06:04 PM #5Web Hosting Master
- Join Date
- Apr 2009
- Posts
- 1,321
I've thought about master and slave servers having same time but if slave server time is FASTER than master server, which happens sometimes, it won't be able to sync correctly.
-
06-09-2011, 12:20 AM #6Web Hosting Master
- Join Date
- Nov 2005
- Location
- Minneapolis, MN
- Posts
- 1,648
That is arguably the most important reason to run ntpd -- to keep the clocks of *both* servers sync'd within a few microseconds. (ntpd the daemon, not ntpdate run as a cron job as a lot of people curiously like to do)
Your approach of running one clock slower is not only needlessly complex, but it makes event correlation nearly impossible.Eric Spaeth
Enterprise Network Engineer :: Hosting Hobbyist :: Master of Procrastination
"The really cool thing about facts is they remain true regardless of who states them."
-
06-09-2011, 02:59 AM #7Web Hosting Master
- Join Date
- Jun 2009
- Location
- UK: Oxford
- Posts
- 1,259
You run the risk of the Master and Slave never being in Snyc because of not being at the correct time if you we're to perform a OS or system update. Bash script with delay?
Last edited by josephgarbett; 06-09-2011 at 03:05 AM.
█ Garbott Ltd - Exceptional web development, hosting & consultancy services
-
06-09-2011, 03:36 AM #8Web Hosting Master
- Join Date
- Apr 2009
- Posts
- 1,321
If I sync master / slave using ntpd, is there any possibility that the slave time will be faster than master time? Because if it is faster even 1 second, there will be huge problem. I have a lot of servers that has to be synced so any possibility that any of the slave servers will be faster than master if they all sync to the same reference site?
-
06-09-2011, 07:23 AM #9Disabled
- Join Date
- Jun 2011
- Posts
- 125
I found some tutorial on resetting of server's time. Have a look
http://www.howtoforge.com/perfect_setup_ubuntu_6.10_p7
-
06-09-2011, 09:49 AM #10Web Hosting Master
- Join Date
- Nov 2005
- Location
- Minneapolis, MN
- Posts
- 1,648
How do you think everyone who runs time-based transactional databases does this?
http://www.eecis.udel.edu/~mills/dat...w/overview.pdfEric Spaeth
Enterprise Network Engineer :: Hosting Hobbyist :: Master of Procrastination
"The really cool thing about facts is they remain true regardless of who states them."
Similar Threads
-
Interworx restarting Apache everyday at same time
By Gigaron in forum Dedicated ServerReplies: 2Last Post: 12-16-2010, 03:56 PM -
high loads at exactly the same time everyday
By thedark1 in forum Hosting Security and TechnologyReplies: 18Last Post: 05-01-2009, 01:55 PM -
Cpsrvd fails, same time everyday
By LP560 in forum Hosting Security and TechnologyReplies: 4Last Post: 11-04-2006, 06:24 PM -
exim & pop down same time in everyday.
By 0218 in forum Hosting Security and TechnologyReplies: 0Last Post: 12-08-2005, 03:42 PM -
How much time do you invest everyday in your web hosting company?
By Omni in forum Running a Web Hosting BusinessReplies: 8Last Post: 02-27-2002, 10:00 PM