Ntp: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
Print a list of the peers known to the server as well as a summary of their state | Print a list of the peers known to the server as well as a summary of their state | ||
ntpq - | ntpq -pn | ||
Verify communication with ntp server. | |||
nc -u -z ntp.ongame.com 123 | |||
Set date from ntp server. | |||
ntpdate -u ntp.ongame.com | |||
=troubleshoot= | |||
peers, assossiations, info about synced server, info local clock | |||
ntpq -n4c pe -c as -c rl -c rv | |||
==Troubleshoot ntp== | |||
http://www.linuxquestions.org/questions/linux-server-73/ntp-client-error-ntpstat-shows-unsynchronised-749641/ | |||
[[Category:Applications]] | |||
[[Category:Unix]] |
Latest revision as of 19:25, 17 April 2016
Supposed to sync clock at startup.
- /etc/ntp/step-tickers
ntp.halfface.se
Print a list of the peers known to the server as well as a summary of their state
ntpq -pn
Verify communication with ntp server.
nc -u -z ntp.ongame.com 123
Set date from ntp server.
ntpdate -u ntp.ongame.com
troubleshoot
peers, assossiations, info about synced server, info local clock
ntpq -n4c pe -c as -c rl -c rv
Troubleshoot ntp
http://www.linuxquestions.org/questions/linux-server-73/ntp-client-error-ntpstat-shows-unsynchronised-749641/