Хотите сделать посильный вклад в развитие Ubuntu и русскоязычного сообщества? Помогите нам с документацией!
0 Пользователей и 1 Гость просматривают эту тему.
timedatectl set-ntp true
timedatectl set-timezone Europe/Moscow
↓↓↓ /home/fjf tzselectPlease identify a location so that time zone rules can be set correctly.Please select a continent, ocean, "coord", or "TZ". 1) Africa 2) Americas 3) Antarctica 4) Asia 5) Atlantic Ocean 6) Australia 7) Europe 8) Indian Ocean 9) Pacific Ocean10) coord - I want to use geographical coordinates.11) TZ - I want to specify the timezone using the Posix TZ format.#?
↓↓↓ /home/fjf timedatectl status Local time: Mon 2023-04-24 06:48:42 EDT Universal time: Mon 2023-04-24 10:48:42 UTC RTC time: Mon 2023-04-24 10:48:42 Time zone: America/Toronto (EDT, -0400)System clock synchronized: yes NTP service: active RTC in local TZ: no ↓↓↓ /home/fjf
Странно, чего это вдруг синхронизация стала капризничать
systemctl status ntp
systemctl status systemd-timesyncd
↓↓↓ /home/fjf sudo systemctl status systemd-timesyncd[sudo] password for fjf: ● systemd-timesyncd.service - Network Time Synchronization Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2023-04-24 09:33:46 EDT; 6min ago Docs: man:systemd-timesyncd.service(8) Main PID: 939 (systemd-timesyn) Status: "Initial synchronization to time server 185.125.190.57:123 (ntp.ubuntu.com)." Tasks: 2 (limit: 4499) Memory: 2.2M CGroup: /system.slice/systemd-timesyncd.service └─939 /lib/systemd/systemd-timesyncdApr 24 09:33:45 fjf-OptiPlex-790 systemd[1]: Starting Network Time Synchronization...Apr 24 09:33:46 fjf-OptiPlex-790 systemd[1]: Started Network Time Synchronization.Apr 24 09:34:16 fjf-OptiPlex-790 systemd-timesyncd[939]: Initial synchronization to time server 185.125.190.57:123 (ntp.ubuntu.com).↓↓↓ /home/fjf
Так если в организации доступ закрыт
systemctl status ntp● ntp.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead)
Страница сгенерирована за 0.169 секунд. Запросов: 21.