Gentoo Archives: gentoo-user

From: matthew.garman@×××××.com
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] ntp won't synchronize
Date: Mon, 09 Jan 2006 19:29:34
Message-Id: 20060109192522.GA1519@sewage.sewage.fake
1 I've been struggling with ntp for some time now. I've followed the
2 gentoo wiki HOWTO for ntp:
3
4 http://gentoo-wiki.com/HOWTO_Setup_MythTV#NTP
5
6 As well as many other sources over the months. Basically, ntpq
7 shows that I am not synchronized to any peers:
8
9 # ntpq -p
10 remote refid st t when poll reach delay offset jitter
11 ==============================================================================
12 Time4.Stupi.SE .PPS. 1 u 37 64 377 124.516 -11202. 1225.91
13 thesimonet.org .TRUE. 1 u 38 64 377 109.329 -11213. 1232.51
14 fin.rshell.net 192.114.62.249 3 u 32 64 377 205.910 -9569.1 1521.31
15 titan.cais.rnp. 32.233.177.224 2 u 44 64 377 165.240 -11991. 1915.26
16
17 That first space in the peers list is a tally mark that, according to
18 the ntpq documentation at:
19
20 http://www.eecis.udel.edu/~mills/ntp/html/ntpq.html
21
22 Means that those peers are all rejected: "The peer is discarded as
23 unreachable, synchronized to this server (synch loop) or outrageous
24 synchronization distance."
25
26 Likewise:
27 # ntpq -c rv | grep stratum
28 processor="i686", system="Linux/2.6.14-gentoo-r5", leap=11, stratum=16,
29
30 I should be at stratum 3, not 16 (which means I'm not synchronized
31 to anything).
32
33 My /etc/ntp.conf:
34
35 tinker panic 0
36 minpoll 4
37 maxpoll 10
38 server pool.ntp.org
39 server 0.pool.ntp.org
40 server 1.pool.ntp.org
41 server 2.pool.ntp.org
42 driftfile /var/lib/ntp/ntp.drift
43 logfile /var/log/ntp.log
44 restrict default nomodify nopeer
45 restrict 127.0.0.1
46
47
48 Nothing special there! To further clarify, I actually have this
49 problem on *two* machines. FWIW, I've also tried the OpenBSD
50 OpenNTP package, but haven't had any luck with that either (except
51 on my OpenBSD machine!). Using OpenNTP on these two machines
52 *seemed* to work fine, but the computers still gained time too
53 quickly.
54
55 I've been fighting this for what seems like forever. If anyone has
56 any insight or thoughts, I'm happy to hear it!
57
58 Thanks,
59 Matt
60
61 --
62 Matt Garman
63 email at: http://raw-sewage.net/index.php?file=email
64 --
65 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] ntp won't synchronize Francesco Riosa <BastianBalthazarBux@×××××××××.it>
Re: [gentoo-user] ntp won't synchronize Devon Miller <devon.c.miller@×××××.com>
Re: [gentoo-user] ntp won't synchronize Devon Miller <devon.c.miller@×××××.com>