LinuxQuestions.org
Help answer threads with 0 replies.
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 08-13-2004, 02:15 PM   #1
plythgam
Member
 
Registered: Mar 2003
Location: Greenville, NC
Distribution: Fedora core 4
Posts: 31

Rep: Reputation: 15
ntpd not correcting local time


My problem is the my primary ntp server is synchronizing with the public time servers, but it just does not correct it's local time. The local time also loses 13 minutes per hour. I temporarily added a cron job that runs every hour but this defeats the purpose of ntp. All client machines get synch the wrong local time of my primary ntp.

service ntpd stop
ntpdate ntp2.usno.navy.mil
service ntpd start

Does anyone know how to fix this. I have included /etc/ntp.conf and ntpq info.

rpm -qa | grep ntp
ntp-4.2.0-7

Running on Fedora core2 with all available updates

# Prohibit general access to this service.
#restrict default ignore
restrict default noquery notrust nomodify

# Permit all access over the loopback interface. This could
# be tightened as well, but to do so would effect some of
# the administrative functions.
restrict 127.0.0.1


# -- CLIENT NETWORK -------

restrict 10.1.9.9
restrict 10.1.13.0 mask 255.255.255.0 notrust nomodify notrap

# --- OUR TIMESERVERS -----

server 64.236.96.53
server nist1-ny.glassey.com
server tock.usno.navy.mil
server tick.gatech.edu
server ntp-s1.cise.ufl.edu

restrict 64.236.96.53 mask 255.255.255.255 nomodify notrap noquery
restrict nist1-ny.glassey.com mask 255.255.255.255 nomodify notrap noquery
restrict tock.usno.navy.mil mask 255.255.255.255 nomodify notrap noquery
restrict tick.gatech.edu mask 255.255.255.255 nomodify notrap noquery
restrict ntp-s1.cise.ufl.edu mask 255.255.255.255 nomodify notrap noquery


# --- NTP MULTICASTCLIENT ---


# --- GENERAL CONFIGURATION ---

#server 127.127.1.0 # local clock
#server 127.0.0.1
#fudge 127.0.0.1 stratum 10

# Drift file.

driftfile /var/lib/ntp/drift
broadcastdelay 0.008

# Authentication delay.

authenticate no

# Keys file.

keys /etc/ntp/keys

#log file for ntp
logfile /var/log/ntp.log


ntpq> peers
remote refid st t when poll reach delay offset jitter
==============================================================================
64.236.96.53 .ACTS. 1 u 18 64 3 20.038 918803. 40442.4
nist1-ny.glasse .ACTS. 1 u 18 64 3 18.904 919506. 39768.4
ntp1.usno.navy. .USNO. 1 u 16 64 3 46.567 960484. 40026.3
navobs1.gatech. .PSC. 1 u 17 64 3 23.928 960460. 39257.1
ntp-s1.cise.ufl .USNO. 1 u 14 64 3 29.958 921898. 40316.8


ntpq> la
ind assID status conf reach auth condition last_event cnt
===========================================================
1 50604 b014 yes yes none reject reachable 1
2 50605 b014 yes yes none reject reachable 1
3 50606 b014 yes yes none reject reachable 1
4 50607 b014 yes yes none reject reachable 1
5 50608 b014 yes yes none reject reachable 1


ntpq> pstatus 50604
status=b014 reach, conf, 1 event, event_reach,
srcadr=64.236.96.53, srcport=123, dstadr=192.168.178.154, dstport=123,
leap=00, stratum=1, precision=-30, rootdelay=0.000,
rootdispersion=0.000, refid=ACTS, reach=003, unreach=0, hmode=3,
pmode=4, hpoll=7, ppoll=6, flash=00 ok, keyid=0, ttl=0,
offset=918803.775, delay=20.038, dispersion=3938.079, jitter=40442.480,
reftime=c4c7902f.a4cfc956 Fri, Aug 13 2004 15:08:31.643,
org=c4c79065.35ac3959 Fri, Aug 13 2004 15:09:25.209,
rec=c4c78ca5.fb627392 Fri, Aug 13 2004 14:53:25.981,
xmt=c4c78ca5.f1df43c7 Fri, Aug 13 2004 14:53:25.944,
filtdelay= 37.13 20.04 0.00 0.00 0.00 0.00 0.00 0.00,
filtoffset= 959246. 918803. 0.00 0.00 0.00 0.00 0.00 0.00,
filtdisp= 0.12 1.10 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0
 
Old 08-16-2004, 04:12 PM   #2
plythgam
Member
 
Registered: Mar 2003
Location: Greenville, NC
Distribution: Fedora core 4
Posts: 31

Original Poster
Rep: Reputation: 15
Anyone have any ideas?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
ntpd time server problem MGrosskopf Linux - Networking 0 02-06-2005 08:57 AM
local time alaios Debian 1 12-08-2004 01:08 PM
NTPD - add to rc.local or write a script downinthemine Linux - Software 0 04-21-2004 09:52 AM
NTPD time sync steps instead of slews ne1scott Linux - Software 0 04-13-2004 01:28 PM
Howto use ntpd time synchronization??? Schmurff Linux - Software 1 03-10-2004 11:20 PM

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

All times are GMT -5. The time now is 11:24 AM.

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