Project

General

Profile

Actions

Bug #9705

closed

NTP client crashing

Added by Harry Liebel almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
OI-Userland
Target version:
Start date:
2018-08-07
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

Hi.

I installed/enabled the NTP client on OpenIndiana. It usually starts when I start it by hand. Sometimes it will be in maintenance mode after a reboot and I can clear it to start it again. Even after running for a short while it will fail and go into maintenance mode again.

I'm using an up-to-date OpenIndiana. I did a TextInstall in a VM and only added tmux and enabled NTP. I updated everything to the latest as of 7Aug18.

I just enabled ntp using 'svcadm enable ntp' without changing any configuration.

harry@vultr-oi:~$ date
 6 August 2018 at 23:57:04 AEST

harry@vultr-oi:~$ ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
+ntp2.ds.network 202.46.177.18    2 u   12   64   37   44.955  -22.107  17.201
*45.76.113.31 (d 17.253.66.125    2 u   18   64   37    0.428  -20.438  15.068
+y.ns.gin.ntt.ne 249.224.99.213   2 u   18   64   37    1.156  -22.878  16.041
+ntp3.ds.network 27.124.125.250   3 u   18   64   37   44.871  -20.451  16.153

...
...

harry@vultr-oi:~$ ntpq -p
ntpq: read: Connection refused

harry@vultr-oi:~$ svcs -xv ntp
svc:/network/ntp:default (Network Time Protocol (NTP) Version 4)
 State: maintenance since  7 August 2018 at 00:24:01 AEST
Reason: Restarting too quickly.
   See: http://illumos.org/msg/SMF-8000-L5
   See: man -M /usr/share/man -s 1M ntpd
   See: man -M /usr/share/man -s 4 ntp.conf
   See: man -M /usr/share/man -s 1M ntpq
   See: /var/svc/log/network-ntp:default.log
Impact: This service is not running.

$ grep ntpd /var/adm/messages*
/var/adm/messages.0:Aug  6 23:52:16 vultr-oi ntpd[512]: [ID 702911 ntp.error] /jenkins/jobs/oi-userland/workspace/components/network/ntp/ntp-4.2.8p10/libntp/recvbuff.c:326: REQUIRE(((void *)0) == pf->pptail || pptail == pf->pptail) failed
/var/adm/messages.0:Aug  6 23:52:16 vultr-oi ntpd[512]: [ID 702911 ntp.error] exiting (due to assertion failure)
/var/adm/messages.0:Aug  7 00:09:13 vultr-oi ntpd[1150]: [ID 702911 ntp.error] /jenkins/jobs/oi-userland/workspace/components/network/ntp/ntp-4.2.8p10/libntp/recvbuff.c:326: REQUIRE(((void *)0) == pf->pptail || pptail == pf->pptail) failed
/var/adm/messages.0:Aug  7 00:09:13 vultr-oi ntpd[1150]: [ID 702911 ntp.error] exiting (due to assertion failure)
/var/adm/messages.0:Aug  7 00:13:48 vultr-oi ntpd[1201]: [ID 702911 ntp.error] /jenkins/jobs/oi-userland/workspace/components/network/ntp/ntp-4.2.8p10/libntp/recvbuff.c:326: REQUIRE(((void *)0) == pf->pptail || pptail == pf->pptail) failed
/var/adm/messages.0:Aug  7 00:13:48 vultr-oi ntpd[1201]: [ID 702911 ntp.error] exiting (due to assertion failure)
/var/adm/messages.0:Aug  7 00:24:01 vultr-oi ntpd[1218]: [ID 702911 ntp.error] /jenkins/jobs/oi-userland/workspace/components/network/ntp/ntp-4.2.8p10/libntp/recvbuff.c:326: REQUIRE(((void *)0) == pf->pptail || pptail == pf->pptail) failed
/var/adm/messages.0:Aug  7 00:24:01 vultr-oi ntpd[1218]: [ID 702911 ntp.error] exiting (due to assertion failure)

Related issues

Related to OpenIndiana Distribution - Feature #9983: Replace ntp with ntpsecNewMichal Nowak2018-11-16

Actions
Actions

Also available in: Atom PDF