How to get debug messages with ntpd
This document (7009361) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 10 Service Pack 3
SUSE Linux Enterprise Server 10 Service Pack 4
SUSE Linux Enterprise Desktop 11 Service Pack 1
Situation
Resolution
Instead edit /etc/ntp.conf and comment out one of these two options:
# logconfig =syncstatus + sysevents
# logconfig =all
The first will log more messages regarding syncstatus and system events. The second option would log all kinds of informational and debugging messages to /var/log/ntp.
Be aware that this could fill up the log file very quick. Check regularly how much is logged if you let it run with these options for a longer time.
Don't forget to comment the changed line again if it is not needed anymore later.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7009361
- Creation Date: 15-Sep-2011
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com