[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NTP, Nichts tut sich [gelöst]



On Thu, 22 Dec 2005 00:22:10 +0100, Bertram Scharpf <lists@bertram-scharpf.de> wrote:

Hallo,

Am Montag, 19. Dez 2005, 23:11:05 +0100 schrieb ljahn:
>   # ntpdate homer
> 19 Dec 01:09:59 ntpdate[9006]: no server suitable for synchronization
Bei mir bekomme ich diese Fehlermeldung immer nach einem Neustart des
ntp-servers. Er muß dann erst eine Weile laufen ohne Neustart, dann können
auch andre Rechner sich mit ihm mittels ntpdate synchronisieren.

Jepp, der ntpd läßt sich erst dann eine Zeit entlocken, wenn er sich hinreichend sicher ist, daß diese Zeit auch etwas mit der "wahren" Zeit zu tun hat...

Zum Thema Verhältnis ntpdate/ntpd noch ein paar Zeilen aus der Doku (/usr/share/doc/ntp-doc/html/ntpd.html, die ist übrigens sehr hilfreich, wenn man die Rechneruhren nicht nur so ungefähr gleich haben will, sondern die Zeitdifferenz nur wenige Millisekunden betragen soll, also wenn's "ernst" wird ;-):

In some cases it may not be practical for ntpd to run continuously. A common workaround has been to run the ntpdate program from a cron job at designated times. However, this program does not have the crafted signal processing, error checking and mitigation algorithms of ntpd. The -q option is intended for this purpose. Setting this option will cause ntpd to exit just after setting the clock for the first time. [...] After a suitable period of mourning, the ntpdate program may be retired.

Viele Grüße,

    Tilo



Reply to: