Use RHEL5 for NTP server error Solution

Source: Internet
Author: User
An error is displayed when you use RHEL as an NTP server to update ntpdate on the server. My configuration is as follows: restrict127.0.0.1restrict-6: 1restrict10. Conflict

An NTP server is built using RHEL. An error is displayed when ntpdate is updated on the server, as shown below:

My configuration is as follows:

Restrict 127.0.0.1

Restrict-6: 1

Restrict 10.0.0.0 mask 255.0.0.0 nomodify notrap

Restrict 210.31.187.0 mask limit 255.0 nomodify notrap

Server 210.72.145.44 prefer

Server 0.rhel.pool.ntp.org

Server 1.rhel.pool.ntp.org

Server 2.rhel.pool.ntp.org

Is my configuration incorrect?

After surfing the Internet, google prompts you to directly execute "ntpdate time server domain name or address. The following error is displayed when ntpdate 210.72.145.44 is entered:

Think about the cause of the conflict between the NTP server's downstream port time and the upstream port time. Execute service ntpd stop and ntpdate 210.72.145.44 again. The update time is displayed as follows:

So far, the NTP server has been updated. Run hwclock-w to write data to the BIOS.

But how can I configure it to enable the NTP server to automatically communicate with the upper-layer time server to update the completion time.

Related Article

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.