Obtaining accurate server time is really causing me difficulties
Question: I have a problem with CentOS Time setting. I have Enable Network Time Protocol enabled and have 2 servers listed. The server will not update itself. I have to go into Date & Time setting, click the Network Time Protocol tab and then click OK for it to update. Any ideas?
- Answer: The GUI is not well suited to solving this issue speedily.
- As root in a console:
/usr/sbin/ntpdate -u -s 0.centos.pool.ntp.org 1.centos.pool.ntp.org 2.centos.pool.ntp.org && /sbin/hwclock -w
- If that does not work, you have issues out of scope of the local time management application.
- As root in a console: