[ntp:questions] ntp-4.2.6p2 doesn't sync with Autokey
Joe Smithian
joe.smithian at gmail.com
Sun Oct 17 03:43:38 UTC 2010
Hello,
I've compiled ntp-4.2.6p2 from the source code with crypto, openssl and
autokey enabled on CentOS 5.4 platform. I've configured my CentOS 5.4 client
to use Autokey but it doesn't sync as you can see below. Authentication is
OK but it rejects the trusted server. I've done the same configuration using
ntp-4.2.4p5 on an old RedHat 7.2 machine and it syncs to the same trusted
server. So I guess the problem might be in the new version of NTP. I'd
apprecite your comments and helps to fix this issue.
Peers:
==============================================================================
remote refid st t when poll reach delay offset
jitter
==============================================================================
*LOCAL(0) .LOCL. 10 l 46 64 37 0.000 0.000
0.000
myNTPServer LOCAL(0) 11 u 37 64 7 0.755 -10394. 4.494
==============================================================================
Associations:
==============================================================================
ind assid status conf reach auth condition last_event cnt
===========================================================
1 51788 963a yes yes none sys.peer sys_peer 3
2 51789 f024 yes yes ok reject reachable 2
==============================================================================
NTP Time:
==============================================================================
ntp_gettime() returns code 0 (OK)
time d064e30b.ed25a000 Sat, Oct 16 2010 22:50:51.926, (.926355),
maximum error 8102124 us, estimated error 0 us
ntp_adjtime() returns code 0 (OK)
modes 0x0 (),
offset 0.000 us, frequency 0.000 ppm, interval 1 s,
maximum error 8102124 us, estimated error 0 us,
status 0x1 (PLL),
time constant 2, precision 1.000 us, tolerance 512 ppm,
==============================================================================
NTP Logs:
16 Oct 22:48:03 ntpd[17026]: [My NTP Server's IP address] e024 84 reachable
server setup in /etc/ntp.conf:
server myNTPServer autokey
The same problem exists when using symmetric key authentication or No
authetication:
ind assid status conf reach auth condition last_event cnt
===========================================================
2 15550 9024 yes yes none reject reachable 2
The difference between the client and server's date and time is less than
one minute so that's not causing a sync problem.
Thanks
Joe
More information about the questions
mailing list