ast guy
2015-04-04 07:06:16 UTC
Hi,
I have successfully tested Leap second test on one server but when I try
to do the same configuration on another ntp server it reports me that the
host key file is not found or corrupt.
Can some please suggest what configurations I am missing?
The error when I run ntpd in debug mode.
getnetnum: calling getaddrinfo(127.127.1.0,...)
getnetnum given 127.127.1.0, got 127.127.1.0 (t_REF/1)
ntp_syslogmask = 0x0000ffff (=all)
set info_auth_key to 00000001
getnetnum: calling getaddrinfo(127.0.0.1,...)
getnetnum given 127.0.0.1, got 127.0.0.1 (t_UNK/0)
crypto_setup: OpenSSL version 90801f random seed file /dev/urandom bytes
read 2048
addto_syslog: crypto_setup: host key file ntpkey_host_siptel not found or
corrupt
the ntp.conf configurations related to crypto module.
64 # Authentication stuff
65 #
66 #keys /etc/ntp.keys
67 # path for keys file
68 trustedkey 1
69 # define trusted keys
70 requestkey 1
71
72
73 keysdir /etc/ntp/ntp.keys
74 #keys /etc/ntp
75
76 crypto randfile /dev/urandom
77 crypto pw password
Listing of ntp.keys folder.
:/etc/ntp/ntp.keys # ll
total 56
-rwxrwxrwx 1 root root 8768 Apr 1 05:44 leap-seconds.3629577600.txt
-rw-r--r-- 1 root root 543 Apr 4 00:21
ntpkey_RSA-MD5cert_siptel.3637066871
-rw-r--r-- 1 root root 617 Apr 4 00:21 ntpkey_RSAkey_siptel.3637066871
lrwxrwxrwx 1 root root 36 Apr 4 00:21 ntpkey_cert_siptel ->
ntpkey_RSA-MD5cert_siptel.3637066871
lrwxrwxrwx 1 root root 31 Apr 4 00:21 ntpkey_host_siptel ->
ntpkey_RSAkey_siptel.3637066871
lrwxrwxrwx 1 root root 27 Apr 1 05:52 ntpkey_leap ->
leap-seconds.3629577600.txt
I have successfully tested Leap second test on one server but when I try
to do the same configuration on another ntp server it reports me that the
host key file is not found or corrupt.
Can some please suggest what configurations I am missing?
The error when I run ntpd in debug mode.
getnetnum: calling getaddrinfo(127.127.1.0,...)
getnetnum given 127.127.1.0, got 127.127.1.0 (t_REF/1)
ntp_syslogmask = 0x0000ffff (=all)
set info_auth_key to 00000001
getnetnum: calling getaddrinfo(127.0.0.1,...)
getnetnum given 127.0.0.1, got 127.0.0.1 (t_UNK/0)
crypto_setup: OpenSSL version 90801f random seed file /dev/urandom bytes
read 2048
addto_syslog: crypto_setup: host key file ntpkey_host_siptel not found or
corrupt
the ntp.conf configurations related to crypto module.
64 # Authentication stuff
65 #
66 #keys /etc/ntp.keys
67 # path for keys file
68 trustedkey 1
69 # define trusted keys
70 requestkey 1
71
72
73 keysdir /etc/ntp/ntp.keys
74 #keys /etc/ntp
75
76 crypto randfile /dev/urandom
77 crypto pw password
Listing of ntp.keys folder.
:/etc/ntp/ntp.keys # ll
total 56
-rwxrwxrwx 1 root root 8768 Apr 1 05:44 leap-seconds.3629577600.txt
-rw-r--r-- 1 root root 543 Apr 4 00:21
ntpkey_RSA-MD5cert_siptel.3637066871
-rw-r--r-- 1 root root 617 Apr 4 00:21 ntpkey_RSAkey_siptel.3637066871
lrwxrwxrwx 1 root root 36 Apr 4 00:21 ntpkey_cert_siptel ->
ntpkey_RSA-MD5cert_siptel.3637066871
lrwxrwxrwx 1 root root 31 Apr 4 00:21 ntpkey_host_siptel ->
ntpkey_RSAkey_siptel.3637066871
lrwxrwxrwx 1 root root 27 Apr 1 05:52 ntpkey_leap ->
leap-seconds.3629577600.txt