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 fluent的在模拟压强时使用希望得到一些建议
  • ¥15 STM32驱动继电器
  • ¥15 Windows server update services
  • ¥15 关于#c语言#的问题:我现在在做一个墨水屏设计,2.9英寸的小屏怎么换4.2英寸大屏
  • ¥15 模糊pid与pid仿真结果几乎一样
  • ¥15 java的GUI的运用
  • ¥15 Web.config连不上数据库
  • ¥15 我想付费需要AKM公司DSP开发资料及相关开发。
  • ¥15 怎么配置广告联盟瀑布流
  • ¥15 Rstudio 保存代码闪退