Event Messages and Status Words

from Alice's Adventures in Wonderland

Meri rahen tere tak hai tujhe pe he to mera huwe hai Mainu pata hai tu fain hai Salman Khan ki new WhatsApp status video; teri khatir main duniya mein badnaam ho full song Status 2021. To learn more about world population projections, go to Notes on the World Population Clock. To learn more about international trade data, go to Guide to Foreign Trade Statistics. All trade figures are in U.S. Dollars on a nominal basis. The National Institute of Standards and Technology - Time and Frequency Division maintains the standard for frequency and time interval for the United States, provides official time to the United States, and carries out a broad program of research and service activities in time and frequency metrology. The Doomsday Clock was started in 1947, due to the threat of nuclear warfare. It appeared on the Bulletin for the first time, then went from newsletter form to magazine. The clock's time was originally set to seven minutes to midnight and the Bulletin informed the world of the urgency and dangers of the new threat the world faced of nuclear.

, Lewis Carroll

Caterpillar knows all the error codes, which is more than most of us do.

Last update: 26-Jul-2015 06:26 UTC

Related Links

Table of Contents


This page lists the status words, event messages and error codes used for ntpd reporting and monitoring. Status words are used to display the current status of the running program. There is one system status word and a peer status word for each association. There is a clock status word for each association that supports a reference clock. There is a flash code for each association which shows errors found in the last packet received (pkt) and during protocol processing (peer). These are commonly viewed using the ntpq program.

Significant changes in program state are reported as events. There is one set of system events and a set of peer events for each association. In addition, there is a set of clock events for each association that supports a reference clock. Events are normally reported to the protostats monitoring file and optionally to the system log. In addition, if the trap facility is configured, events can be reported to a remote program that can page an administrator.


This page also includes a description of the error messages produced by the Autokey protocol. These messages are normally sent to the cryptostats monitoring file.

In the following tables the Event Field is the status or event code assigned and the Message Field a short string used for display and event reporting. The Description field contains a longer explanation of the status or event. Some messages include additional information useful for error diagnosis and performance assessment.

System Status Word


The system status word consists of four fields LI (0-1), Source (2-7), Count (8-11) and Event (12-15). It is reported in the first line of the rv display produced by the ntpq program.


The Leap Field displays the system leap indicator bits coded as follows:

0leap_nonenormal synchronized state
1leap_add_secinsert second after 23:59:59 of the current day
2leap_del_secdelete second 23:59:59 of the current day
3leap_alarmnever synchronized

The Source Field displays the current synchronization source coded as follows:

0sync_unspecnot yet synchronized
1sync_ppspulse-per-second signal (Cs, Ru, GPS, etc.)
2sync_lf_radioVLF/LF radio (WWVB, DCF77, etc.)
3sync_hf_radioMF/HF radio (WWV, etc.)
4sync_uhf_radioVHF/UHF radio/satellite (GPS, Galileo, etc.)
5sync_locallocal timecode (IRIG, LOCAL driver, etc.)
7sync_otherother (IEEE 1588, openntp, crony, etc.)
8sync_wristwatcheyeball and wristwatch
9sync_telephonetelephone modem (ACTS, PTB, etc.)

The Count Field displays the number of events since the last time the code changed. Upon reaching 15, subsequent events with the same code are ignored.

The Event Field displays the most recent event message coded as follows:

01freq_not_setfrequency file not available
02freq_setfrequency set from frequency file
03spike_detectspike detected
04freq_modeinitial frequency training mode
05clock_syncclock synchronized
06restartprogram restart
07panic_stopclock error more than 600 s
08no_system_peerno system peer
09leap_armedleap second armed from file or Autokey
0aleap_disarmedleap second disarmed
0bleap_eventleap event
0cclock_stepclock stepped
0dkernkernel information message
0eTAI...leapsecond values update from file
0fstale leapsecond valuesnew NIST leapseconds file needed

Peer Status Word

The peer status word consists of four fields: Status (0-4), Select (5-7), Count (8-11) and Code (12-15). It is reported in the first line of the rv associd display produced by the ntpq program.


The Status Field displays the peer status code bits in hexadecimal; each bit is an independent flag. (Note this field is 5 bits wide, and combines with the the 3-bit-wide Select Field to create the first full byte of the peer status word.) The meaning of each bit in the Status Field is listed in the following table:

