Cobra Forum

Linux => New to Ubuntu => Topic started by: mahesh on Sep 06, 2023, 03:27 AM

Title: System clock is off
Post by: mahesh on Sep 06, 2023, 03:27 AM
Greetings,

Newbie here trying to get the clock to synchronize. Running ubuntu 20.04.3 LTS.

I have installed systemd.timesyncd. And opened outbound port 37 tcp and udp.

     Code:
glenn@LinuxBox:~$ sudo systemctl status systemd-timesyncd
[sudo] password for glenn:
● systemd-timesyncd.service - Network Time Synchronization
     Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; v>
     Active: active (running) since Sun 2022-04-03 03:58:42 PDT; 4h 24min ago
       Docs: man:systemd-timesyncd.service(8)
   Main PID: 4991 (systemd-timesyn)
     Status: "Idle."
      Tasks: 2 (limit: 6087)
     Memory: 1.3M
     CGroup: /system.slice/systemd-timesyncd.service
             └─4991 /lib/systemd/systemd-timesyncd

Apr 03 03:58:42 LinuxBox systemd[1]: Starting Network Time Synchronization...
Apr 03 03:58:42 LinuxBox systemd[1]: Started Network Time Synchronization.

     Code:
glenn@LinuxBox:~$ timedatectl
               Local time: Sun 2022-04-03 08:26:39 PDT     
           Universal time: Sun 2022-04-03 15:26:39 UTC     
                 RTC time: Sun 2022-04-03 15:26:40         
                Time zone: America/Los_Angeles (PDT, -0700)
System clock synchronized: no                             
              NTP service: active                         
          RTC in local TZ: no

What's the trick to get the time to synchronize? The man pages are less than helpful.

Thanks in advance,
--glenn