1.30.1 [ntpd] - not able to query

vtolkm at googlemail.com vtolkm at googlemail.com
Sat Jun 29 14:12:10 UTC 2019


ntpd appears to be up and running/listening

ss -tulpn | grep 123
udp   UNCONN 0  0    *:123   *:*  users:(("ntpd",pid=7589,fd=3))

However, querying the server appears not working, as if queries being
refused and thus wondering what could be causing this, let alone
resolving it?

 ntpdc -lnps
localhost: timed out, nothing received
***Request timed out

ntptime -r
ntp_gettime() returns code 5 (ERROR)
ntp_adjtime() returns code 5 (ERROR)

ntpdate localhost
no server suitable for synchronization found

strace ntpq -p
socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_UDP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(65535),
sin_addr=inet_addr("127.0.0.1")}, 16) = 0
close(3)                                = 0
socket(AF_INET6, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_UDP) = 3
connect(3, {sa_family=AF_INET6, sin6_port=htons(65535),
sin6_flowinfo=htonl(0), inet_pton(AF_INET6, "::1", &sin6_addr),
sin6_scope_id=0}, 28) = 0
close(3)                                = 0

ps aux | grep ntpd
root      7589  0.0  0.0   1092   516 ?        S<   14:21   0:00
/sbin/ntpd -n -N -l -S /usr/sbin/ntpd-hotplug
root     29632  0.0  0.0   1088   516 pts/0    R+   15:08   0:00 grep
sysntpd





More information about the busybox mailing list