xref: /freebsd/contrib/ntp/html/msyslog.html (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
5<meta name="generator" content="HTML Tidy, see www.w3.org">
6<title>ntpd System Log Messages</title>
7<link href="scripts/style.css" type="text/css" rel="stylesheet">
8</head>
9<body>
10<h3><tt>ntpd</tt> System Log Messages</h3>
11<img src="pic/flatheads.gif" alt="gif" align="left"><a href="http://www.eecis.udel.edu/~mills/pictures.html">from <i>Alice's Adventures in Wonderland</i>, Lewis Carroll</a>
12<p>The log can be shrill at times.</p>
13<p>Last update:
14  <!-- #BeginDate format:En2m -->10-Mar-2014  05:12<!-- #EndDate -->
15    UTC</p>
16<br clear="left">
17<h4>Related Links</h4>
18<p>
19  <script type="text/javascript" language="javascript" src="scripts/install.txt"></script>
20</p>
21<hr>
22<p>You have come here because you found a cryptic message in the system log. This page by no means lists all messages that might be found, since new ones come and old ones go. Generally, however, the most common ones will be found here. They are listed by program module and log severity code in bold: <tt><b>LOG_ERR</b></tt>, <b><tt>LOG_NOTICE</tt></b> and <tt><b>LOG_INFO</b></tt>.</p>
23<p>Most of the time <b><tt>LOG_ERR</tt></b> messages are fatal, but often <tt>ntpd</tt> limps onward in the hopes of discovering more errors. The <tt><b>LOG_NOTICE</b></tt> messages usually mean the time has changed or some other condition that probably should be noticed. The <tt><b>LOG_INFO</b></tt>&nbsp;messages usually say something about the system operations, but do not affect the time.</p>
24<p>In the following a '?' character stands for text in the message. The meaning should be clear from context.</p>
25<h4>Protocol Module</h4>
26<p><tt><b>LOG_ERR</b></tt></p>
27<dl>
28  <dt><tt>buffer overflow ? </tt></dt>
29  <dd>Fatal error. An input packet is too long for processing.</dd>
30</dl>
31<p><tt><b>LOG_NOTICE</b></tt></p>
32<dl>
33  <dt><tt>no reply; clock not set</tt></dt>
34  <dd>In <tt>ntpdate</tt> mode no servers have been found. The server(s) and/or network may be down. Standard debugging procedures apply.</dd>
35</dl>
36<p><tt><b>LOG_INFO</b></tt></p>
37<dl>
38  <dt><tt>proto_config: illegal item ?, value ?</tt></dt>
39  <dd>Program error. Bugs can be reported <a href="bugs.html">here</a>.</dd>
40  <dt><tt>receive:&nbsp;autokey requires two-way communication</tt></dt>
41  <dd>Configuration error on the <tt>broadcastclient</tt> command.</dd>
42  <dt><tt>receive: server <i>server</i> maaximum rate exceeded</tt></dt>
43  <dd>A kiss-o'death packet has been received. The transmit rate is automatically reduced.</dd>
44  <dt><tt>pps sync enabled</tt></dt>
45  <dd>The PPS signal has been detected and enabled.</dd>
46  <dt><tt>transmit: encryption key ? not found</tt></dt>
47  <dd>The encryption key is not defined or not trusted.</dd>
48  <dt><tt>precision = ? usec </tt></dt>
49  <dd>This reports the precision measured for this machine.</dd>
50  <dt><tt>using 10ms tick adjustments</tt></dt>
51  <dd>Gotcha for some machines with dirty rotten clock hardware.</dd>
52  <dt><tt>no servers reachable</tt></dt>
53  <dd>The system clock is running on internal batteries. The server(s) and/or network may be down.</dd>
54</dl>
55<h4>Clock Discipline Module</h4>
56<p><tt><b>LOG_ERR</b></tt></p>
57<dl>
58  <dt><tt>time correction of ? seconds exceeds sanity limit (?); set clock manually to the correct UTC time</tt>.</dt>
59  <dd>Fatal error. Better do what it says, then restart the daemon. Be advised NTP and Unix know nothing about local time zones. The clock must be set to Coordinated Universal Time (UTC). Believe it; by international agreement abbreviations are in French and descriptions are in English.</dd>
60  <dt><tt>sigaction() fails to save SIGSYS trap: ?<br>
61    </tt><tt>sigaction() fails to restore SIGSYS trap: ?</tt></dt>
62  <dt>Program error. Bugs can be reported <a href="bugs.html">here</a>.</dt>
63</dl>
64<p><tt><b>LOG_NOTICE</b></tt></p>
65<dl>
66  <dt><tt>frequency error ? exceeds tolerance 500 PPM</tt></dt>
67  <dd>The hardware clock frequency error exceeds the rate the kernel can correct. This could be a hardware or a kernel problem.</dd>
68  <dt><tt>time slew ? s</tt></dt>
69  <dd>The time error exceeds the step threshold and is being slewed to the correct time. You may have to wait a very long time.</dd>
70  <dt><tt>time reset ? s</tt></dt>
71  <dd>The time error exceeds the step threshold and has been reset to the correct time. Computer scientists don't like this, but they can set the <tt>ntpd -x</tt> option and wait forever.</dd>
72  <dt><tt>kernel time sync disabled ?</tt></dt>
73  <dd>The kernel reports an error. See the codes in the <tt>timex.h</tt> file.</dd>
74  <dt><tt>pps sync disabled</tt></dt>
75  <dd>The PPS signal has died, probably due to a dead radio, broken wire or loose connector.</dd>
76</dl>
77<p><tt><b>LOG_INFO</b></tt></p>
78<dl>
79  <dt><tt>kernel time sync status ? </tt></dt>
80  <dd>For information only. See the codes in the <tt>timex.h</tt> file.</dd>
81</dl>
82<h4>Cryptographic Module</h4>
83<p><tt><b>LOG_ERR</b></tt></p>
84<dl>
85  <dt><tt>cert_parse ?<br>
86    </tt><tt>cert_sign ?<br>
87    </tt><tt>crypto_cert ?<br>
88    </tt><tt>crypto_encrypt ?<br>
89    </tt><tt>crypto_gq ?<br>
90    </tt><tt>crypto_iff ?<br>
91    </tt><tt>crypto_key ?<br>
92    </tt><tt>crypto_mv ?<br>
93    </tt><tt>crypto_setup ?<br>
94    </tt><tt>make_keys ?</tt></dt>
95  <dd>Usually fatal errors. These messages display error codes returned from the OpenSSL library. See the OpenSSL documentation for explanation.</dd>
96  <dt><tt>crypto_setup: certificate ? is trusted, but not self signed.<br>
97    </tt><tt>crypto_setup: certificate ? not for this host<br>
98    </tt><tt>crypto_setup: certificate file ? not found or corrupt<br>
99    </tt><tt>crypto_setup: host key file ? not found or corrupt<br>
100    </tt><tt>crypto_setup: host key is not RSA key type<br>
101    </tt><tt>crypto_setup: random seed file ? not found<br>
102    </tt><tt>rypto_setup: random seed file not specified</tt></dt>
103  <dd>Fatal errors. These messages show problems during the initialization procedure.</dd>
104</dl>
105<p><tt><b>LOG_INFO</b></tt></p>
106<dl>
107  <dt><tt>cert_parse: expired ?<br>
108    </tt><tt>cert_parse: invalid issuer ?<br>
109    </tt><tt>cert_parse: invalid signature ?<br>
110    </tt><tt>cert_parse: invalid subject ?</tt></dt>
111  <dd>There is a problem with a certificate. Operation cannot proceed untill the problem is fixed. If the certificate is local, it can be regenerated using the <tt>ntp-keygen</tt> program. If it is held somewhere else, it must be fixed by the holder.</dd>
112  <dt><tt>crypto_?: defective key<br>
113    </tt><tt>crypto_?: invalid filestamp<br>
114    </tt><tt>crypto_?: missing challenge<br>
115    </tt><tt>crypto_?: scheme unavailable</tt></dt>
116  <dd>There is a problem with the identity scheme. Operation cannot proceed untill the problem is fixed. Usually errors are due to misconfiguration or an orphan association. If the latter, <tt>ntpd</tt> will usually time out and recover by itself.</dd>
117  <dt><tt>crypto_cert: wrong PEM type ?</tt></dt>
118  <dd>The certificate does not have MIME type <tt>CERTIFICATE</tt>. You are probably using the wrong type from OpenSSL or an external certificate authority.</dd>
119  <dt><tt>crypto_ident: no compatible identity scheme found</tt></dt>
120  <dd>Configuration error. The server and client identity schemes are incompatible.</dd>
121  <dt><tt>crypto_tai: kernel TAI update failed</tt></dt>
122  <dd>The kernel does not support this function. You may need a new kernel or patch.</dd>
123  <dt><tt>crypto_tai: leapseconds file ? error ?</tt></dt>
124  <dd>The leapseconds file is corrupt. Obtain the latest file from <tt>time.nist.gov</tt>.</dd>
125</dl>
126<hr>
127<script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
128</body>
129</html>
130