Hi when i change the date:
date -s "01 Jan 2011 01:30:15"
Do services such as mysqld and httpd need to be restarted for thier date to update? or is there a better way to handle these services date capabilities. Some sort of reload or update date?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
You should consider setting up ntp on your servers to manage time. ntp polls external time sources and keeps your machine synced up. It also slowly slews the clock over time to keep it in sync, instead of making large time changes all at once. This produces less surprises and helps keep applications from getting confused.
Typically you set up one machine in your organization to run ntp and that machine communicates with an external ntp server. Then, your other servers contact your designated ntp master for their updates. You can use this ntp server tool to find an appropriate external server for you to use. Generally you want to connect to external servers which are geographically close to you.