und wie behebe ich das?
Gute Frage. Am besten indem Du 16.04 neu installierst.
Gibt es evtl. noch "Reste", z. B. S+K-symlinks (in den runlevels), auf das Start-Stop-Script für ntpd?
Anmeldungsdatum: Beiträge: 13892 |
|||
Anmeldungsdatum: Beiträge: 13892 |
Siehe z. B. auch im Wiki: https://wiki.ubuntuusers.de/systemd/Problembehebung/#etc-rc-local-wird-zur-falschen-Zeit-ausgefuehrt |
||
(Themenstarter)
Anmeldungsdatum: Beiträge: 235 |
hab das problem gelöst, ich hab ihn die rc.local sleep 15 && /bin/systemctl restart ntp.service eingetragen und schon klappt der start.
|
||
Anmeldungsdatum: Beiträge: 13892 |
OK, aber evtl. ist die Methode im Wiki, siehe https://wiki.ubuntuusers.de/systemd/Problembehebung/#etc-rc-local-wird-zur-falschen-Zeit-ausgefuehrt etwas eleganter als die mit "sleep 15". EDIT: Hast Du an der Konfiguration für ntpd wieder etwas geändert, weil der jetzt auch auf IPv6 lauscht? Z. B.: Jun 11 17:51:47 Ubuntu-1604-64bit-Openvpn-maschine ntpd[1536]: Listen normally on 7 lo [::1]:123 Jun 11 17:51:47 Ubuntu-1604-64bit-Openvpn-maschine ntpd[1536]: Listen normally on 8 eth0 [2a01:4f8:xxxx]:123 Jun 11 17:51:47 Ubuntu-1604-64bit-Openvpn-maschine ntpd[1536]: Listen normally on 9 eth0 [fe80::20c:29ff:feb3:d3af%2]:123 Jun 11 17:51:47 Ubuntu-1604-64bit-Openvpn-maschine ntpd[1536]: Listen normally on 10 tap0 [fe80::44f2:1cff:fe19:15d7%3]:123 Jun 11 17:51:47 Ubuntu-1604-64bit-Openvpn-maschine ntpd[1536]: Listen normally on 11 tap5 [fe80::e077:bcff:febc:ae4%4]:123 Jun 11 17:51:47 Ubuntu-1604-64bit-Openvpn-maschine ntpd[1536]: Listen normally on 12 tun6 [2a01:4f8:xxxx]:123 CGroup: /system.slice/ntp.service └─1536 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 107:116 Wie sind die Ausgaben von: ps aux | grep -i [n]tp cat /etc/default/ntp ? EDIT 2: BTW: Ohne "-U 0" in der Konfiguration macht ntpd per default: dynamic interface list updating. The default is to scan every 5 minutes. , was gerade bei tun- und tap-Interfaces bzw. avahi-Interfaces, massive Probleme für den ntpd-Server verursachen kann. |