it works. This section discusses topics related to configuration, monitoring, troubleshooting, and debugging of xntp.
statistics files for?8.1.1. If I think my NTP server is working fine, what could I do to confirm this?
>NextThis is the NTP home page that some people like to see here8.2. General Issues
This section discusses problems that are independent of a specific operating system, probably referring ntp offset meaning to more specific entries.1. Starting, running, querying8.2.1.1. How can ntp drift file I check that xntpd is up and running?8.2.1.2. Whenever I execute ntpd the daemon will only run for about10 to 20 minutes. Do you have any idea why?2. Cabling and Interfacing8.2.2.1. Why does my Serial Interface hang when I connect a PPS Signal to DCD?8.2.2.2. Why http://www.ntp.org/ntpfaq/NTP-s-trouble.htm is the PPS API only detecting one Edge?3. Exchanging Time8.2.3.1. Is a remote server providing time?8.2.3.2. My server is up and running, but it is unusable for clients8.2.3.3. I waited a long time, still server not working4. Cryptography8.2.4.1. No time received when using autokey8.2.4.2. Error error:06065064:digital envelope routines:EVP_DecryptFinal:bad decrypt when creating GQ or http://www.ntp.org/ntpfaq/NTP-s-trbl-general.htm MV Parameters5. Time Errors8.2.5.1. Why does my server change time references quite frequently?8.2.5.2. My server periodically loses synchronization8.2.5.3. My system steps 0.6 seconds several times a day. How comes?8.2.5.4. ntpdate sets time to Year 19336. Messing with broken Hardware8.2.6.1. How do I set the correct value for tick?7. Incompatibilities8.2.7.1. How do I set the precision?8. Other...8.2.8.1. ntpd periodically opens a dial-out connection. Can I avoid that?8.2.8.2. Any more Hints?1. Starting, running, querying8.2.1.1. How can I check that xntpd is up and running?
The easiest command to verify that xntpd is still running is ntpq -p. This command will contact xntpd on the local host, and it will list all configured servers together with some health status. If xntpd is not running, the typical error message is ntpq: read: Connection refused.If your are logged in to a UNIX machine, you can use the ps to look for the daemon.8.2.1.2. Whenever I execute ntpd the daemon will only run for about 10 to- standard NTP query program, either on the local server or from a remote machine. In special circumstances the ntpdc - special NTP query program, https://www.eecis.udel.edu/~mills/ntp/html/debug.html can be useful, but its use is not covered here. The ntpq program implements the management functions specified in the NTP specification RFC-1305, Appendix A. It is used to read and http://serverfault.com/questions/461752/ntpdate-and-ntpd-failing-to-sync-clock-on-linux write the variables defined in the NTP Version 4 specification now navigating the standards process. In addition, the program can be used to send remote configuration commands to the server. ntp offset The ntpd daemon can operate in two modes, depending on the presence of the -d command-line option. Without the option the daemon detaches from the controlling terminal and proceeds autonomously. With one or more -d options the daemon does not detach and generates special trace output useful for debugging. In general, interpretation of this output requires reference to the sources. However, a what is ntp single -d does produce only mildly cryptic output and can be very useful in finding problems with configuration and network troubles. Some problems are immediately apparent when the daemon first starts running. The most common of these are the lack of a UDP port for NTP (123) in the Unix /etc/services file (or equivalent in some systems). Note that NTP does not use TCP in any form. Also note that NTP requires port 123 for both source and destination ports. These facts should be pointed out to firewall administrators. Other problems are apparent in the system log, which ordinarily shows the startup banner, some cryptic initialization data and the computed precision value. Event messages at startup and during regular operation are sent to the optional protostats monitor file, as described on the Event Messages and Status Words page. These and other error messages are sent to the system log, as described on the ntpd System Log Messages page. In real emergencies the daemon will sent a terminal error message to the system log and then cease operation. The next most common prob
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top ntpdate and ntpd failing to sync clock on Linux up vote 10 down vote favorite 2 I have a strange problem with one of my servers. ntpd and ntpdate fail to work, but debugging shows no errors at all. At first I thought maybe a local or network firewall was blocking UDP port 123, but that is not the case- this server can talk UDP port 123 (the ntp protocol) to the Internet and get answers. Let me demonstrate the issue. date -s "30 DEC 2012 02:30:00" - works, so I can successfully set the clock without error. ntpq -pn pool.ntp.org - works, I do get detailed time data from the timeserver, and proves UDP packets are functioning. ntpdate -d pool.ntp.org - debug mode works, shows a ton of debug data and shows the current time offset: 30 Dec 02:38:56 ntpdate[19267]: step time server 208.97.140.69 offset 228.234554 sec All looks normal, until: ntpdate pool.ntp.org - after a 4.7 second pause, it returns: 30 Dec 02:41:29 ntpdate[19274]: no server suitable for synchronization found Similar problem running ntpd, it does not update the clock. After ntpd is started, ntpq -pn results in all refid's forever stuck on .INIT. which means they cannot sync. /var/lib/ntp/drift is the driftfile setting in ntp.conf, which is chmod 644 a