[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    1.30.1 [ntpd] - not able to query
From:       vtolkm () googlemail ! com
Date:       2019-06-29 14:12:10
Message-ID: 4ee929a2-c3c0-9bb7-7103-ebbd8fa1893d () gmail ! com
[Download RAW message or body]

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



_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic