Re: ntp

"Nick Thompson" <[email protected]>
Newsgroups gmane.linux.suse.sparc
Message-ID <001701c1dab8$0d771470$1400a8c0@nicksgp7>
ntpAs a point of reference, start out with some known good, public time servers:

server  clock.psu.edu
#server nist1.aol-va.truetime.com       DNS fails on this one so IP is below
server  205.188.185.33
server  tick.uh.edu

These work for me.

Next, restart the ntp daemon and give it an hour to work. It queries the servers rapidly during the first hour and then less often once the drift is better calculated.

[root@firewall n820131]# ntpq
ntpq> peers
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*nist1-aol-va.tr .ACTS.           1 u  755 1024  377  278.192   23.846  32.999
+otc2.psu.edu    otc1.psu.edu     2 u  688 1024  377  240.356  -47.237  24.591
+Tick.UH.EDU     .USNO.           1 u  796 1024  177  259.760  -20.105  31.740

Your clock will not be corrected / updated until the first hour passes (at least mine wasn't). And if the clock is WAY off, you should see an error reported in your /var/log/messages and the ntp daemon may quit.

Once you get it working, you can select some new time servers closer to your home location.

  ----- Original Message ----- 
  From: Ng, Yatsen 
  To: SuSE Linux Sparc (E-mail) 
  Sent: Tuesday, April 02, 2002 5:50 AM
  Subject: [suse-sparc] ntp


  Hello there, 

  I've edited ntp.conf and I'm able to reach the timeserver fine: 

  ## 
  ## Outside source of synchronized time 
  ## 
  server xx.xx.xx.xx                # IP address of server 
    
  ## 
  ## Miscellaneous stuff 
  ## 
    
  driftfile /etc/ntp.drift        # path for drift file 

  The daemon is running: 

  [spawn:~]# ps -ef | egrep ntp 
  root      1523     1  0 10:57 ?        00:00:00 /usr/sbin/ntpd 

  However, I think I'm definitely missing something, since the time isn't in sync. 

  Extra info: 

  [spawn:~]# ntpq 
  ntpq> peers 
       remote           refid      st t when poll reach   delay   offset  jitter 
  ============================================================================== 
   bogus-131313-TS. 0.0.0.0         16 u    -   64    0    0.000    0.000 4000.00 

  Can anyone offer some insight? 

  Thanks, 

  -- 
  Mr. Yatsen Ng                                   
        
  UNIX Systems Administrator 
  COVISINT 
  Boeing Ave. 333 
  1119 PH SCHIPHOL-RIJK 
  The Netherlands 

  mailto:[email protected] 
  Mobile +31622994890 
    

  "If you are going through hell, keep going." 
          -- Sir Winston Churchill (1874 - 1965)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.