LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 06-30-2004, 03:17 PM   #1
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Not sure about ntpq -pn output....


when I issue ntpq -pn I get this:
Code:
bash-2.05b# ntpq -pn
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 198.144.202.250 209.126.142.251  3 u    7  128    7   87.935   21.775  30.290
 204.87.183.6    216.152.68.16    2 u   10  128    7   84.664   36.758  39.492
 65.211.109.11   18.103.0.198     2 u    8  128    7   73.523   12.272  24.508
 209.162.205.202 204.123.2.5      2 u    5  128    7  115.325   36.149  37.170
Now, according to http://www.pool.ntp.org/#use there's supposed to be an asterisk at the beginning of one of those lines, but clearly there isn't one. Does that mean that something is messed up?
 
Old 06-30-2004, 03:36 PM   #2
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
Yes, your ntpq output indicates that you have not successfully synched to a time server.

It would be useful to see the output of ntptrace.

You might also want to do a "ntpdate <server>" to force a synch to your chosen server (with the ntp service temporarily turned off), since ntp won't synch if there is too large a discrepancy between your local system's time and the server's time.
 
Old 06-30-2004, 11:46 PM   #3
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
Okay, here's some of the stuff I've managed to salvage:

Code:
root@4300:/home/Rob# ntpdate pool.ntp.org
Looking for host pool.ntp.org and service ntp
host found : 80-28-46-78.adsl.nuria.telefonica-data.net
30 Jun 22:40:02 ntpdate[1962]: step time server 80.28.46.78 offset -108.527724 s ec
root@4300:/home/Rob# ntpdate pool.ntp.org
Looking for host pool.ntp.org and service ntp
host found : 61.9.198.77
30 Jun 22:40:15 ntpdate[1964]: adjust time server 61.9.198.77 offset -0.027113 sec
root@4300:/home/Rob# ntpd
root@4300:/home/Rob# ntptrace
localhost: stratum 16, offset 0.000000, root distance 0.000000
 
Old 07-01-2004, 12:31 AM   #4
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
Okay, here's a fresh output:

Code:
root@4300:/etc# ntptrace
localhost: stratum 16, offset 0.000000, root distance 0.000000
root@4300:/etc# ntptrace
localhost: stratum 16, offset 0.000000, root distance 0.000000
bash-2.05b# ntpq -pn
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 206.222.212.234 66.187.233.4     2 u   34   64    1   80.689    8.861   0.001
 65.211.109.11   65.211.109.12    2 u   32   64    1   74.206   31.518   0.001
 130.60.7.44     130.60.128.15    3 u   34   64    1  200.831   46.971   0.001
bash-2.05b# ntpq -p 
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 midwestcs.com   66.187.233.4     2 u   36   64    1   80.689    8.861   0.001
 ntp1.jrc.us     65.211.109.12    2 u   34   64    1   74.206   31.518   0.001
 zids4-en1.unizh 130.60.128.15    3 u   36   64    1  200.831   46.971   0.001
 
Old 07-01-2004, 10:35 AM   #5
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
Okay, I just turned the computer on, and here's my output for everything I did last night:
Code:
root@4300:/home/Rob# ntpq -pn
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 127.127.1.0     73.78.73.84      5 l   54   64    1    0.000    0.000   0.001

root@4300:/home/Rob# ntptrace
localhost: stratum 6, offset 0.000000, root distance 0.000000
127.127.1.0: timed out, nothing received

root@4300:/home/Rob# tail /etc/ntp.conf
restrict default noquery notrust nomodify
restrict 127.0.0.1
restrict 192.168.1.0 mask 255.255.255.0
fudge 127.127.1.0 stratum 3
server 127.127.1.0
driftfile /etc/ntp.drift
logfile /var/log/ntp.log
All of the other files related to ntp in /etc/ and /etc/ntp/ are empty.
 
Old 07-01-2004, 11:35 AM   #6
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
What is at the 127.127.1.0 address that you have set for your server?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No output through SPDIf, but analog works. How do I get output through SPDIF? seanwnz Linux - General 11 11-08-2007 12:24 PM
Via AC'97 5.1 Optical Output or Audigy 4.1 Output Nza Fedora 3 06-01-2004 08:49 AM
the sound gives output when using mic but no output when run a music file medo Debian 0 04-19-2004 08:17 PM
No Output kesta73 Linux - Newbie 2 09-23-2003 11:00 PM
No Output?? fernin8r Programming 3 06-21-2003 07:52 AM


All times are GMT -5. The time now is 04:05 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration