birdyb

OpnSense auf APU1D4: NTP-Dienst schlägt fehl

Hallo zusammen,

ich bräuchte bitte einmal eure Hilfe:
Heute habe ich meine opnSense installiert und habe ein Problem mit dem NTP-Dienst. Der Dienst wird nach dem Start immer direkt beendet, die Logs sagen folgendes:
2020-05-02T20:52:10	ntpd[49311]: 0.0.0.0 c01d 0d kern kernel time sync disabled
2020-05-02T20:52:10	ntpd[49311]: ntpd exiting on signal 15 (Terminated)
2020-05-02T20:52:08	ntpd[49311]: 0.0.0.0 c016 06 restart
2020-05-02T20:52:08	ntpd[49311]: 0.0.0.0 c011 01 freq_not_set
2020-05-02T20:52:08	ntpd[49311]: 0.0.0.0 c012 02 freq_set kernel 0.000 PPM
2020-05-02T20:52:08	ntpd[49311]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
2020-05-02T20:52:08	ntpd[49311]: 0.0.0.0 c01d 0d kern kernel time sync enabled
2020-05-02T20:52:08	ntpd[49311]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
2020-05-02T20:52:08	ntpd[49311]: Listening on routing socket on fd #33 for interface updates
2020-05-02T20:52:08	ntpd[49311]: Listen normally on 12 ovpnc1 172.16.7.2:123
2020-05-02T20:52:08	ntpd[49311]: Listen normally on 11 ovpnc1 [fe80::20d:b9ff:fe52:6094%8]:123
2020-05-02T20:52:08	ntpd[49311]: Listen normally on 10 lo0 127.0.0.1:123
2020-05-02T20:52:08	ntpd[49311]: Listen normally on 9 lo0 [fe80::1%4]:123
2020-05-02T20:52:08	ntpd[49311]: Listen normally on 8 lo0 [::1]:123
2020-05-02T20:52:08	ntpd[49311]: Listen normally on 7 re1 [fe80::20d:b9ff:fe52:6095%2]:123
2020-05-02T20:52:08	ntpd[49311]: Listen normally on 6 re1 10.0.1.1:123
2020-05-02T20:52:08	ntpd[49311]: Listen normally on 5 re0 *ipV6 entfernt*
2020-05-02T20:52:08	ntpd[49311]: Listen normally on 4 re0 *ipV6 entfernt*
2020-05-02T20:52:08	ntpd[49311]: Listen normally on 3 re0 192.168.0.128:123
2020-05-02T20:52:08	ntpd[49311]: Listen normally on 2 re0 [fe80::20d:b9ff:fe52:6094%1]:123
2020-05-02T20:52:08	ntpd[49311]: Listen and drop on 1 v4wildcard 0.0.0.0:123
2020-05-02T20:52:08	ntpd[49311]: Listen and drop on 0 v6wildcard [::]:123
2020-05-02T20:52:08	ntpd[49311]: restrict: 'monitor' cannot be disabled while 'limited' is enabled  
2020-05-02T20:52:08	ntpd[49311]: gps base set to 2020-04-19 (week 2102)
2020-05-02T20:52:08	ntpd[49311]: basedate set to 2020-04-17
2020-05-02T20:52:08	ntpd[49311]: proto: precision = 0.977 usec (-20)
2020-05-02T20:52:08	ntpd[89285]: ----------------------------------------------------
2020-05-02T20:52:08	ntpd[89285]: available at https://www.nwtime.org/support
2020-05-02T20:52:08	ntpd[89285]: corporation. Support and training for ntp-4 are
2020-05-02T20:52:08	ntpd[89285]: Inc. (NTF), a non-profit 501(c)(3) public-benefit
2020-05-02T20:52:08	ntpd[89285]: ntp-4 is maintained by Network Time Foundation,
2020-05-02T20:52:08	ntpd[89285]: ----------------------------------------------------
2020-05-02T20:52:08	ntpd[89285]: Command line: /usr/local/sbin/ntpd -g -c /var/etc/ntpd.conf -p /var/run/ntpd.pid
2020-05-02T20:52:08	ntpd[89285]: ntpd 4.2.8p14@1.3728-o Wed Apr 29 02:35:28 UTC 2020 (1): Starting

ntpq -p sagt nur:
localhost: timed out, nothing received
***Request timed out

Die Server sind alle korrekt hinterlegt und erreichbar.

Habt Ihr noch Ideen?

Vielen Dank und beste Grüße
Auf Facebook teilen
Auf X (Twitter) teilen
Auf Reddit teilen
Auf Linkedin teilen

Content-ID: 569412

Url: https://administrator.de/forum/opnsense-auf-apu1d4-ntp-dienst-schlaegt-fehl-569412.html

Ausgedruckt am: 30.07.2025 um 15:07 Uhr

aqui
Lösung aqui 02.05.2020 aktualisiert um 21:28:34 Uhr
Die Server sind alle korrekt hinterlegt und erreichbar.
Der Kernel sieht das aber laut Log nicht so. 0.0.0.0 ist sicher keine gültige NTP Adresse...
Habt Ihr noch Ideen?
Ja !
pfSense nehmen, damit rennt das völlig fehlerfrei ! face-wink
BirdyB
BirdyB 02.05.2020 um 22:08:01 Uhr
Zitat von @aqui:
Ja !
pfSense nehmen, damit rennt das völlig fehlerfrei ! face-wink
Hmkay... Jetzt mal davon ausgehend, dass ich bei opnSense bleibe...
Die Config (/var/etc/ntpd.conf) sieht so aus:
#
# Autogenerated configuration file
#

tinker panic 0
# Orphan mode stratum
tos orphan 12


# Upstream Servers
server 0.de.pool.ntp.org iburst maxpoll 9 prefer
server 1.de.pool.ntp.org iburst maxpoll 9
server 2.de.pool.ntp.org iburst maxpoll 9
server 3.de.pool.ntp.org iburst maxpoll 9


disable monitor
statsdir /var/log/ntp
logconfig =syncall +clockall +peerall +sysall
driftfile /var/db/ntpd.drift
restrict default kod limited nomodify nopeer notrap
restrict -6 default kod limited nomodify nopeer notrap
Hilft das irgendwie weiter?

Danke und viele Grüße
BirdyB
BirdyB 03.05.2020 um 18:37:40 Uhr
@aqui: Okay, du hast gewonnen... Ich habe pfSense installiert...
aqui
aqui 03.05.2020 um 18:48:52 Uhr
Netgate hat gewonnen. Wir wollen ja fair bleiben... face-wink