× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Maybe it is the amount of time in the poll interval.

https://www.itjungle.com/2009/10/21/fhg102109-story03/



On Thu, Feb 25, 2021 at 5:22 PM K Crawford <kscx3ksc@xxxxxxxxx> wrote:

I don't think my IBMi is keeping/adjusting time correctly.
I am usually about 2 minutes slow compared to time.gov.
I have the SNTP server setup. Can anyone tell me what I am missing.

I did a WRKJOB QTOTNTP and it is active.

Change SNTP Attributes (CHGNTPA)

Type choices, press Enter.

Remote system . . . . . . . . . 'time.nist.gov'

+ for more values 'ntp-b.nist.gov'

Client autostart . . . . . . . . *YES *SAME, *NO, *YES

Client poll interval . . . . . . 1440 1-1440 minutes, *SAME

Client minimum adjustment . . . 100 0-300000 milliseconds...

Client maximum adjustment . . . 20 1-120 minutes, *SAME

Client adjustment threshold . . *MAXADJ 1-7200 seconds, *SAME,
*MAXAD
Client activity log . . . . . . *POLL *SAME, *NONE, *CHANGE,
*POLL
Server autostart . . . . . . . . *NO *SAME, *NO, *YES

Server activity log . . . . . . *ALL *SAME, *NONE, *ALL,
*ERROR
Synchronization required . . . . *NO *SAME, *NO, *YES


Looking at the logs all looks okay. Here is a current one.
/QIBM/USERDATA/OS400/TCPIP/NTP/QTOT20210225
************Beginning of data**************

SNTP Client Activity Log QTOTNTP/QNTP/732024 02/25/21 10:49:41.356 AM

TCP9136 SNTP Client started.

TCP9146 Using time server 10.1.14.66.

TCP9162 02/25/21 10:49:41.358 AM Time remaining for adjustment is 0.000
seconds.
TCP9116 02/25/21 10:49:41.358 AM NTP server UTC time is 02/25/21
16:49:41.589.
TCP9117 02/25/21 10:49:41.358 AM Client clock UTC time is 02/25/21
16:49:41.244.
TCP9120 02/25/21 10:49:41.358 AM Client clock adjusted = 1 (0 = not
adjusted, 1 = adjusted)
************End of Data********************

DSPSYSVAL SYSVAL(QTIMADJ)
Time adjustment . . . : QIBM_OS400_SNTP

TIA
--
Kerwin Crawford
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.