<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Scot L. Harris wrote:
<blockquote cite="mid1134159692.29891.57.camel@lathe.slh.lan"
 type="cite">
  <pre wrap="">On Fri, 2005-12-09 at 14:59, David Limon Romero wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">El Viernes, 9 de Diciembre de 2005 1:36 PM, Paul Smith escribió:

    </pre>
    <blockquote type="cite">
      <pre wrap="">On 12/9/05, Terry Polzin <a class="moz-txt-link-rfc2396E" href="mailto:fox3ec208@wideopenwest.com"><fox3ec208@wideopenwest.com></a> wrote:
      </pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">Is there some gui for configuring NTP?
          </pre>
        </blockquote>
        <pre wrap="">/usr/bin/system-config-time
        </pre>
      </blockquote>
      <pre wrap="">Thanks, Terry. But getting

# /sbin/service ntpd restart
Shutting down ntpd:                                        [  OK  ]
ntpd: Synchronizing with time server:                      [FAILED]
Starting ntpd:                                             [  OK  ]
#

whatever server I choose.
      </pre>
    </blockquote>
    <pre wrap="">Is your iptables open for NTP?
I have this:
-A INPUT -s 66.187.233.4 -p udp -m udp --sport 123 --dport 123 -j ACCEPT
-A INPUT -s 66.187.224.4 -p udp -m udp --sport 123 --dport 123 -j ACCEPT

If you don't have something like that, try it, restart your iptables and ntp, 
it works for me.

David
    </pre>
  </blockquote>
  <pre wrap=""><!---->
If he is just trying to sync his time to a NTP server I don't think he
would need to open any ports.  If he is setting up an NTP service and
will have other systems getting time from his system then he would need
those ports opened up.

I would suggest he check the log files and look at output from ntpstat
to determine why his clock is not syncing.  Of course if the clock is
way off it may take time to sync up.  He may want to manually set it
then enable NTP to keep it updated.


NTP used to muck with the firewall on its own.  I believe they fixed
that finally.

  </pre>
</blockquote>
So I found a server that works with ntpdate, but when I put the service
in either /etc/ntp.conf  or /etc/ntp/ntpservers it still doesn't work.<br>
<br>
Am I putting the time server in the wrong file?<br>
</body>
</html>