Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

Linux Server clock

11:22 am on Oct 5, 2009 (gmt 0)

New User

5+ Year Member

joined:Oct 4, 2009
posts: 8
votes: 0

How I can setup my Linux server to automatically synchronize its server clocks? We need to ensure our server clocks set to correct timealways.
11:49 am on Oct 5, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member trillianjedi is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Apr 15, 2003
votes: 3

You need to install NTPd, the Network Time Protocol daemon.

If you're using Debian:-

apt-get install ntpd

If you're on a different flavour of *nix, use the appropriate packaging system for it.

6:19 pm on Oct 7, 2009 (gmt 0)

Senior Member from NL 

WebmasterWorld Senior Member lammert is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 10, 2005
votes: 35

I manage a network of four public NTP servers and would recommend to check your ntp.conf before going life.

Some Linux installations have by default stratum 1 servers in their configuration file (these are time servers directly synchronized by Cesium clocks etc). The stratum value tells you how many hops the time server is away from a physical clock. A stratum 1 server is the clock itself, stratum 2 servers are synchronized by a stratum 1 server, stratum 3 servers by a stratum 2 server etc.

Stratum 1 servers should be reserved for really time critical synchronization purposes like scientific research etc. Stratum 2 and stratum 3 servers still offer accuracies of the order 10 msec which is sufficient for almost all real-world applications. Connecting to a higher value stratum server prevents the central time servers from being overloaded and helps the accuracy of the NTP network in general. (To get an idea: my US based stratum 2 server serves on average 230 requests per second which is the equivalent of 1.9 gigabyte network traffic per day).

You can also connect to one of the pools of the NTP Pool project. More information of the available server pools for your region can be found on www.pool.ntp.org [pool.ntp.org].


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members