Nastavení času na serveru

darebacik

  • *****
  • 1 021
    • Zobrazit profil
Nastavení času na serveru
« kdy: 01. 02. 2020, 20:56:46 »
Vo VM mam debian 9. Neviem od kedy ale mam tam blby cas. V skutocnosti je
20:43
a ja mam toto
      Local time: So 2020-02-01 21:21:59 CET
  Universal time: So 2020-02-01 20:21:59 UTC
        RTC time: So 2020-02-01 19:43:46
       Time zone: Europe/Bratislava (CET, +0100)
Network time on: yes
NTP synchronized: yes
RTC in local TZ: no

Je to posunute o 38 minut, co je dost zvlastne. Skusal som to nastavit aj rucne
sudo timedatectl set-time 20:48:30
ale dostal som hlasku
Failed to set time: Automatic time synchronization is enabled

tak som chcel timedatectl nastavit na false
timedatectl set-ntp false
ale zlyhalo to
Failed to set ntp: The name org.freedesktop.PolicyKit1 was not provided by any .service files
Nejak sa mi to cele nepaci ked to nejde to nastavit ani rucne



darebacik

  • *****
  • 1 021
    • Zobrazit profil
Re:nastavenie casu
« Odpověď #1 kdy: 02. 02. 2020, 16:50:13 »
Vyriesene,

Nerobim to sice rad, ale spravil som reboot a cas je uz OK.