OpenWrt/LEDE Project

  • Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category Packages
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Very Low
  • Reported Version openwrt-18.06
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by n8v8R - 14.06.2019
Last edited by Petr Štetiar - 06.07.2019

FS#2318 - [busybox sysntpd] server not suitable for synchronization

- Software versions of OpenWrt/LEDE release

- packages, etc.
* bysubox 1.28.4-3.13
* ntpdate 4.2.8p11-1.13
* ntp-utils 4.2.8p11-1.13

- setting
* etc/config/system

config timeserver 'ntp'
	option enabled '1'
	option enable_server '1'

- Steps to reproduce
install ntpdate and ntp-utils

ntpq -p

localhost: timed out, nothing received
***Request timed out

ntpdate localhost

ntpdate no server suitable for synchronization found

whilst in comparison


ntpdate: adjust time server offset 0.000341 sec

ntpdate -q localhost

server ::1, stratum 2, offset 0.000013, delay 0.02769
server, stratum 2, offset 0.000006, delay 0.02766
14 Jun 10:40:12 ntpdate[2460]: adjust time server offset 0.000006 sec

Closed by  Petr ┼átetiar
06.07.2019 08:13
Reason for closing:  Different project
n8v8R commented on 16.06.2019 07:45

for completeness of debugging efforts

ntpdc -lnps

localhost: timed out, nothing received
*Request timed out
localhost: timed out, nothing received
*Request timed out
localhost: timed out, nothing received
***Request timed out

ntptime -r

ntp_gettime() returns code 5 (ERROR)
ntp_adjtime() returns code 5 (ERROR)

n8v8R commented on 20.06.2019 20:33

tested now with 19.07 and the outcome is the same unfortunately

n8v8R commented on 29.06.2019 14:29

From it enclosed strace ntpq -p it seems that ntpd is refusing/closing the connection

n8v8R commented on 01.07.2019 14:10

extended debugging effort

# /etc/init.d/sysntpd stop
# /sbin/ntpd -nNlSddddp

ntpq -p →→ ntpd: malformed packet received from ::1: size 12

ntptime -r →→ no output from ntpd

ntpdc -lnps →→ no output from ntpd

ntpdate localhost →→ no output from ntpd

n8v8R commented on 03.07.2019 09:52

It probably won't fix on OpenWrt. Looking more like an issue at source


Available keyboard shortcuts


Task Details

Task Editing