全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
12
返回列表 发新帖
楼主: 404-not-found
打印 上一主题 下一主题

不懂就问,请大佬指点

[复制链接]
11#
 楼主| 发表于 2019-12-7 13:54:00 | 只看该作者
hehe 发表于 2019-12-7 13:38
另外,你看一下 systemd-timesyncd 配置文件
  1. #  This file is part of systemd.
  2. #
  3. #  systemd is free software; you can redistribute it and/or modify it
  4. #  under the terms of the GNU Lesser General Public License as published by
  5. #  the Free Software Foundation; either version 2.1 of the License, or
  6. #  (at your option) any later version.
  7. #
  8. # Entries in this file show the compile time defaults.
  9. # You can change settings by editing this file.
  10. # Defaults can be restored by simply deleting this file.
  11. #
  12. # See timesyncd.conf(5) for details.

  13. [Time]
  14. #NTP=
  15. #FallbackNTP=0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org
  16. #RootDistanceMaxSec=5
  17. #PollIntervalMinSec=32
  18. #PollIntervalMaxSec=2048
复制代码



是不是这个文件有问题
12#
发表于 2019-12-7 13:54:30 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
13#
发表于 2019-12-7 13:55:56 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
14#
 楼主| 发表于 2019-12-7 14:01:33 | 只看该作者
hehe 发表于 2019-12-7 13:55
第 15 行,改成:

更改以后

  1. root@PH:~# systemctl restart systemd-timesyncd
  2. Job for systemd-timesyncd.service failed because of unavailable resources or another system error.
  3. See "systemctl status systemd-timesyncd.service" and "journalctl -xe" for details.
  4. root@PH:~# systemctl status systemd-timesyncd.service
  5. ● systemd-timesyncd.service - Network Time Synchronization
  6.    Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled)
  7.   Drop-In: /lib/systemd/system/systemd-timesyncd.service.d
  8.            └─disable-with-time-daemon.conf
  9.    Active: failed (Result: resources) since Sat 2019-12-07 14:00:24 CST; 3s ago
  10.      Docs: man:systemd-timesyncd.service(8)

  11. 12月 07 14:00:24 PH.Paleur systemd[1]: systemd-timesyncd.service: Service has no hold-off time (RestartSec=0), sched
  12. uling restart.
  13. 12月 07 14:00:24 PH.Paleur systemd[1]: systemd-timesyncd.service: Scheduled restart job, restart counter is at 5.
  14. 12月 07 14:00:24 PH.Paleur systemd[1]: Stopped Network Time Synchronization.
  15. 12月 07 14:00:24 PH.Paleur systemd[1]: systemd-timesyncd.service: Start request repeated too
  16. quickly.
  17. 12月 07 14:00:24 PH.Paleur systemd[1]: systemd-timesyncd.service: Failed with result 'resour
  18. ces'.
  19. 12月 07 14:00:24 PH.Paleur systemd[1]: Failed to start Network Time Synchronization.
  20. root@PH:~# journalctl -xe
  21. -- Logs begin at Sat 2019-12-07 13:39:15 CST, end at Sat 2019-12-07 14:00:24 CST. --
  22. 12月 07 13:39:15 PH.Paleur kernel: Linux version 4.19.0-6-amd64 ([email protected].
  23. org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11)
  24. 12月 07 13:39:15 PH.Paleur kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-4.19.0-6-amd64 root=UUID=4984a3df-70a6-4e6
  25. 6-a914-d36d2b2ee82a ro quiet
  26. 12月 07 13:39:15 PH.Paleur kernel: Disabled fast string operations
  27. 12月 07 13:39:15 PH.Paleur kernel: x86/fpu: x87 FPU will use FXSAVE
  28. 12月 07 13:39:15 PH.Paleur kernel: BIOS-provided physical RAM map:
  29. 12月 07 13:39:15 PH.Paleur kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009dbff] usable
  30. 12月 07 13:39:15 PH.Paleur kernel: BIOS-e820: [mem 0x000000000009dc00-0x000000000009ffff] reserved
  31. 12月 07 13:39:15 PH.Paleur kernel: BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
  32. 12月 07 13:39:15 PH.Paleur kernel: BIOS-e820: [mem 0x0000000000100000-0x000000001fffcfff] usable
  33. 12月 07 13:39:15 PH.Paleur kernel: BIOS-e820: [mem 0x000000001fffd000-0x000000001fffffff] reserved
  34. 12月 07 13:39:15 PH.Paleur kernel: BIOS-e820: [mem 0x00000000fffbc000-0x00000000ffffffff] reserved
  35. 12月 07 13:39:15 PH.Paleur kernel: NX (Execute Disable) protection: active
  36. 12月 07 13:39:15 PH.Paleur kernel: SMBIOS 2.4 present.
  37. 12月 07 13:39:15 PH.Paleur kernel: DMI: Red Hat KVM, BIOS 0.5.1 01/01/2007
  38. 12月 07 13:39:15 PH.Paleur kernel: Hypervisor detected: KVM
  39. 12月 07 13:39:15 PH.Paleur kernel: kvm-clock: Using msrs 4b564d01 and 4b564d00
  40. 12月 07 13:39:15 PH.Paleur kernel: kvm-clock: cpu 0, msr f9e4001, primary cpu clock
  41. 12月 07 13:39:15 PH.Paleur kernel: kvm-clock: using sched offset of 95782066144338 cycles
  42. 12月 07 13:39:15 PH.Paleur kernel: clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_i
  43. dle_ns: 881590591483 ns
  44. 12月 07 13:39:15 PH.Paleur kernel: tsc: Detected 2199.998 MHz processor
  45. 12月 07 13:39:15 PH.Paleur kernel: e820: update [mem 0x00000000-0x00000fff] usable ==> reser
  46. ved
  47. 12月 07 13:39:15 PH.Paleur kernel: e820: remove [mem 0x000a0000-0x000fffff] usable
  48. 12月 07 13:39:15 PH.Paleur kernel: last_pfn = 0x1fffd max_arch_pfn = 0x400000000
  49. 12月 07 13:39:15 PH.Paleur kernel: MTRR default type: write-back
  50. 12月 07 13:39:15 PH.Paleur kernel: MTRR fixed ranges enabled:
  51. 12月 07 13:39:15 PH.Paleur kernel:   00000-9FFFF write-back
  52. 12月 07 13:39:15 PH.Paleur kernel:   A0000-BFFFF uncachable
  53. 12月 07 13:39:15 PH.Paleur kernel:   C0000-FFFFF write-protect
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-12-24 16:59 , Processed in 0.110737 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表