
- 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 ntp
usted debe utilizar:
systemctl status ntp
Al modificar el /etc/ntp.conf
deberás reiniciar el servicio a través de:
systemctl restart ntp
El ntpstat
informe Unable to talk to NTP daemon. Is it running?
, simplemente puedes iniciar el ntp
servicio 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