08bcstbroadcast association
10reachhost reachable
20authauthentication ok
40authenbauthentication enabled
80configpersistent association

The Select Field displays the current selection status. (The T Field in the following table gives the corresponding tally codes used in the ntpq peers display.) The values are coded as follows:

0sel_rejectdiscarded as not valid (TEST10-TEST13)
1sel_falsetickxdiscarded by intersection algorithm
2sel_excess.discarded by table overflow (not used)
3sel_outlier-discarded by the cluster algorithm
4sel_candidate+included by the combine algorithm
5sel_backup#backup (more than tos maxclock sources)
6sel_sys.peer*system peer
7sel_pps.peeroPPS peer (when the prefer peer is valid)

The Count Field displays the number of events since the last time the code changed. Upon reaching 15, subsequent events with the same code are ignored.

The Event Field displays the most recent event message coded as follows:

01mobilizeassociation mobilized
02demobilizeassociation demobilized
03unreachableserver unreachable
04reachableserver reachable
05restartassociation restart
06no_replyno server found (ntpdate mode)
07rate_exceededrate exceeded (kiss code RATE)
08access_deniedaccess denied (kiss code DENY)
09leap_armedleap armed from server LI code
0asys_peerbecome system peer
0bclock_eventsee clock status word
0cbad_authauthentication failure
0dpopcornpopcorn spike suppressor
0einterleave_modeentering interleave mode
0finterleave_errorinterleave error (recovered)

Clock Status Word

The clock status word consists of four fields: Unused (0-7), Count (8-11) and Code (12-15). It is reported in the first line of the clockvar associd display produced by the ntpq program.


The Count Field displays the number of events since the last lockvar command, while the Event Field displays the most recent event message coded as follows:

01clk_noreplyno reply to poll
02clk_badformatbad timecode format
03clk_faulthardware or software fault
04clk_bad_signalsignal loss
05clk_bad_datebad date format
06clk_bad_timebad time format

When the clock driver sets the code to a new value, a clock_alarm (11) peer event is reported.

Flash Status Word

The flash status word is displayed by the ntpq program rv command. It consists of a number of bits coded in hexadecimal as follows:

0001TEST1pkt_dupduplicate packet
0002TEST2pkt_bogusbogus packet
0004TEST3pkt_unsyncserver not synchronized
0008TEST4pkt_deniedaccess denied
0010TEST5pkt_auth authentication failure
0020TEST6pkt_stratuminvalid leap or stratum
0040TEST7pkt_header header distance exceeded
0080TEST8pkt_autokeyAutokey sequence error
0100TEST9pkt_cryptoAutokey protocol error
0200TEST10peer_stratum invalid header or stratum
0400TEST11peer_dist distance threshold exceeded
0800TEST12peer_loop synchronization loop
1000TEST13peer_unreach unreachable or nonselect

Kiss Codes

Kiss codes are used in kiss-o'-death (KoD) packets, billboard displays and log messages. They consist of a string of four zero-padded ASCII charactes. In practice they are informal and tend to change with time and implementation. Some of these codes can appear in the reference identifier field in ntpq billboards. Following is the current list:

ACSTmanycast server
AUTHauthentication error
AUTOAutokey sequence error
BCSTbroadcast server
CRYPTAutokey protocol error
DENYaccess denied by server
INITassociation initialized
MCSTmulticast server
RATErate exceeded
TIMEassociation timeout
STEPstep time change

Status Blockchain

Crypto Messages

These messages are sent to the cryptostats file when an error is detected in the Autokey protocol.

01bad_formatbad extension field format or length
02bad_timestampbad timestamp
03bad_filestampbad filestamp
04bad_public_keybad or missing public key
05bad_digestunsupported digest type
06bad_identityunsupported identity type
07bad_siglengthbad signature length
08bad signatureextension field signature not verified
09cert_not_verifiedcertificate signature not verified
0acert_expiredhost certificate expired
0bbad_cookiebad or missing cookie
0cbad_leapsecondsbad or missing leapseconds values
0dcert_missingbad or missing certificate
0ebad_group_keybad or missing group key
0fproto_errorprotocol error

Mental Status Clock Drawing

Coments are closed

Recent News

  • Adobe DNG Converter 13.0
  • TerraRay
  • Push Hero
  • Inkscape 0.92.3

Scroll to top