HP-UX Internet Services Administrator's Guide (August 2003)
Configuring NTP
Troubleshooting NTP
Chapter 4 91
Troubleshooting NTP
This section outlines techniques that can help you diagnose and correct
common problems with the NTP.
Verifying That xntpd is Running
Issue the following command to determine out if xntpd is running:
/usr/bin/ps -ef | /usr/bin/grep xntpd
This command reports the process identification (PID), current time, and
the command invoked (xntpd). Following is an example output:
daemon 4484 1 0 Feb 18 ? 0:00 xntpd
Ensure that syslogd is configured to log daemon information messages
to the file /var/adm/syslog/syslog.log. To check this configuration,
ensure that the file /etc/syslog.conf includes one of the following
entries:
*.info /var/adm/syslog/syslog.log
or
daemon.info /var/adm/syslog/syslog.log
If xntpd is not running, check the syslog file for related messages.
NTP Associations
Each NTP daemon must form an association with a time source: a
higher-level (lower stratum) server for stratum-1 servers, or an external
clock. NTP daemons can form additional associations with peer servers.
Use the following command to list the NTP associations established by
the local NTP daemon:
/usr/sbin/ntpq -p
In the output, an asterisk (*) must appear next to the node name to
indicate that an association has been formed.