binbin3821 2015-07-18 15:07 采纳率: 0%
浏览 5358

REDHAT7 重启服务器后,NTP不能正常进行时间同步

系统是Redhat7
服务器可以使用NTP同步时间
[root@localhost Desktop]# ntpstat
synchronised to NTP server (172.16.30.254) at stratum 11
time correct to within 7938 ms
polling server every 64 s

已经设定了NTP服务开机启动
[root@localhost Desktop]# systemctl is-enabled ntpd.service
enabled

但是每次重启后,都会显示NTP同步失败,要restart ntpd.service才能生效
[root@localhost Desktop]# ntpstat
unsynchronised
polling server every 64 s

请问还应该设置什么呢? 另外使用 timedatectl status查看时,NTP enabled总是no,为什么呢?
[root@localhost Desktop]# timedatectl status
Local time: Wed 2015-07-15 04:37:40 CST
Universal time: Tue 2015-07-14 20:37:40 UTC
RTC time: Sat 2015-07-18 15:04:55
Timezone: Asia/Shanghai (CST, +0800)
NTP enabled: no
NTP synchronized: yes
RTC in local TZ: no
DST active: n/a

谢谢!

  • 写回答

2条回答 默认 最新

报告相同问题?

悬赏问题

  • ¥15 使用C#,asp.net读取Excel文件并保存到Oracle数据库
  • ¥15 C# datagridview 单元格显示进度及值
  • ¥15 thinkphp6配合social login单点登录问题
  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配