Scot L. Harris wrote:
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.On Fri, 2005-12-09 at 14:59, David Limon Romero wrote:El Viernes, 9 de Diciembre de 2005 1:36 PM, Paul Smith escribió:On 12/9/05, Terry Polzin <fox3ec208@xxxxxxxxxxxxxxxx> wrote:Is there some gui for configuring NTP?/usr/bin/system-config-timeThanks, Terry. But getting # /sbin/service ntpd restart Shutting down ntpd: [ OK ] ntpd: Synchronizing with time server: [FAILED] Starting ntpd: [ OK ] # whatever server I choose.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. DavidIf 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. Am I putting the time server in the wrong file? |