[CentOS] centos7: ntpd not started on boot

Eero Volotinen eero.volotinen at iki.fi
Fri Jul 29 10:36:35 UTC 2016


Is crony running? It's default ntpd nowadays

Eero

29.7.2016 11.34 ap. "Volker" <volker at openbios.org> kirjoitti:

> Hi,
>
> I have got problems with the ntp daemon.
>
> It is enabled in systemd but is not started on boot.
>
> # systemctl status ntpd
> ● ntpd.service - Network Time Service
>    Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor
> preset: disabled)
>    Active: inactive (dead)
>
> Starting manually works
> # systemctl start ntpd
> # systemctl status ntpd
> ● ntpd.service - Network Time Service
>    Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor
> preset: disabled)
>    Active: active (running) since Fri 2016-07-29 10:29:45 CEST; 3s ago
>   Process: 2291 ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS
> (code=exited, status=0/SUCCESS)
>  Main PID: 2296 (ntpd)
>    CGroup: /system.slice/ntpd.service
>            └─2296 /usr/sbin/ntpd -u ntp:ntp -g
>
> Jul 29 10:29:45 simpil1 ntpd[2296]: Listen normally on 2 lo 127.0.0.1
> UDP 123
> Jul 29 10:29:45 simpil1 ntpd[2296]: Listen normally on 3 eno1
> 10.17.66.11 UDP 123
> Jul 29 10:29:45 simpil1 ntpd[2296]: Listen normally on 4 lo ::1 UDP 123
> Jul 29 10:29:45 simpil1 ntpd[2296]: Listen normally on 5 eno1
> fe80::223:24ff:fea7:a264 UDP 123
> Jul 29 10:29:45 simpil1 ntpd[2296]: Listening on routing socket on fd
> #22 for interface updates
> Jul 29 10:29:45 simpil1 ntpd[2296]: 0.0.0.0 c016 06 restart
> Jul 29 10:29:45 simpil1 ntpd[2296]: 0.0.0.0 c012 02 freq_set kernel
> 8.993 PPM
> Jul 29 10:29:46 simpil1 ntpd[2296]: 0.0.0.0 c61c 0c clock_step -0.180109 s
> Jul 29 10:29:46 simpil1 ntpd[2296]: 0.0.0.0 c614 04 freq_mode
> Jul 29 10:29:47 simpil1 ntpd[2296]: 0.0.0.0 c618 08 no_sys_peer
>
> I see nothing ntpd related /var/log/messages or journactl during the
> boot phase. Seems like no attempt is made to start it at all.
>
> Is there something that need to be done besides enabling it with systemctl?
>
> Regards
> .....Volker
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



More information about the CentOS mailing list