Technical data

Configuring and Managing NTP
12.8 NTP Utilities
Table 12–6 NTPQ Options
Option Description
-c command
Adds the specified interactive command to the list of commands to be
executed on the specified host. You can enter multiple
-c
options on
the command line.
-i
Forces NTPQ to operate in interactive mode. This is the default mode
of operation.
-n
Displays host addresses numeric format rather than converting them
to host names.
-p
Displays a list of the peers known to the server as well as a summary
of their state.
The
-c
and
-p
options send the query to the specified host immediately. If you
omit the host names, the default is the local host. To enter interactive mode,
specify the
-i
or
-n
option.
12.9 Solving NTP Problems
Some common NTP problems include:
Out of synch system clock.
The NTP cannot synchronize a clock that is off by more than 1000 seconds.
To solve this problem, set the clock using TCPIP$NTPDATE, then restart the
NTP.
NTPDATE fails to set the clock.
This occurs if the NTP is already running.
More than one service is actively setting the system clock.
The NTP can run with other time services but must be explicitly instructed
not to set the system clock. NTP can still provide synchronization to other
clients even if it is not updating the system clock.
NTP appears to be running without error, but the system clock is off by a one,
two, three, or four-hour interval.
You may need to adjust the time zone differential by running
SYS$COMMON:[SYSMGR]UTC$CONFIGURE_TDF.COM. (See Section 12.5
for more information.)
Configuring and Managing NTP 12–27