Re: ntpd korrigiert uhrzeit nicht

From: Oliver Fromme <olli(at)lurza.secnetix.de>
Date: Thu, 29 Apr 2004 15:30:01 +0200 (CEST)

Daniel Graupner <listen(at)danielgraupner.de> wrote:
> ~ :cat /etc/ntp.conf
> server ntphost1... prefer
> server ntphost2...
> driftfile /var/db/ntp.drift
>
> (natürlich mit den korrekten hostnamen)

Ist das alles? Normalerweise sollten noch folgende
Restrict-Zeilen drin sein:

   restrict ntphost1... mask 255.255.255.255 nomodify
   restrict ntphost2... mask 255.255.255.255 nomodify
   restrict default ignore
   restrict 127.0.0.1

(Das ist aber wahrscheinlich nicht für Dein konkretes Pro-
blem verantwortlich, da per Default alles zugelassen wird.
Vom Sicherheitsaspekt ist das natürlich suboptimal.)

> ~ :ntpq -p
> remote refid st t when poll reach delay offset jitter
> =======================================================================
> phoenix.... tik.cesnet.cz 2 u 14 64 377 6.431 -936419 32081.1
> aetius... anchises... 4 u 37 64 377 5.517 -935311 32922.3

Er synchronisiert auf keinen der beiden Server, weil der
Offset viel zu groß ist. Hast Du mal meinen Tip mit
»tinker panic 0« aus meiner vorhergehende Mail probiert?

(BTW, wenn er auf einen Server synchronisiert, zeigt er
vor dem Servernamen ein Sternchen an.)

Gruß
   Olli

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
Passwords are like underwear.  You don't share them,
you don't hang them on your monitor or under your keyboard,
you don't email them, or put them on a web site,
and you must change them very often.
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 29 Apr 2004 - 15:30:27 CEST

search this site