How to configure the Time Service in REDHAT5.3? -- Linux general technology-Linux technology and application information. For details, refer to the following section. The NTP. CONF file on redhat enterprise 5.3 is as follows:
# Permit time synchronization with our time source, but do not
# Permit the source to query or modify the service on this system.
# Restrict default kod nomodify notrap nopeer noquery
# Restrict-6 default kod nomodify notrap nopeer noquery
# Server otherntp.research.gov
# Server ntp.research.gov
# Restrict default nomodify noquery notrap
Restrict 202.112.10.60
Restrict 202.106.199.36
Restrict 202.112.7.150
Restrict 127.0.0.1 mask 255.0.0.0
Restrict 10.10.0.0 mask 255.255.0.0 nomodify notrap
# Restrict ntp.research.gov mask limit 255 nomodify notrap noquery
# Restrict otherntp.research.gov mask limit 255 nomodify notrap noquery
# Permit all access over the loopback interface. This cocould
# Be tightened as well, but to do so wocould effect some
# The administrative functions.
Restrict 127.0.0.1
Restrict-6: 1
# Hosts on local network are less restricted.
# Restrict 192.168.1.0 mask limit 255.0 nomodify notrap
# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html ).
# Server 0.rhel.pool.ntp.org
# Server 1.rhel.pool.ntp.org
# Server 2.rhel.pool.ntp.org
Server time.buptnet.edu.cn
Server s1b.time.edu.cn
Server s1c.time.edu.cn
Server s1d.time.edu.cn
# Undisciplined Local Clock. This is a fake driver intended for backup
# And when no outside source of synchronized time is available.
# Server 127.127.1.0 # local clock
# Fudge 127.127.1.0 stratum 10
Server 202.112.10.60 prefer
Server 202.106.199.36
Server 202.112.7.150
Server 127.127.1.0 # local clock
Fudge 127.127.1.0 stratum 10
# Drift file. Put this in a directory which the daemon can write.
# No symbolic links allowed, either, since the daemon updates the file
# By creating a temporary in the same directory and then rename () 'ing
# It to the file.
Driftfile/var/lib/ntp/drift
# Key file containing the keys and key identifiers used when operating
# With encryption Ric key cryptography.
Keys/etc/ntp/keys
# Specify the key identifiers which are trusted.
# Trustedkey 4 8 42
But displayed on the client
[Root @ w] # ntpdate 10.10.0.20.
24 Apr 15:16:14 ntpdate [0, 6372]: no server suitable for synchronization foun
I don't know why. Please give me some advice. Thank you.
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