Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Jul 2017 15:47:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 220563] NTPd does not synchronize the time with a long (for a couple of weeks) disconnecting the virtual machine
Message-ID:  <bug-220563-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220563

            Bug ID: 220563
           Summary: NTPd does not synchronize the time with a long (for a
                    couple of weeks) disconnecting the virtual machine
           Product: Base System
           Version: 11.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: admin@support.od.ua

NTPd does not synchronize the time with a long (for a couple of weeks)
disconnecting the virtual machine

# env LC_ALL=3DC date
Tue Jul  4 21:19:47 EEST 2017

# service ntpd onefetch
# service ntpd restart
ntpd not running? (check /var/run/ntpd.pid).
Starting ntpd.

In logs:
Jul  4 21:20:21 core ntpd[1762]: ntpd 4.2.8p10-a (1): Starting
Jul  4 21:20:22 core ntpd[1763]: restrict: 'monitor' cannot be disabled whi=
le
'limited' is enabled
Jul  4 21:20:22 core ntpd[1763]: leapsecond file
('/var/db/ntpd.leap-seconds.list'): good hash signature
Jul  4 21:20:22 core ntpd[1763]: leapsecond file
('/var/db/ntpd.leap-seconds.list'): loaded, expire=3D2017-12-28T00:00:00Z
last=3D2017-01-01T00:00:00Z ofs=3D37

After entering the following commands, ntpd worked fine:

# ntpdate time.in.ua
 8 Jul 18:44:14 ntpdate[1818]: step time server 62.149.0.30 offset
336055.068582 sec

# service ntpd restart
ntpd not running? (check /var/run/ntpd.pid).
Starting ntpd.

# env LC_ALL=3DC date
Sat Jul  8 18:45:58 EEST 2017

# ntpq -pn
     remote           refid      st t when poll reach   delay   offset  jit=
ter
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
 0.freebsd.pool. .POOL.          16 p    -   64    0    0.000    0.000   0.=
002
#194.54.80.30    204.108.231.32   3 u   41   64    3    2.714   -2.997   0.=
207
*62.149.0.30     .GPS.            1 u   42   64    3   10.397    0.193   0.=
396
#2001:67c:440:40 193.11.166.20    2 u   45   64    3   92.070   -5.164   0.=
740
+193.27.209.20   31.28.161.68     2 u   46   64    3   21.624   -0.455   0.=
294
+193.27.208.100  .PPS.            1 u   44   64    3   20.100   -1.018   0.=
334
-91.198.10.1     62.149.0.30      2 u   40   64    3   17.699   -1.543   0.=
274
-91.236.251.12   193.11.166.20    2 u   42   64    3   34.316   -0.482   1.=
414
-195.78.244.34   62.149.0.30      2 u   39   64    3    1.484   -0.906   0.=
470


FreeBSD 11.1-PRERELEASE #0 r318606: Mon May 22 14:28:27 EEST 2017

# egrep -i ntp /etc/rc.conf
ntpd_enable=3D"YES"

# egrep -v '^$|^#' /etc/ntp.conf
tos minclock 3 maxclock 6
pool 0.freebsd.pool.ntp.org iburst
restrict    default limited kod nomodify notrap noquery nopeer
restrict -6 default limited kod nomodify notrap noquery nopeer
restrict    source  limited kod nomodify notrap noquery
restrict 127.0.0.1
restrict -6 ::1
leapfile "/var/db/ntpd.leap-seconds.list"
server 0.ua.pool.ntp.org iburst maxpoll 9
server 1.ua.pool.ntp.org iburst maxpoll 9
server 2.ua.pool.ntp.org iburst maxpoll 9
server 3.ua.pool.ntp.org iburst maxpoll 9
restrict default ignore
restrict -6 default ignore
restrict 0.ua.pool.ntp.org noquery notrap
restrict 1.ua.pool.ntp.org noquery notrap
restrict 2.ua.pool.ntp.org noquery notrap
restrict 3.ua.pool.ntp.org noquery notrap
statistics peerstats
statistics loopstats
statistics clockstats
disable monitor

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220563-8>