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