NTP client is not syncing to ntp server
Hi
Few of my linux Box .I could found the ntp service is not rsyncing as per Ntp server .Restarting of Ntp service is fixing out issue .There is any alternative command to make NTP client to sync to ntp server without restarting service . What could be the better step to do ? ntpq -q (or) ntpdate -du ntpserver .Fix my solution . |
no please or thank you? "Fix my solution" is hardly friendly...
Please post the output of "ntpq -pn" after the service has been running for a while. |
Hi Chris
Im planning to restart ntp client .whether ntpd -qg & /etc/init.d/ntpd restart .Both the perform same activities. I had gone through below article,it says ntpd -qg is unsafe to run on production boxes.I had placed ntpd -qg in /etc/rc.local file to sync when ever the server get reboot . Since do you have any idea of which could be the better options for starting ntpd service .Runnning ntpd -qg on /etc/rc.local is unsafe https://wiki.archlinux.org/index.php...rotocol_daemon |
you could try reading what I typed and responding to it.
|
Hi
Very sorry for late reply .I Could find the ntp uses udp protocol.The ntp server is getting reachable by tracert command.And i could int reach ntp server via traceroute command ntp service is running fine telnet to ntpsever to port 123 not working root:ubuntu# /usr/sbin/ntpq -p remote refid st t when poll reach delay offset jitter ============================================================================== sync0.part. .INIT. 16 u - 1024 0 0.000 0.000 0.000 sync1.part. .INIT. 16 u - 1024 0 0.000 0.000 0.000 sync2.part. .INIT. 16 u - 1024 0 0.000 0.000 0.000 *LOCAL(0) .LOCL. 10 l 14 64 377 0.000 0.000 root:ubuntu# /usr/sbin/tcpdump -i eth0 dst ubuntu and port 123 tcpdump: WARNING: eth0: no IPv4 address assigned tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes 0 packets captured 20 packets received by filter 0 packets dropped by kernel root:ubuntu# |
telnet is no use for troubleshooting UDP, only TCP.
the servers there are listed as strata 16. This means they are not reachable. Either they are not running NTP services, or something between you and them is preventing the access. |
Clearing of ARP CACHE resolved the issue temporarily .Every days i could found ntp client is not synchronising once i cleared ARP Cache problem get resolved .Does any one have any sort of idea about it
|
All times are GMT -5. The time now is 08:29 AM. |