Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Summary of frequently asked questions at work: ntp synchronization

Shulou Source: shulou.com Published: 2022-06-03 07:03:14 11月11日 Update

A problem was found today. There was an error in centos7 synchronization time.

[root@hadoop2 cm-5.8.3] # ntpdate pool.ntp.org 9 Dec 04:53:19 ntpdate [63834]: the NTP socket is in use, exiting

The reason is that he has already started the ntp service. After I turn him off here, the resynchronization will be normal.

[root@hadoop2 cm-5.8.3] # systemctl stop ntpd.service [root@hadoop2 cm-5.8.3] # ntpdate pool.ntp.org 8 Dec 20:54:18 ntpdate [63943]: step time server 120.25.108.11 offset-28795.548308 sec [root@hadoop2 cm-5.8.3] # dateThu Dec 8 20:54:20 EST 2016 [root@hadoop2 cm-5.8.3] # systemctl disable ntpd.service # turn off boot

Tags: Synchronization problems causes time Services FAQs work Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS NVidia Microsoft Xiaomi Apple