I just added the 2 timeservers and removed the others but i get the error from yast that it cant start the chrony service
oh, never mind, i had the gui yast open at the same time as the command line version thtas why the error happened
@erbenton ahh, so all good now?
well, i am still 2 seconds off - how long do i need to wait for this to update iteself
nope, still 2 seconds off and i did both pc’s
wait, i misread it, its a lot more off
Thu 2024-06-13 02:37:45 UTC
vs
Thu 2024-06-13 02:40:09 UTC
@erbenton what does chronyc tracking show from both systems
PC1
chronyc tracking
Reference ID : A29FC801 (time.cloudflare.com)
Stratum : 4
Ref time (UTC) : Thu Jun 13 02:43:56 2024
System time : 0.000251908 seconds slow of NTP time
Last offset : -0.000259353 seconds
RMS offset : 0.003533100 seconds
Frequency : 22.919 ppm fast
Residual freq : -42.846 ppm
Skew : 2.034 ppm
Root delay : 0.043341704 seconds
Root dispersion : 0.004276142 seconds
Update interval : 64.7 seconds
Leap status : Normal
PC2:
chronyc tracking
Reference ID : 00000000 ()
Stratum : 0
Ref time (UTC) : Thu Jan 01 00:00:00 1970
System time : 0.000000004 seconds slow of NTP time
Last offset : +0.000000000 seconds
RMS offset : 0.000000000 seconds
Frequency : 12.006 ppm slow
Residual freq : +0.000 ppm
Skew : 0.000 ppm
Root delay : 1.000000000 seconds
Root dispersion : 1.000000000 seconds
Update interval : 0.0 seconds
Leap status : Not synchronised
@erbenton PC2 isn’t configured, no ntp server… and it’s showing epoch?? CMOS battery ok?
I believe the cmos battery is ok, hard to tell on a laptop, i would change it for good measure if i could get at it easily. Is there a SW method to check it?
could it be a systemd service interfering with it? I wouldnt know what to check to verify the proper services are running
Let me reboot to bios and see if it has any info on the battery there
BIOS show time and date are approximately correct so i think the battery is ok
@erbenton and set to UTC time in the BIOS?
yes, set to UTC in BIOS
I just checked in yast and chrony was dead, i set it to start on boot. now i need to reboot BRB
ok, chrony shows as running but the time is still off
and chronyc tracking shows the same bad data
something here isnt right:
service chronyd status
- chronyd.service - NTP client/server
Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled; preset: disabled)
Active: inactive (dead) since Wed 2024-06-12 20:02:48 PDT; 3min 46s ago
Duration: 56.034s
Docs: man:chronyd(8)
man:chrony.conf(5)
Process: 1668 ExecStart=/usr/sbin/chronyd $OPTIONS (code=exited, status=0/SUCCESS)
Process: 1707 ExecStartPost=/usr/libexec/chrony/helper update-daemon (code=exited, status=0/SUCCESS)
Main PID: 1701 (code=exited, status=0/SUCCESS)
CPU: 85msJun 12 20:01:52 systemd[1]: Starting NTP client/server…
Jun 12 20:01:52 chronyd[1701]: chronyd version 4.5 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +NTS +SEC>
Jun 12 20:01:52 chronyd[1701]: Frequency -12.006 +/- 0.519 ppm read from /var/lib/chrony/drift
Jun 12 20:01:52 systemd[1]: Started NTP client/server.
Jun 12 20:02:48 e chronyd[1701]: chronyd exiting
Jun 12 20:02:48 systemd[1]: Stopping NTP client/server…
Jun 12 20:02:48 e systemd[1]: chronyd.service: Deactivated successfully.
Jun 12 20:02:48 systemd[1]: Stopped NTP client/server.
@erbenton It’s not finding any ntp servers…
Should see;
Jun 12 22:08:10 grover systemd[1]: Starting NTP client/server...
Jun 12 22:08:10 grover chronyd[2016]: chronyd version 4.5 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +NTS +SECHASH +IPV6 -DEBUG)
Jun 12 22:08:10 grover chronyd[2016]: Frequency -4.525 +/- 0.036 ppm read from /var/lib/chrony/drift
Jun 12 22:08:10 grover chronyd[2016]: Source myserver offline
Jun 12 22:08:10 grover systemd[1]: Started NTP client/server.
Jun 12 22:08:17 grover chronyd[2016]: Source myserver online
Jun 12 22:08:20 grover chronyd[2016]: Selected source myserver
Do you have an internet connection, DNS ok?
yes, i have been using the laptop (which has the problem) for the entire session here on the forums
@erbenton can you show your /etc/chrony.conf and /etc/chrony.d/pool.conf
There is a suse upload service but i cant remember the name of the program to use to upload it there. It would make it easier for you if i used that I think