Re: [CentOS] centos7: ntpd not started on boot

2016-07-29 Thread Volker
On 29.07.2016 12:36, Eero Volotinen wrote:
> Is crony running? It's default ntpd nowadays
> 
> Eero
> 

Ah, that's how it's done. Chronyd is running well.

Thanks for the help
.Volker

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos7: ntpd not started on boot

2016-07-29 Thread Eero Volotinen
Is crony running? It's default ntpd nowadays

Eero

29.7.2016 11.34 ap. "Volker"  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@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] centos7: ntpd not started on boot

2016-07-29 Thread Volker
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@centos.org
https://lists.centos.org/mailman/listinfo/centos