zoukankan      html  css  js  c++  java
  • The system is configured to read the RTC time in the local time zone. This mode can not be fully supported

    1.使用timedatectl 查看后,发现硬件时钟时间被启用:

          Local time: 一 2021-06-28 18:04:53 CST

      Universal time: 一 2021-06-28 10:04:53 UTC

            RTC time: 一 2021-06-28 18:04:53

           Time zone: Asia/Shanghai (CST, +0800)

         NTP enabled: yes

    NTP synchronized: yes

     RTC in local TZ: yes

          DST active: n/a

    这是不对了,无特殊情况,不能启用硬件的时钟来校时。

    2. 运行命令timedatectl set-local-rtc 0,关闭硬件时钟校时,如下显示no即正常了:

    # timedatectl 

          Local time: 一 2021-06-28 18:07:52 CST

      Universal time: 一 2021-06-28 10:07:52 UTC

            RTC time: 一 2021-06-28 10:07:52

           Time zone: Asia/Shanghai (CST, +0800)

         NTP enabled: yes

    NTP synchronized: yes

     RTC in local TZ: no

          DST active: n/a

    结束。

  • 相关阅读:
    【8-21】java学习笔记03
    【每天一点点】
    【8-20】java学习笔记02
    【8-19】java学习笔记01
    【8-18】JS学习01
    【8-17】HTML测试
    Selenium之WebDriverWait
    Selenium之XPATH定位方法
    Fiddler用法
    微服务架构系统的测试
  • 原文地址:https://www.cnblogs.com/liusingbon/p/14945736.html
Copyright © 2011-2022 走看看