<br><br><div><span class="gmail_quote">On 20/05/07, <b class="gmail_sendername">Terry Polzin</b> &lt;<a href="mailto:foxec208@wowway.com">foxec208@wowway.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Saturday May 19 2007, Lux Zhang wrote:<br>&gt; Hi<br>&gt; I tried to used ntpd to sync time, but always got a failure error:<br>&gt;<br>&gt; [root@home]# /sbin/service ntpd restart<br>&gt; Shutting down ntpd:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&nbsp;&nbsp;OK&nbsp;&nbsp;]
<br>&gt; ntpd: Synchronizing with time server:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[FAILED]<br>&gt; Starting ntpd:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&nbsp;&nbsp;OK&nbsp;&nbsp;]<br>&gt;<br>&gt; how to fix this?<br>&gt;<br>&gt;<br>&gt; the conf file reads as
<br>&gt;<br>&gt; # Permit time synchronization with our time source, but do not<br>&gt; # permit the source to query or modify the service on this system.<br>&gt; restrict default kod nomodify notrap nopeer noquery<br>&gt;
<br>&gt; # Permit all access over the loopback interface.&nbsp;&nbsp;This could<br>&gt; # be tightened as well, but to do so would effect some of<br>&gt; # the administrative functions.<br>&gt; restrict <a href="http://127.0.0.1">127.0.0.1
</a><br>&gt;<br>&gt; # Hosts on local network are less restricted.<br>&gt; #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>&gt;<br>&gt; # Use public servers from the 
<a href="http://pool.ntp.org">pool.ntp.org</a> project.<br>&gt; # Please consider joining the pool (<a href="http://www.pool.ntp.org/join.html">http://www.pool.ntp.org/join.html</a>).<br>&gt; server <a href="http://0.pool.ntp.org">
0.pool.ntp.org</a><br>&gt; server <a href="http://1.pool.ntp.org">1.pool.ntp.org</a><br>&gt; server <a href="http://2.pool.ntp.org">2.pool.ntp.org</a><br>&gt; server <a href="http://asia.pool.ntp.org">asia.pool.ntp.org</a>
<br>&gt; server <a href="http://0.fedora.pool.ntp.org">0.fedora.pool.ntp.org</a><br>&gt; server <a href="http://1.fedora.pool.ntp.org">1.fedora.pool.ntp.org</a><br>&gt; server <a href="http://2.fedora.pool.ntp.org">2.fedora.pool.ntp.org
</a><br>&gt;<br>&gt; #broadcast <a href="http://192.168.1.255">192.168.1.255</a> key 42&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # broadcast server<br>&gt; #broadcastclient&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# broadcast client<br>&gt; #broadcast <a href="http://224.0.1.1">
224.0.1.1</a> key 42&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # multicast server<br>&gt; #multicastclient <a href="http://224.0.1.1">224.0.1.1</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# multicast client<br>&gt; #manycastserver <a href="http://239.255.254.254">239.255.254.254
</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # manycast server<br>&gt; #manycastclient <a href="http://239.255.254.254">239.255.254.254</a> key 42&nbsp;&nbsp;# manycast client<br>&gt;<br>&gt; # Undisciplined Local Clock. This is a fake driver intended for backup<br>
&gt; # and when no outside source of synchronized time is available.<br>&gt; fudge&nbsp;&nbsp; <a href="http://127.127.1.0">127.127.1.0</a> stratum 10<br>&gt;<br>&gt; # Drift file.&nbsp;&nbsp;Put this in a directory which the daemon can write to.
<br>&gt; # No symbolic links allowed, either, since the daemon updates the file<br>&gt; # by creating a temporary in the same directory and then rename()&#39;ing<br>&gt; # it to the file.<br>&gt; driftfile /var/lib/ntp/drift
<br>&gt;<br>&gt; # Key file containing the keys and key identifiers used when operating<br>&gt; # with symmetric key cryptography.<br>&gt; keys /etc/ntp/keys<br>&gt;<br>&gt; # Specify the key identifiers which are trusted.
<br>&gt; #trustedkey 4 8 42<br>&gt;<br>&gt; # Specify the key identifier to use with the ntpdc utility.<br>&gt; #requestkey 8<br>&gt;<br>&gt; # Specify the key identifier to use with the ntpq utility.<br>&gt; #controlkey 8
<br>&gt; server <a href="http://127.127.1.0">127.127.1.0</a><br>&gt; 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>&gt; 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>&gt; 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>&gt; 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>Have you got a network connection?
<br>Any additional info in /var/log/messages?</blockquote><div><br>I found out the ntpd servers are not found. using<br>[root@]# /usr/sbin/ntpdate -q <a href="http://0.fedora.pool.ntp.org">0.fedora.pool.ntp.org</a><br>server 
<a href="http://1.0.0.0">1.0.0.0</a>, stratum 0, offset 0.000000, delay 0.00000<br>20 May 11:38:18 ntpdate[4922]: no server suitable for synchronization found<br><br>It may be due to either the server is not up or my ISP can&#39;t look up the ip of the server
<br><br><br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">--<br>fedora-list mailing list<br><a href="mailto:fedora-list@redhat.com">
fedora-list@redhat.com</a><br>To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list">https://www.redhat.com/mailman/listinfo/fedora-list</a><br><br></blockquote></div><br>