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 没有证书,nginx怎么反向代理到只能接受https的公网网站
  • ¥50 成都蓉城足球俱乐部小程序抢票
  • ¥15 yolov7训练自己的数据集
  • ¥15 esp8266与51单片机连接问题(标签-单片机|关键词-串口)(相关搜索:51单片机|单片机|测试代码)
  • ¥15 电力市场出清matlab yalmip kkt 双层优化问题
  • ¥30 ros小车路径规划实现不了,如何解决?(操作系统-ubuntu)
  • ¥20 matlab yalmip kkt 双层优化问题
  • ¥15 如何在3D高斯飞溅的渲染的场景中获得一个可控的旋转物体
  • ¥88 实在没有想法,需要个思路
  • ¥15 MATLAB报错输入参数太多