I have a Centos 5 64-bit server that has ntp service enabled. Windows XP with SP2 cannot properly sync to it for time, but can communicate with it via samba, ssh, and anything else. I also disabled the Windows Firewall. The C5 system does not have any firewall enabled. Other C5 workstations can successfully sync to it via ntpdate. What else could cause the XP machine to not be able to time sync with the C5 server? Thanks. Scott
-----Original Message----- From: Scott Ehrlich [mailto:scott at MIT.EDU] Sent: Friday, February 01, 2008 11:37 AM To: centos at centos.org Subject: [CentOS] NTP server I have a Centos 5 64-bit server that has ntp service enabled. Windows XP with SP2 cannot properly sync to it for time, but can communicate with it via samba, ssh, and anything else. I also disabled the Windows Firewall. The C5 system does not have any firewall enabled. Other C5 workstations can successfully sync to it via ntpdate. What else could cause the XP machine to not be able to time sync with the C5 server? ~~~~~~ Try this; create a DNS entry called ntp.yourinternaldomain.com, then plug that name into XP's internet time. I had a similar problem and changing the IP address to FQDN fixed it. Perhaps it will work for you. Good luck, ~James
XP command line: net time \\servername returns what? Perhaps the response will give a clue. To set it: net time \\servername /set /yes -----Original Message----- From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of Scott Ehrlich Sent: Friday, February 01, 2008 11:37 AM To: centos at centos.org Subject: [CentOS] NTP server I have a Centos 5 64-bit server that has ntp service enabled. Windows XP with SP2 cannot properly sync to it for time, but can communicate with it via samba, ssh, and anything else. I also disabled the Windows Firewall. The C5 system does not have any firewall enabled. Other C5 workstations can successfully sync to it via ntpdate. What else could cause the XP machine to not be able to time sync with the C5 server? Thanks. Scott _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos
Scott Ehrlich wrote:> I have a Centos 5 64-bit server that has ntp service enabled. Windows > XP with SP2 cannot properly sync to it for time, but can communicate > with it via samba, ssh, and anything else. I also disabled the > Windows Firewall. The C5 system does not have any firewall enabled. >The following would stop this: 1) DNS with a fully qualified name. 2) CentOS-5 server does not have port 123 open on its firewall iptables -nxvL | grep 123 should give you an answer to that 3) CentOS-5 server is not serving NTP to your network netstat -nalp | grep :123 should have something other than udp 0 0 127.0.0.1:123 0.0.0.0:* This is configured in the /etc/ntp.conf file. -- -- Stephen J Smoogen. -- CSIRT/Linux System Administrator How far that little candle throws his beams! So shines a good deed in a naughty world. = Shakespeare. "The Merchant of Venice" smooge at gmail.com
Scott Ehrlich schrieb:> I have a Centos 5 64-bit server that has ntp service enabled. Windows > XP with SP2 cannot properly sync to it for time, but can communicate > with it via samba, ssh, and anything else. I also disabled the > Windows Firewall. The C5 system does not have any firewall enabled. > > Other C5 workstations can successfully sync to it via ntpdate. > > What else could cause the XP machine to not be able to time sync with > the C5 server?I'd double-check the c5 ntpd config. Are the xp machines really in the same allowed subnet like the c5 workstations? Personally I don't use Windows' time sync anymore, I use the ntp implementation for windows from here: http://www.meinberg.de/english/sw/ntp.htm Install/config is very easy, you even get the ntpdc command. Rainer