Erro NTP após o boot

0

Estou tendo um problema com o serviço ntp após o boot do Ubuntu. Eu tenho uma rede local com alguns computadores rodando o Ubuntu 16.04 / Windows 8 e um servidor Debian 8 rodando como servidor ntp / samba / dhcp. Alguns computadores não conseguem o horário correto e os usuários não podem se conectar nessa máquina.

Para resolver este problema, apenas corri:

sudo systemctl restart ntp.server

Mas eu preciso rodar isso toda vez que o windows iniciar e depois mudar para o Ubuntu.

sudo systemctl status ntp.service
Abr 19 13:11:26 L05M01L ntp[1288]:  * Starting NTP server ntpd
Abr 19 13:11:26 L05M01L ntpd[1296]: ntpd [email protected] Wed Feb 14 14:56:29 UTC 2018 (1): Starting
Abr 19 13:11:26 L05M01L ntpd[1296]: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 125:136
Abr 19 13:11:26 L05M01L ntp[1288]:    ...done.
Abr 19 13:11:26 L05M01L ntpd[1299]: proto: precision = 0.046 usec (-24)
Abr 19 13:11:26 L05M01L ntpd[1262]: ntpd exiting on signal 15 (Terminated)
Abr 19 13:11:26 L05M01L ntpd[1299]: restrict: ignoring line 23, address/host 'test.local' unusable.
Abr 19 13:11:26 L05M01L ntpd[1299]: Listen and drop on 0 v6wildcard [::]:123
Abr 19 13:11:26 L05M01L ntpd[1299]: Listen and drop on 1 v4wildcard 0.0.0.0:123
Abr 19 13:11:26 L05M01L ntpd[1299]: Listen normally on 2 lo 127.0.0.1:123
Abr 19 13:11:26 L05M01L ntpd[1299]: Listen normally on 3 lo [::1]:123
Abr 19 13:11:26 L05M01L ntpd[1299]: Listening on routing socket on fd #20 for interface updates
Abr 19 13:11:27 L05M01L ntpd[1299]: error resolving pool test.local: Temporary failure in name resolution (-3)
Abr 19 13:11:29 L05M01L ntpdate[1561]: the NTP socket is in use, exiting
Abr 19 13:11:29 L05M01L ntpdate[1617]: the NTP socket is in use, exiting
Abr 19 13:11:30 L05M01L ntpd[1299]: Listen normally on 4 eno1 192.168.1.67:123
Abr 19 13:12:32 L05M01L ntpd[1299]: Soliciting pool server 192.168.1.11
Abr 19 13:13:39 L05M01L ntpd[1299]: Soliciting pool server 192.168.1.11


ntpq -p
    remote           refid      st t when poll reach   delay   offset  jitter
  ==============================================================================
    test.local      .POOL.          16 p    -   64    0    0.000    0.000   0.000

depois de um reinício

remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 test.local      .POOL.          16 p    -   64    0    0.000    0.000   0.000
*info.test.loca LOCAL(0)         6 u    3   64    1    0.448   -0.065   0.020

PS: estou usando uma ferramenta para conectar todos os computadores no domínio, chamado CiD ( link ), para que O ntp.conf é configurado pela ferramenta.

# [Modified by CID]
#
# This file has been modified by the CID (Closed In Directory) program.
# A copy of its previous state was saved in /var/lib/cid/backups/ori/etc/ntp.conf
# and in /var/lib/cid/backups/mod/etc/ntp.conf if the program has made a
# reconfiguration in the file.
# For more details, see: /usr/share/doc/cid-base/usermanual.html.

driftfile /var/lib/ntp/ntp.drift

statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable

pool test.local iburst prefer

restrict -4 default ignore
restrict -6 default ignore
restrict -4 127.0.0.1
restrict -6 ::1
restrict test.local mask 255.255.255.255 notrap nomodify noquery

Então, isso pode ser um problema com meu DNS?

    
por Roland Sgs 19.04.2018 / 22:01

0 respostas