- Check the status of the ntpd service:
/sbin/service ntpd status
- If ntpd is running, stop the process with the following command:
/sbin/service ntpd stop
- Use the ntpdate command to sync the system clock. Note: you can use any NTP server that the system can reach:
/usr/sbin/ntpdate kirk.bond.edu.au
- Restart the ntpd service:
/sbin/service ntpd start
- Verify this worked with the ntpd command,/usr/sbin/ntpq. Then use the peer option within this command. Type q or quit to exit.
- See the sequence below on a live system:
ntpq> peer
remote refid st t when poll reach delay offset jitter
==============================================================================
caffeine.cc.com .INIT. 16 u - 64 0 0.000 0.000 0.000
202-89-184-139. .INIT. 16 u - 64 0 0.000 0.000 0.004
203.12.144.65 .INIT. 16 u - 64 0 0.000 0.000 0.004
LOCAL(0) .LOCL. 10 l 2 64 1 0.000 0.000 0.004
ntpq> q
Lastly
$ chkconfig –list | grep ntpd
if it turned off, please turn it back on
$ chkconfig –levels 35 ntpd on
Thats it all done well done