In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
How to use rdate time synchronization in linux? aiming at this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.
Linux system time synchronization ntpdate error:
$ntpdate-d serverIP
1 Aug 09:23:22 ntpdate [5268]: ntpdate 4.2.6p5@1.2349-o Fri Apr 13 12:52:28 UTC 2018 (1)
Looking for host serverIP and service ntp
Error resolving serverIP: Name or service not known (- 2)
1 Aug 09:23:22 ntpdate [5268]: Can't find host serverIP: Name or service not known (- 2)
1 Aug 09:23:22 ntpdate [5268]: no servers can be used, exiting
Always use ntpdate time synchronization to report an error:
$/ usr/sbin/ntpdate ntp1.aliyun.com
1 Aug 09:41:59 ntpdate [7401]: no server suitable for synchronization found
It says on the Internet that the udp123 port is closed. Because I use a high-defense computer room server, many high-defense computer rooms block the UDP port, which causes the time synchronization problem.
Then go to Baidu to find out that there is really another way to use rdate. Try to install it.
Centos7 system installation method:
Yum install rdate
Execute: / usr/bin/rdate-s time.nist.gov after installation is complete
Check whether the time date is the same as the time of the phone (find your own way to check)
Add * / 10 * / usr/bin/rdate-s time.nist.gov to the crontab planning task, edit: crontab-e join and wq save and exit.
This is the answer to the question about how to use rdate time synchronization in linux. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.