I have gone through various sites describing on how to setup NTP and also troubleshooting. Even then, I have problems. It is described as under:
My NTP server is running on Windows 2003. It is also a PDC. It gets its time through a GPS based solution. While all my workstations running on XP / 2000 / Vista gets synchronized from the PDC, the problem lies in the linux based server(s).
One of them is a RedHat Fedora 3. As per the instructions, I have opened port 123 on the PDC and it is tagged as "Listening and Filtered".
When I ran ntpq -p on the linux box and here is the result :
_______________________________________________________________
Blaze happens to be the PDC.
When I restarted ntpd service, it got synched with a remote ntp server (0.in.pool.ntp.org).
But when I run ntpdate, I get the following :
--------------------------------------------------------
How do I solve this problem ?
Thanks
Regards
Jagdish
Last edited by pludi; 05-05-2010 at 06:12 AM..
Reason: code tags, please...
Seems like the Windows server is not responding to the clients requests. Run
on the Linux box. The first command may show a 1, but the second should return 0. If it doesn't, check again if the NTP service is running, and Port 123/UDP is allowed incoming and outgoing on both sides.
Yes. It shows 1 for the first command while it returned a 0 for the second.
I ran ntpdate on an impulse once again and this is what I have got :
-------------------------------------------
So, the windows server is responding. However what is bothering me that the time is not getting synched. I changed the time by 10 minutes on the windows server and ran ntpdate once again, but the time on the linux box did not change. Am i doing something wrong ?
Regards
Jagdish
Edit by pludi: please use [code][/code] tags, or the '#' button for code and listings
Last edited by pludi; 05-05-2010 at 06:45 AM..
Reason: code tags, please...
Because the -d switch tells ntpdate to run in debug mode without modifying the clock (see man ntpdate). If you want to run ntpdate, first stop the ntp daemon itself and start it again afterwards, as both bind to the local port 123, and would conflict otherwise.
Hi,
I have two ntp servers in my cluster and I want all the nodes in my cluster to sync with either of the ntp servers or just one. Unfortunately it keep rotating the sync, between my ntp server 1, ntp server 2 and local. Is there anyway I can change the sync to avoid local?
# ntpq -p
... (3 Replies)
Hello everyone,
I've been trying to set up NTP authentication between a server and a workstation. Both point to the same NTP server which is on a different physical box with its own IP address. I followed the steps below but I get the following result. How can I get this working?
Expected... (0 Replies)
All here, thank you for listening. Now I've set up a Linux NTP server by adding a external windows NTP server in /etc/ntp.conf. Then I start the ntpd daemon. But how often does the Linux NTP server update its time with the external NTP server? I've looked up everywhere but found no information... (1 Reply)
Hi Guru
I need to know which version of NTP is install in Solaris 10 box. How can I check it.
IF NTP 3 in implemented then somebody told me implement NTP 4 due to security reasons, for that I have to tell what are the vulnerabilities present in NTP 3 to higher authorities. I could not able... (5 Replies)
Hi everybody. I'm not sure where to post this, so I hope here is OK. I have 4 name servers and on one of the slaves, my log files are filling up with this error:
ntpd: sendto() (fd=20): Invalid argument
It is always the same IP, and only on this name server. A quick google revealed that the... (1 Reply)
Hello
I use Solaris 10 and I have NTP packages arlrady installed
pkginfo | grep -i ntp
system SUNWntpr NTP, (Root)
system SUNWntpu NTP, (Usr)
How to configure NTP?
thanks (2 Replies)
All,
How do you set a Solaris 9 server which received ntp updates from a ntp server to broadcast them on a local subnet. I have created a /etc/inet/ntp.conf file to receive the updates from a server on network and need to make this server become like a ntp relay from the main server.
Any... (1 Reply)