Article Directory :: Computers & Technology Articles

Debugging NTP Server Installations

By David Evans

Subscribe to David Evans's RSS feed using any feed reader!

Republish: EasyPublish
Published: 04Apr2007
Word count: 632
Viewed: 309 time(s)
Bookmark this article using any bookmark manager!
Get Free Content For Your Site

Network Time Protocol (NTP) is a standard protocol for the transfer of time across the Internet and computer networks. The NTP protocol source code is ‘open source' and can be freely downloaded from the NTP web site. The NTP primary development platform is LINUX but ports to Windows are also available.

This article describes how to debug a NTP server installation after compilation and configuration of the distribution.

NTP Server Debugging

Once the NTP distribution is installed and configured, correct operation needs to be verified. NTP includes a number of tools that can be used to query and debug a NTP server. The most widely used tool is ‘ntpq' – the standard NTP query utility. The ‘ntpq' utility can be run on the NTP Server installation or from any other computer on the network. The utility can be used to inspect NTP Server system variables to verify correct operation.

Using ‘ntpq' – The NTP Query Utility

The ‘ntpq' utility is run from a Linux command prompt. It can be run with a number of command line options. The most useful parameter is the ‘-p' option which display NTP server peer variables. Run the ntpq utility with the –p option, thus:

>ntpq –p 192.168.0.1 # where 192.168.0.1 is the IP address of the NTP server.

If the ntpq utility is run on the NTP server, the IP address may be omitted. Output similar to the information below may be generated.

remote refid st t when poll reach delay offset jitter
=============================================================
*127.127.0.32 .GPS. 1 u 18 64 377 0.000 0.412 0.015
+127.127.0.7 .MSF. 1 u 18 64 377 1.622 0.546 1.125


This first character on the left margin indicates the synchronisation status of each reference peer in the list. The currently selected reference peer is indicated by an asterisk (‘*'). Additional peers marked with a ‘+' are also used in the computation, while peers marked with any other symbol are not used.

The ‘remote' address corresponds to the server or peer entries in the NTP server configuration file. The ‘refid' field indicates the time source utilised by the server. The ‘st' field indicates the stratum, ‘t' indicates type; unicast, multicast or local. The ‘when' field indicates the time since the reference was last contacted. The ‘poll' field indicates the polling frequency of the reference. The ‘delay' field provides the round-trip delay when contacting the reference. The ‘offset' field is the difference between the reference time and the server time. The ‘jitter' field indicates the dispersion of time stamps received from the reference.

In the event of problems synchronising to a reference peer, a four-character status string is entered in the ‘refid' field. The status fields may consist of one of:

ACST - The association belongs to a anycast server.
AUTH - Server authentication failed.
AUTO - Autokey sequence failed.
BCST - The association belongs to a broadcast server.
CRYP - Cryptographic authentication or identification failed. The details should be in the system log file or the cryptostats statistics file, if configured. No further messages will be sent to the server.
DENY - Access denied by remote server. No further messages will be sent to the server.
DROP - Lost peer in symmetric mode. Please wait while the association is restarted.
RSTR - Access denied due to local policy. No further messages will be sent to the server.
INIT - The association has not yet synchronized for the first time.
MCST - The association belongs to a manycast server.
NKEY - No key found. Either the key was never installed or is not trusted.
RATE - Rate exceeded. The server has temporarily denied access because the client exceeded the rate threshold.
RMOT - Somebody is tinkering with the association from a remote host running ntpdc. Not to worry unless some rascal has stolen your keys.
STEP - A step change in system time has occurred, but the association has not yet resynchronized.

David Evans is a technical author who specialises in NTP Server and time synchronisation systems. Click here for more information about NTP Server time synchronisation.

Bookmark this article using any bookmark manager! Subscribe to David Evans's RSS feed using any feed reader!

EasyPublish™ this article - publishers click here

More articles by David Evans

Free Report!
Ten Essential Secrets Of Article Marketing ... Grab Your Free
Copy
Now:




We respect your privacy.


Need Content?
Regular Top Quality Content for your Blog, Ezine or Website ...
Delivered Direct,
For Free!

Click For Details



Arts & Entertainment
Automotive
Business - General
Computers & Technology
Finance & Investment
Food & Drink
Health & Fitness
Home & Family
Internet Marketing/Online Business
Legal
Pets & Animals
Politics & Government
Reference & Education
Religion & Faith
Self-Improvement/Motivation
Social
Sports & Recreation
Travel & Leisure
Writing & Speaking

More computing articles:

  • IPTV Technology - Benefits, Advantages and More (John King)
    IPTV technology is the latest in innovations for getting the daily communications that people thrive on and enjoy. Here I take a look at the benefits and advantages of this new kid on the block.

  • Casio Watches: A History of Trend Setting (Paul Wise)
    A small history of Casio Watches and their many popular watch models and lines .

  • IP Cameras in Traffic Environments: Advantages, Risks and Configuration Advice (Wes Fernley)
    In today's fast paced world, it's more important than ever to have proper traffic and road video surveillance. One of the best options are IP cameras which function as a closed video surveillance system but have the additional feature of being able to work online.

  • Get Full Details On Who Owns Any Phone Number With This Free Reverse Phone Search (Grant Dougan)
    If you ever need to determine who owns a particular telephone number you need to use what is called a reverse phone number search. Using a reverse phone lookup will get you full information about the owner of the telephone, including their full name along with other details. In this article we are going to show you how it works.

  • Protect your Liquor Store with IP Camera Surveillance (Wes Fernley)
    Unfortunately, liquor stores have a high susceptibility to theft and shrinkage. However, using a proper surveillance system can prevent a great deal of this loss from occurring. A properly installed, state of the art surveillance system will protect your business from internal and external theft.

  • How Can I Download Playstation 3 Games Online? Here's How - It's Incredibly Easy! (Grant Dougan)
    If you have a PS3, then you already know how impressive of a gaming machine it is! They keep flying off the shelves and there's lots of spectacular games that keep being created. Today we wanted to show you how you can find PS3 game downloads online and then use them on your PS3.

  • Legal Implications Of Blog & Forum Postings (Terry S Vostor)
    It is not only authorities in the media - newspapers and TV / radio who have to be concerned about the legalities of libel and slander laws in the broadcasting and editorialization of views and information. Running a website , a forum or a blog involves currently involves such risks as well. Prudence and caution are the watchwords.

  • Kinetic Energy: Harnessing the Energy Naturally Created By Our Own Bodies (Ezra Drissman)
    Kinetic energy is formed whenever we move around we drive around. Harnessing that power by various forms of technology allows that energy to be transformed into electrical power and used for a number of applications. It is happening at this very time in various locations and in many ways.

We Automatically Distribute Articles
To Thousands Of Publishers And Web Sites:

Submit Article
All content is viewed and used by you at your own risk and we do not warrant the accuracy or reliability of any of the information. The views expressed are those of the individual contributing authors and not necessarily those of this web site, or its owner, Takanomi Limited.
 
Copyright © 2009 Takanomi Ltd. Company no. 5629683. All rights reserved. | Privacy | Legal | Contact Information