[Info-vax] [7.3 VAX] NTP and daylight saving time
Volker Halle
volker_halle at hotmail.com
Tue Oct 29 14:37:54 EDT 2024
Am 29.10.2024 um 14:19 schrieb JKB:
> Hello,
>
> My VAX runs OpenVMS 7.3 and I uave configured NTP client some
> months ago.
>
> Today, I have seen that clock was not synchronized. SHOW TIME
> returns a difference greater than 4 hours between OVMS client and
> NetBSD server.
>
> I have restarted NTP.
>
> $ type TCPIP$NTP_RUN.LOG
> 29 Oct 08:57:13 ntpd version = 4.1.0
> 29 Oct 08:57:14 precision = 10000 usec
> 29 Oct 08:57:16 drift file 'SYS$SPECIFIC:[TCPIP$NTP]TCPIP$NTP.DRIFT' does not e
> xist: no such file or directory
> 29 Oct 08:57:17 will attempt to create drift file
> 29 Oct 09:01:41 time correction of 3607 seconds exceeds sanity limit (1000); se
> $ show time
> 29-OCT-2024 14:15:21
>
> On server side :
> hilbert:[~] > date
> mar. 29 oct. 2024 14:15:34 CET
>
> I have checked timezone with @SYS$MANAGER:UTC$TIME_SETUP.COM and, for
> me, configuration correspond to Europe/Paris time.
>
> Server use UTC. For me, client use UTC also and only SHOW TIME does
> time conversion from UTC to local time. I suppose I have done a
> mistake somewhere, but where ?
>
> Regards,
>
> JB
>
JB,
SHOW TIME does not do any time conversion.
On VAX you might need to run sys$examples:daylight_savings.com to switch
between daylight savings time and normal time.
$ sho log sys$time*
...
(LNM$SYSTEM_TABLE)
"SYS$TIMEZONE_DAYLIGHT_SAVING" = "0"
"SYS$TIMEZONE_DIFFERENTIAL" = "3600"
"SYS$TIMEZONE_NAME" = "MET"
"SYS$TIMEZONE_RULE" = "MET-1MET_DST-2,M3.5.0/2,M10.5.0/3"
Regards,
Volker.
More information about the Info-vax
mailing list