Hi <br>I tried to used ntpd to sync time, but always got a failure error:<br><br>[root@home]# /sbin/service ntpd restart<br>Shutting down ntpd:                                        [  OK  ]<br>ntpd: Synchronizing with time server:                      [FAILED]
<br>Starting ntpd:                                             [  OK  ]<br><br>how to fix this?<br><br><br>the conf file reads as<br><br># Permit time synchronization with our time source, but do not<br># permit the source to query or modify the service on this system.
<br>restrict default kod nomodify notrap nopeer noquery<br><br># Permit all access over the loopback interface.  This could<br># be tightened as well, but to do so would effect some of<br># the administrative functions.<br>
restrict <a href="http://127.0.0.1">127.0.0.1</a> <br><br># Hosts on local network are less restricted.<br>#restrict <a href="http://192.168.1.0">192.168.1.0</a> mask <a href="http://255.255.255.0">255.255.255.0</a> nomodify notrap
<br><br># Use public servers from the <a href="http://pool.ntp.org">pool.ntp.org</a> project.<br># Please consider joining the pool (<a href="http://www.pool.ntp.org/join.html">http://www.pool.ntp.org/join.html</a>).<br>server 
<a href="http://0.pool.ntp.org">0.pool.ntp.org</a><br>server <a href="http://1.pool.ntp.org">1.pool.ntp.org</a><br>server <a href="http://2.pool.ntp.org">2.pool.ntp.org</a><br>server <a href="http://asia.pool.ntp.org">asia.pool.ntp.org
</a><br>server <a href="http://0.fedora.pool.ntp.org">0.fedora.pool.ntp.org</a><br>server <a href="http://1.fedora.pool.ntp.org">1.fedora.pool.ntp.org</a><br>server <a href="http://2.fedora.pool.ntp.org">2.fedora.pool.ntp.org
</a><br><br>#broadcast <a href="http://192.168.1.255">192.168.1.255</a> key 42         # broadcast server<br>#broadcastclient                        # broadcast client<br>#broadcast <a href="http://224.0.1.1">224.0.1.1</a>
 key 42             # multicast server<br>#multicastclient <a href="http://224.0.1.1">224.0.1.1</a>              # multicast client<br>#manycastserver <a href="http://239.255.254.254">239.255.254.254</a>         # manycast server
<br>#manycastclient <a href="http://239.255.254.254">239.255.254.254</a> key 42  # manycast client<br><br># Undisciplined Local Clock. This is a fake driver intended for backup<br># and when no outside source of synchronized time is available. 
<br>fudge   <a href="http://127.127.1.0">127.127.1.0</a> stratum 10<br><br># Drift file.  Put this in a directory which the daemon can write to.<br># No symbolic links allowed, either, since the daemon updates the file<br>
# by creating a temporary in the same directory and then rename()'ing<br># it to the file.<br>driftfile /var/lib/ntp/drift<br><br># Key file containing the keys and key identifiers used when operating<br># with symmetric key cryptography. 
<br>keys /etc/ntp/keys<br><br># Specify the key identifiers which are trusted.<br>#trustedkey 4 8 42<br><br># Specify the key identifier to use with the ntpdc utility.<br>#requestkey 8<br><br># Specify the key identifier to use with the ntpq utility.
<br>#controlkey 8<br>server <a href="http://127.127.1.0">127.127.1.0</a><br>restrict <a href="http://0.pool.ntp.org">0.pool.ntp.org</a> mask <a href="http://255.255.255.255">255.255.255.255</a> nomodify notrap noquery<br>
restrict <a href="http://1.pool.ntp.org">1.pool.ntp.org</a> mask <a href="http://255.255.255.255">255.255.255.255</a> nomodify notrap noquery<br>restrict <a href="http://2.pool.ntp.org">2.pool.ntp.org</a> mask <a href="http://255.255.255.255">
255.255.255.255</a> nomodify notrap noquery<br>restrict <a href="http://asia.pool.ntp.org">asia.pool.ntp.org</a> mask <a href="http://255.255.255.255">255.255.255.255</a> nomodify notrap noquery<br><br><br><br>Thanks<br><br>
Yuandan<br>