-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Bonjour,
I want to have ntp service running on my machine, so I enabled this service:
systemctl enable ntpd.service
systemctl start ntpd.service
But, every time I reboot my machine, ntp is dead....
systemctl status ntpd.service ● ntpd.service - Network Time Service Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled) Active: inactive (dead)
How to have running automatically?
Thank you - -- François Patte UFR de mathématiques et informatique Laboratoire CNRS MAP5, UMR 8145 Université Paris Descartes 45, rue des Saints Pères F-75270 Paris Cedex 06 Tél. +33 (0)1 8394 5849 http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 07/26/15 22:48, François Patte wrote:
Bonjour,
I want to have ntp service running on my machine, so I enabled this service:
systemctl enable ntpd.service
systemctl start ntpd.service
But, every time I reboot my machine, ntp is dead....
systemctl status ntpd.service ● ntpd.service - Network Time Service Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled) Active: inactive (dead)
How to have running automatically?
You probably have a conflict between ntpd.service and chronyd.service which are both doing the same thing and utilize the same network ports.
If you want to use ntpd instead of chronyd you will need to disable chronyd.service - -- If I wanted a blog or social media I'd go elsewhere
Put this at the bottom of /etc/chrony.conf: # comment out allow and noclientlog above # my stuff allow 10.0.0.0/8 allow 192.168.0.0/16 allow 172.16.0.0/12 broadcast 60 192.168.4.255 broadcast 60 192.168.6.255
(You may not want the broadcast statements).
then: systemctl restart chrony.service
You don't need ntpd.
HTH, Bill
On 7/26/2015 10:48 AM, François Patte wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Bonjour,
I want to have ntp service running on my machine, so I enabled this service:
systemctl enable ntpd.service
systemctl start ntpd.service
But, every time I reboot my machine, ntp is dead....
systemctl status ntpd.service ● ntpd.service - Network Time Service Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled) Active: inactive (dead)
How to have running automatically?
Thank you
François Patte UFR de mathématiques et informatique Laboratoire CNRS MAP5, UMR 8145 Université Paris Descartes 45, rue des Saints Pères F-75270 Paris Cedex 06 Tél. +33 (0)1 8394 5849 http://www.math-info.univ-paris5.fr/~patte -----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iEYEARECAAYFAlW0808ACgkQdE6C2dhV2JVrWwCfdSytq2jgzTvqnXz/NGKHJXGL qFAAn0LXLUIOLAozKLVBb4z158bFBtDV =M0F2 -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 07/26/2015 11:04 AM, Bill Shirley wrote:
Put this at the bottom of /etc/chrony.conf: # comment out allow and noclientlog above # my stuff allow 10.0.0.0/8 allow 192.168.0.0/16 allow 172.16.0.0/12 broadcast 60 192.168.4.255 broadcast 60 192.168.6.255
(You may not want the broadcast statements).
then: systemctl restart chrony.service
You don't need ntpd.
HTH, Bill
I think that should be systemctl restart chronyd.service
- -- Paul Cartwright Registered Linux User #367800 and new counter #561587
On 07/26/2015 09:46 AM, Paul Cartwright wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 07/26/2015 11:04 AM, Bill Shirley wrote:
Put this at the bottom of /etc/chrony.conf: # comment out allow and noclientlog above # my stuff allow 10.0.0.0/8 allow 192.168.0.0/16 allow 172.16.0.0/12 broadcast 60 192.168.4.255 broadcast 60 192.168.6.255
(You may not want the broadcast statements).
then: systemctl restart chrony.service
You don't need ntpd.
HTH, Bill
I think that should be systemctl restart chronyd.service
# systemctl enable ntpd.service ln -s '/usr/lib/systemd/system/ntpd.service' '/etc/systemd/system/multi-user.target.wants/ntpd.service' # systemctl start ntpd.service