ntpd no se ejecuta

ntpd no se ejecuta
  • Haber confirmado que el servidor correcto está configurado en/etc/ntp.conf
  • Puede hacer ping a ese servidor.
  • Definitivamente tiene el paquete ntp

    /home/admin# dpkg -s ntp Package: ntp Status: install ok installed

  • Pero el demonio no se está ejecutando.

    /home/admin# ps wax | grep ntp 21959 pts/0    S+     0:00 grep ntp

  • Comprobación del estado

    /home/admin# ntpstat Unable to talk to NTP daemon. Is it running?

  • Me sale esto cuando intento reiniciarlo

    /home/admin# systemctl start ntpd Failed to start ntpd.service: Unit ntpd.service failed to load: No such file or directory.

¿Qué debería intentar a continuación?

Respuesta1

Para comprobar el estado de ntpusted debe utilizar:

systemctl status ntp

Al modificar el /etc/ntp.confdeberás reiniciar el servicio a través de:

systemctl restart ntp

El ntpstatinforme Unable to talk to NTP daemon. Is it running?, simplemente puedes iniciar el ntpservicio a través de:

systemctl start ntp

Para iniciar el servicio en el momento del arranque:

systemctl enable ntp

Respuesta2

En mi sistema de plantas rodadoras de uso abierto, obtengo

systemctl start ntp
Unit ntp.service could not be found.

Reemplacé ntp con ntpd y todo funcionó.

systemctl start ntpd
systemctl enabled ntpd

información relacionada