"The NTP socket is in use, exiting"

Source: Internet
Author: User

Fault description:

Run the following command in centos to manually synchronize the server time:

#/Usr/sbin/ntpdate ntp. api. bz

The error "the NTP socket is in use, exiting" is displayed.

8 Nov 09:57:02 ntpdate [4726]: the NTP socket is in use, exiting


Problem analysis:

The cause of this error is that the system ntpd server is running. You can view it through ps aux | grep ntpd. ntpd is running.


Solution:

  1. # Service ntpd stop

  2. #/Usr/sbin/ntpdate ntp. api. bz



This article is from the "Bing Lincheng" blog, please be sure to keep this source http://308107405.blog.51cto.com/6396647/1573933

"The NTP socket is in use, exiting"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.