[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:network_services:ntp [2022/06/30 22:41 (UTC)] – rewrite to Slackware 15.0 and current best practices metaed | howtos:network_services:ntp [2022/09/20 19:46 (UTC)] (current) – [Sources] tag to Slackware 15.0 and additional author metaed | ||
---|---|---|---|
Line 111: | Line 111: | ||
# touch / | # touch / | ||
# chown ntp:ntp / | # chown ntp:ntp / | ||
+ | |||
+ | ==== Filtering the log ==== | ||
+ | |||
+ | NTP lets you filter certain messages out of the log, based on the message' | ||
+ | '' | ||
+ | |||
+ | clock peer sync sys | ||
+ | |||
+ | and four types defined: | ||
+ | |||
+ | info events status statistics | ||
+ | |||
+ | Because the preinstalled Slackware ''/ | ||
+ | filter, you get out-of-box behavior. NTP will pass messages that are tagged | ||
+ | with the '' | ||
+ | class. | ||
+ | |||
+ | <note important> | ||
+ | The out-of-box behavior unfortunately filters the message associated with at | ||
+ | least one common fatal condition (termination of the ntpd process when the | ||
+ | clock offset exceeds its panic threshold). | ||
+ | </ | ||
+ | |||
+ | If you want all available diagnostic messages logged, you should disable all | ||
+ | filtering by class or type in ''/ | ||
+ | |||
+ | logconfig =allall | ||
===== Statistics gathering ===== | ===== Statistics gathering ===== | ||
Line 215: | Line 242: | ||
The risk that you run if you don't set // | The risk that you run if you don't set // | ||
// | // | ||
- | wrong at boot timeand | + | wrong at boot time and give you inaccurate time, or even panic and exit. |
</ | </ | ||
Line 305: | Line 332: | ||
System services that should wait to start until the clock is stable can be | System services that should wait to start until the clock is stable can be | ||
- | preceded by the '' | + | preceded by the '' |
you could conceivably edit the MariaDB section of ''/ | you could conceivably edit the MariaDB section of ''/ | ||
Line 423: | Line 450: | ||
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
<!-- You must remove the tag-word " | <!-- You must remove the tag-word " | ||
- | {{tag> | + | {{tag> |