LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-07-2014, 01:48 PM   #1
scarpozzi
LQ Newbie
 
Registered: Jun 2009
Posts: 6

Rep: Reputation: 0
NTP Troubleshooting


**UPDATE** This was solved. I looked at the traffic and wireshark and saw that the NTP responses were missing a lot of information. I went to the vendor site again and noticed that there was an option for a firmware update. The firmware running was released in December 2011. They JUST released a patch in January of this year. I'm guessing the recent NTP security patches broke whatever implementation they settled on back in 2011. Firmware saved me a lot of time and my systems appear to be happy again.


I'm trying to troubleshoot some NTP server devices(GPS appliance). These boxes report as being online and functional. They appear to be working, but I noticed that when I restart the ntpd client on one of my linux servers, it's not synchronizing with the time servers:
Code:
/etc/init.d/ntpd restart
Shutting down ntpd:                                        [  OK  ]
ntpd: Synchronizing with time server:                      [FAILED]
Starting ntpd:                                             [  OK  ]
I switched to my desktop and am having trouble connecting to the time servers as well. When I try to query the server in linux, I keep getting timeouts.
Code:
$ ntptrace 192.168.1.100
192.168.1.100: timed out, nothing received
***Request timed out
Code:
$ ntpdate -q 192.168.1.100
server 192.168.1.100 , stratum 16, offset -0.001145, delay 0.03400
7 Apr 14:34:29 ntpdate[29434]: no server suitable for synchronization found
I can replace those IPs with time.windows.com or 0.rhel.pool.ntp.org, etc...and I get a proper response using 'ntpdate -q'.

I can ping the ip address, firewall is open for 123 UDP in/out....and it responds in windows.

I can get a valid response via a Windows using this:
Code:
w32tm /stripchart /computer:192.168.1.100 /dataonly
Any ideas what I should try from here? I'd like to avoid breaking out wireshark if I can...

Last edited by scarpozzi; 04-08-2014 at 08:49 AM.
 
Old 04-07-2014, 02:11 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Can you post the make/model of the time server?
Is there any way to check to see if it actually synched to GPS and has a valid time?
 
Old 04-07-2014, 02:26 PM   #3
scarpozzi
LQ Newbie
 
Registered: Jun 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by michaelk View Post
Can you post the make/model of the time server?
Is there any way to check to see if it actually synched to GPS and has a valid time?
http://css-timemachines.com/TM1000A-...B002RC3Q4Q.htm

It appears to....I don't have access to the administration side of the box.

Windows 7 in Virtualbox reports this:
Code:
w32tm /stripchart /computer:192.168.1.100 /dataonly
Tracking 192.168.1.100 [192.168.1.100:123]
The current time is 4/7/2014 1:22:37 PM.
13:22:37, -00.1711584s
13:22:39, -00.1782864s
13:22:41, -00.1726224s
13:22:43, -00.1749584s
13:22:45, -00.1762944s
This Windows 7 vm is running from the same linux system I ran the ntpdate and ntptrace commands from... That's what helps me rule out firewall issues. Just trying to figure this out.

Thanks.



EDIT: I think I figured it out. I went back and clicked on the link for the device. It appears those are SNTP servers. I was able to query the server from linux using SNTP:
Code:
$ sudo sntp 192.168.1.100
 7 Apr 15:52:48 sntp[29898]: Started sntp
2014-04-07 15:52:48.883572 (+0500) -0.006
Now my question is whether or not I can configure 3-5 servers as SNTP clients and NTP servers to rebroadcast as a STRATUM 2 local pool.

Thanks. I'm shifting my research now I have more of an idea of what was causing me to get no response.

Last edited by scarpozzi; 04-07-2014 at 03:16 PM.
 
Old 04-07-2014, 03:49 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Moved: This thread is more suitable in the Linux Software Forum and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 04-07-2014, 04:13 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
I'm not familiar with this particular device. It appears that it can be both a ntp and sntp server. Nothing in the manual shows any unique configuration settings for NTP.

An Amazon review did indicate that these devices do have a limitation that they cannot handle being queried by more than a few devices at a time however the manual states 135+ is possible.
 
Old 04-07-2014, 05:16 PM   #6
scarpozzi
LQ Newbie
 
Registered: Jun 2009
Posts: 6

Original Poster
Rep: Reputation: 0
I saw in the spec that it supports NTP as well. I installed wire shark earlier today...I'll throw it some traffic and see what it's doing.

It's annoying just because the way it's failing.

Thanks for looking. I appreciate a second set of eyes on it even though it ultimately will come down to packet analysis to see what is actually happening.

-Scar
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NTP client is not syncing to ntp server LittleMaster Linux - Newbie 6 04-05-2013 02:37 PM
[SOLVED] NTP configuration in client to synchronize with NTP server. antnish Linux - General 12 04-01-2013 01:49 PM
ntp server keeps on changing time-local ntp server Gil@LQ Linux - Newbie 3 01-23-2013 09:33 AM
ntp drift file in /etc/ntp instead of /var/lib/ntp - suggestion for a patch in Slack niels.horn Slackware 16 05-07-2009 07:35 PM
NTP cannot work with timeserver, NTP-d can jerryvapps Linux - Networking 0 08-04-2004 02:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration