LINUXSOFT.cz
Nazwa użytkownika: Hasło:     
    CZ UK PL

> Komentarze :: Poradna Špatná synchronizace NTP

Špatná synchronizace NTP 31.3.2007 11:04
Jan Kelbich
Distribuce FC 5 (upgrade z FC 4). Připojeno přes ADSL DS 1Mb/s, US 256kb/s - GTS Novera next. Po udate pomocí nástroje yum se mi dost špatně synchronizuje čas na počítači. Aktuální verze je : 2.6.20-1.2307.fc5, KDE : 3.5.5-0.2.fc5 Fedora-Core, HW: i686. ntptrace většinou hlásí stratum 6, přestože "visí" přímo na primáru :

[hke@tux]/home/hke> ntptrace
tux: stratum 6, offset 0.000000, synch distance 0.962797
tak.cesnet.cz: stratum 1, offset 0.000000, synch distance 0.002340, refid 'GPS'
[hke@tux]/home/hke>


Během updateu se nesynchronizoval vůbec (stratum 16), nyní se často snaží měnit server, někdy se nesynchronizuje vůbec.

[hke@tux]/home/hke> ntptrace
tux: stratum 6, offset 0.000000, synch distance 0.964462
***Invalid association ID specified
[hke@tux]/home/hke>


nebo

[hke@tux]/home/hke> ntptrace
tux: stratum 6, offset 0.000000, synch distance 0.449910
[hke@tux]/home/hke>


Obsah ntp.conf :

# Permit time synchronization with our time source, but do not
# permit the source to query or modify the service on this system.
# restrict default kod nomodify notrap nopeer noquery

# Permit all access over the loopback interface. This could
# be tightened as well, but to do so would effect some of
# the administrative functions.
# restrict 127.0.0.1

# -- CLIENT NETWORK -------
# restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap

# --- OUR TIMESERVERS -----
# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
# server 0.fedora.pool.ntp.org
# server 1.fedora.pool.ntp.org
# server 2.fedora.pool.ntp.org

# --- NTP MULTICASTCLIENT ---
#multicastclient # listen on default 224.0.1.1
# restrict 224.0.1.1 mask 255.255.255.255 nomodify notrap
# restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap

# Undisciplined Local Clock. This is a fake driver intended for backup
# and when no outside source of synchronized time is available.
# server 127.127.1.0
# fudge 127.127.1.0 stratum 10

# Drift file. Put this in a directory which the daemon can write to.
# No symbolic links allowed, either, since the daemon updates the file
# by creating a temporary in the same directory and then rename()'ing
# it to the file.
driftfile /var/lib/ntp/drift

# Keys file. If you want to diddle your server at run time, make a
# keys file (mode 600 for sure) and define the key number to be
# used for making requests.
# keys /etc/ntp/keys
# restrict 0.fedora.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
# restrict 1.fedora.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
# restrict 2.fedora.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
server ntp.cesnet.cz
restrict ntp.cesnet.cz mask 255.255.255.255 nomodify notrap noquery
server tak.cesnet.cz
restrict tak.cesnet.cz mask 255.255.255.255 nomodify notrap noquery
server 127.127.1.0


Prosím, poraďte, čím by to mohlo být způsobeno. Přetížením serveru asi ne, zkoušel jsem i jiné, se stejným výsledkem. Takže předpokládám, že buď bude chyba někde v konfiguraci, nebo je po upgrade vadný některý balík - který by to mohl být ? Nebo chyba v konfigurac sítě ? Nebo je chyba někde po cestě k serveru - pomalé spojení apod.? FUP aktivováno není - díval jsem se na svůj účet u poskytovatele.
Moc děkuji,
Kelbich Jan



KOMENTARZE
Špatná synchronizace NTP 31.3.2007 11:04 Jan Kelbich
Tylko zarejestrowani użytkownicy mogą dopisywać komentarze.
> Szukanie oprogramowania
1. Pacman linux
Download: 4709x
2. FreeBSD
Download: 8881x
3. PCLinuxOS-2010
Download: 8386x
4. alcolix
Download: 10651x
5. Onebase Linux
Download: 9455x
6. Novell Linux Desktop
Download: 0x
7. KateOS
Download: 5950x

1. xinetd
Download: 2236x
2. RDGS
Download: 937x
3. spkg
Download: 4334x
4. LinPacker
Download: 9595x
5. VFU File Manager
Download: 3024x
6. LeftHand Mała Księgowość
Download: 6842x
7. MISU pyFotoResize
Download: 2598x
8. Lefthand CRM
Download: 3395x
9. MetadataExtractor
Download: 0x
10. RCP100
Download: 2867x
11. Predaj softveru
Download: 0x
12. MSH Free Autoresponder
Download: 0x
©Pavel Kysilka - 2003-2024 | mailatlinuxsoft.cz | Design: www.megadesign.cz