Hi there,
I am trying to update the latest time and date in my device. But everytime it ends with an error.
The local time zone here is Asia/Kolkata (GMT +5:30), And according to the exact time of writing this article its 17 April, 2023 10:21:41 AM here.
But my device is showing 14 April, 2023 06:08:45 AM here.
Is there any way to fix this ??
â—‹ systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/usr/lib/systemd/system/systemd-timesyncd.service; disabled; preset: enabled)
Active: inactive (dead)
Docs: man:systemd-timesyncd.service(8)
Apr 10 23:16:17 Anoxmas systemd[1]: Starting Network Time Synchronization...
Apr 15 05:53:31 Anoxmas systemd-timesyncd[729]: System clock time unset or jumped backwards, restored from re>
Apr 15 05:53:31 Anoxmas systemd[1]: Started Network Time Synchronization.
Apr 15 06:00:30 Anoxmas systemd[1]: Stopping Network Time Synchronization...
Apr 15 06:00:30 Anoxmas systemd[1]: systemd-timesyncd.service: Deactivated successfully.
Apr 15 06:00:30 Anoxmas systemd[1]: Stopped Network Time Synchronization.
lines 1-11/11 (END)
Due to this time and date issue, i am unable to perform many actions on the internet.
filo
April 17, 2023, 6:28am
5
Are you tring to untick "Set date and time automatically"?
If so, it could be this KDE bug:
https://bugs.kde.org/show_bug.cgi?id=447364
PS: Your garuda-inxi
is missing.
If dual booting with windows, maybe take a look also at this article:
https://wiki.archlinux.org/title/System_time#UTC_in_Microsoft_Windows
2 Likes
HEre is my device inxi:
System:
Kernel: 6.2.10-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=319bf36d-d750-42a7-be05-83119ebc8b12 rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.4 tk: Qt v: 5.15.9 wm: kwin_x11 dm: SDDM
Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: HP product: Victus by HP Laptop 16-d0xxx v: N/A
serial: <filter> Chassis: type: 10 serial: <filter>
Mobo: HP model: 88F9 v: 88.57 serial: <filter> UEFI: AMI v: F.22
date: 11/28/2022
Battery:
ID-1: BAT0 charge: 13.9 Wh (23.4%) condition: 59.4/70.1 Wh (84.8%)
volts: 13.9 min: 15.4 model: HP Primary type: Li-ion serial: <filter>
status: discharging cycles: 55
CPU:
Info: model: 11th Gen Intel Core i7-11800H socket: U3E1 bits: 64
type: MT MCP arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
process: Intel 10nm family: 6 model-id: 0x8D (141) stepping: 1
microcode: 0x42
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 640 KiB desc: d-8x48 KiB; i-8x32 KiB L2: 10 MiB desc: 8x1.2 MiB
L3: 24 MiB desc: 1x24 MiB
Speed (MHz): avg: 1627 high: 2523 min/max: 800/4600 base/boost: 2178/5000
scaling: driver: intel_pstate governor: powersave volts: 0.7 V
ext-clock: 100 MHz cores: 1: 1075 2: 1143 3: 2226 4: 1959 5: 920 6: 2300
7: 1202 8: 800 9: 1281 10: 1033 11: 2523 12: 1891 13: 2523 14: 1458
15: 2475 16: 1224 bogomips: 73728
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Hewlett-Packard
driver: i915 v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21
ports: active: eDP-1 empty: DP-1 bus-ID: 0000:00:02.0 chip-ID: 8086:9a60
class-ID: 0300
Device-2: NVIDIA GA107M [GeForce RTX 3050 Ti Mobile]
vendor: Hewlett-Packard driver: nouveau v: kernel non-free: 530.xx+
status: current (as of 2023-03) arch: Ampere code: GAxxx
process: TSMC n7 (7nm) built: 2020-22 ports: active: none empty: HDMI-A-1
bus-ID: 0000:01:00.0 chip-ID: 10de:25a0 class-ID: 0300
Device-3: Chicony HP Wide Vision HD Camera type: USB driver: uvcvideo
bus-ID: 2-6:2 chip-ID: 04f2:b735 class-ID: fe01 serial: <filter>
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1
compositor: kwin_x11 driver: X: loaded: modesetting,nouveau
alternate: fbdev,intel,nv,vesa dri: iris,nouveau gpu: i915 display-ID: :0
screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 model: BOE Display 0x0aad built: 2021 res: 1920x1080
hz: 144 dpi: 137 gamma: 1.2 size: 355x200mm (13.98x7.87") diag: 407mm (16")
ratio: 16:9 modes: 1920x1080
API: OpenGL v: 4.6 Mesa 23.0.2 renderer: Mesa Intel UHD Graphics (TGL GT1)
direct-render: Yes
Audio:
Device-1: Intel Tiger Lake-H HD Audio vendor: Hewlett-Packard
driver: sof-audio-pci-intel-tgl
alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3
chip-ID: 8086:43c8 class-ID: 0401
Device-2: NVIDIA vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
bus-ID: 0000:01:00.1 chip-ID: 10de:2291 class-ID: 0403
API: ALSA v: k6.2.10-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: alsamixer,amixer
Server-1: PipeWire v: 0.3.68 status: n/a (root, process) with:
1: pipewire-pulse status: active 2: wireplumber status: active
3: pipewire-alsa type: plugin 4: pw-jack type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Tiger Lake PCH CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 0000:00:14.3 chip-ID: 8086:43f0 class-ID: 0280
IF: wlo1 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Hewlett-Packard driver: r8169 v: kernel port: 3000
bus-ID: 0000:02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eno1 state: down mac: <filter>
IF-ID-1: anbox0 state: down mac: <filter>
Bluetooth:
Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 2-14:3 chip-ID: 8087:0026 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address: <filter>
RAID:
Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:9a0b rev: class-ID: 0104
Drives:
Local Storage: total: 476.94 GiB used: 67.36 GiB (14.1%)
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron
model: MTFDKBA512TFH-1BC1AABHA size: 476.94 GiB block-size: physical: 512 B
logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
rev: HPS0043 temp: 55.9 C scheme: GPT
SMART: yes health: PASSED on: 7d 9h cycles: 922
read-units: 7,466,363 [3.82 TB] written-units: 9,689,812 [4.96 TB]
Partition:
ID-1: / raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 67.36 GiB (14.1%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 608 KiB (0.2%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
maj-min: 259:1
ID-3: /home raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 67.36 GiB (14.1%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
maj-min: 259:2
ID-4: /var/log raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 67.36 GiB (14.1%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
maj-min: 259:2
ID-5: /var/tmp raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 67.36 GiB (14.1%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.26 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: N/A mobo: N/A
Fan Speeds (RPM): cpu: 2691 fan-2: 2894
Info:
Processes: 355 Uptime: 4h 37m wakeups: 725 Memory: 15.26 GiB
used: 4.84 GiB (31.7%) Init: systemd v: 253 default: graphical
tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: 1792
pm: pacman pkgs: 1777 libs: 521 tools: octopi,paru pm: flatpak pkgs: 15
Shell: garuda-inxi (sudo) default: Bash v: 5.1.16 running-in: konsole
inxi: 3.3.26
Garuda (2.6.16-1):
System install date: 2023-04-10
Last full system update: 2023-04-15 ↻
Is partially upgraded: No
Relevant software: snapper NetworkManager dracut
Windows dual boot: No/Undetected
Failed units: anbox-container-manager.service systemd-networkd-wait-online.service
filo
April 17, 2023, 12:13pm
8
Check if this post (and thread in general) helps:
UPDATE
If I manually synchronize using sudo ntpdate pool.ntp.org, the clock is successfully synchronized. Also, I used a Live USB to boot into Garuda Linux. I checked the status of timedatectl and the system clock was synchronized.
1 Like
This is good advice. This service is one of the simplest ways to solve your problem. Configuration instructions are here: systemd-timesyncd - ArchWiki
If you are having trouble getting it working, paste exact information into the thread for troubleshooting–the contents of /etc/systemd/timesyncd.conf
, the output of systemctl status systemd-timesyncd
, and the output of timedatectl show-timesync --all
, for example.
sunmughan:
Its not working
This is not helpful because it doesn’t contain any information that could help explain why it’s not working.
2 Likes
system
Closed
May 2, 2023, 11:02am
11
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.