O'Reilly logo

Solaris™ 9 Network Administrator Exam Cram™ 2 (Exam CX-310-044) by John Philcox

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Troubleshooting NTP

Problems with NTP, such as when a server is not responding to client requests, are best diagnosed by viewing log messages and using the snoop utility. Also, the xntpdc and ntpq programs can aid you in troubleshooting NTP, especially by examining the current status of the NTP server process (xntpd) and the NTP server itself. Each of these is described in the following sections.

Log Messages

NTP logs messages via syslog and writes them to /var/adm/messages. Look in this file for NTP-related messages. The following extract of messages shows what happens when a client starts up and runs ntpdate to set the initial time, and then synchronizes with a time server:

 Apr 16 15:22:31 ultra5 ntpdate[432]: [ID 318594 daemon.notice] \ no ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required