麒麟系统日期时间同步服务

470 阅读1分钟

麒麟系统版本信息

$ cat /etc/os-release
NAME="Kylin"
VERSION="银河麒麟桌面操作系统V10 (SP1)"
VERSION_US="Kylin Linux Desktop V10 (SP1)"
ID=kylin
ID_LIKE=debian
PRETTY_NAME="Kylin V10 SP1"
VERSION_ID="v10"
HOME_URL="http://www.kylinos.cn/"
SUPPORT_URL="http://www.kylinos.cn/support/technology.html"
BUG_REPORT_URL="http://www.kylinos.cn/"
PRIVACY_POLICY_URL="http://www.kylinos.cn"
VERSION_CODENAME=kylin
UBUNTU_CODENAME=kylin
PROJECT_CODENAME=V10SP1
KYLIN_RELEASE_ID="2209"

时间同步服务

$ sudo systemctl status systemd-timesyncd.service
● systemd-timesyncd.service - Network Time Synchronization
     Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2024-05-14 09:15:16 CST; 2 days ago
       Docs: man:systemd-timesyncd.service(8)
   Main PID: 405 (systemd-timesyn)
     Status: "Initial synchronization to time server 203.107.6.88:123 (ntp2.aliyun.com)."
      Tasks: 2 (limit: 8873)
     Memory: 1.8M
     CGroup: /system.slice/systemd-timesyncd.service
             └─405 /lib/systemd/systemd-timesyncd

5月 15 15:59:27 kylinos systemd-timesyncd[405]: Timed out waiting for reply from 203.107.6.88:123 (ntp3.aliyun.com).
5月 15 17:42:57 kylinos systemd-timesyncd[405]: Timed out waiting for reply from 120.25.115.20:123 (ntp1.aliyun.com).
5月 15 17:42:57 kylinos systemd-timesyncd[405]: Initial synchronization to time server 203.107.6.88:123 (ntp2.aliyun.com).
Warning: journal has been rotated since unit was started, output may be incomplete.