Dnia środa, 15 września 2010, Grzesiek Sójka napisał: > > dodanie do ntp.conf > > > > tinker panic 0 (czy jakoś tak, piszę z głowy, trzeba do manual zajrzeć) > > > > powinno pomóc na te problemy. > > Prawdę mówiąc to nie jetem pewien czy to jest najszczęśliwszy pomysł. > Przypuśćmy, że rozbieżność zegara jest jakaś horrendalna, np. 3 > miesiące. W takim przypadku podejrzewam, że synchronizacja zajęła by z > rok albo i więcej. Najlepsze rozwiązanie to "brutalne" przestawienie > zegara przy starcie (przy pomocy ntpdate) a potem odpalenie ntpd.
Dzisiaj na jednym kompie wykonałem szybki test. Zmieniłem datę na 1 stycznia 1980, zrestartowałem ntpd i tak to wyglądało: Jan 1 00:00:57 erech ntpd[3228]: ntpd exiting on signal 15 Jan 1 00:00:58 erech ntpd[3324]: *** WARNING *** The program 'ntpd' uses the Apple Bonjour compatibility layer of Avahi. Jan 1 00:00:58 erech ntpd[3324]: *** WARNING *** Please fix your application to use the native API of Avahi! Jan 1 00:00:58 erech ntpd[3324]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=ntpd> Jan 1 00:00:58 erech ntpd[3324]: Unable to register mDNS Jan 1 00:00:58 erech ntpd[3326]: precision = 0.097 usec Jan 1 00:00:58 erech ntpd[3326]: ntp_io: estimated max descriptors: 1024, initial socket boundary: 16 Jan 1 00:00:58 erech ntpd[3326]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled Jan 1 00:00:58 erech ntpd[3326]: Listening on interface #1 wildcard, ::#123 Disabled Jan 1 00:00:58 erech ntpd[3326]: Listening on interface #2 lo, ::1#123 Enabled Jan 1 00:00:58 erech ntpd[3326]: Listening on interface #3 eth0, fe80::21a:a0ff:fe29:edd3#123 Enabled Jan 1 00:00:58 erech ntpd[3326]: Listening on interface #4 lo, 127.0.0.1#123 Enabled Jan 1 00:00:58 erech ntpd[3326]: Listening on interface #5 eth0, 10.1.2.104#123 Enabled Jan 1 00:00:58 erech ntpd[3326]: Listening on routing socket on fd #22 for interface updates Jan 1 00:00:58 erech ntpd[3326]: kernel time sync status 2040 Jan 1 00:00:59 erech ntpd[3326]: Deleting interface #2 lo, ::1#123, interface stats: received=0, sent=0, dropped=0, active_time=1 secs Jan 1 00:00:59 erech ntpd[3326]: Deleting interface #3 eth0, fe80::21a:a0ff:fe29:edd3#123, interface stats: received=0, sent=0, dropped=0, active_time=1 secs Jan 1 00:04:12 erech ntpd[3326]: synchronized to LOCAL(0), stratum 10 Jan 1 00:04:12 erech ntpd[3326]: kernel time sync status change 2001 Jan 1 00:04:12 erech ntpd[3326]: synchronized to 212.87.0.71, stratum 2 Jan 1 00:07:28 erech ntpd[3326]: synchronized to 213.222.193.35, stratum 1 Sep 16 12:25:37 erech ntpd[3326]: time reset +969102381.515550 s Sep 16 12:29:34 erech ntpd[3326]: synchronized to LOCAL(0), stratum 10 Sep 16 12:30:37 erech ntpd[3326]: synchronized to 212.87.0.71, stratum 2 Sep 16 12:33:42 erech ntpd[3326]: synchronized to 213.222.193.35, stratum 1 Sep 16 12:44:55 erech ntpd[3326]: time reset +0.637298 s Sep 16 12:48:35 erech ntpd[3326]: synchronized to LOCAL(0), stratum 10 Sep 16 12:49:38 erech ntpd[3326]: synchronized to 213.222.193.35, stratum 1 Sep 16 13:06:28 erech ntpd[3326]: synchronized to 212.87.0.71, stratum 2 Sep 16 13:06:29 erech ntpd[3326]: time reset +0.730055 s Konfiguracja domyślna z pld, jedynie dodany ten wpis tinker panic 0 -- Pozdrawiam, Paweł _______________________________________________ pld-users-pl mailing list pld-users-pl@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-users-pl