URL: https://linuxfr.org/forums/linux-redhat/posts/ntp-centos-le-client-ne-fonctionne-pas Title: NTP CentOS : Le client ne fonctionne pas Authors: Olorim Date: 2009年09月14日T13:56:30+02:00 Tags: debian Score: 0 Bonjour, Vu que CentOS est un Fork de RedHat, j'espère avoir un peu d'aide ici... Voila, j'ai une CentOS 5.2-i386, installé sur un Proliant DL380 G4. J'essaye de synchroniser l'heure avec notre serveur de temps (que j'appellerai ici NTPA et NTPB pour le secoure). Mon paquet NTP installé :ntp-4.2.2p1-8.el5.centos.1 Mon fichier 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 # # restrict -6 default kod nomodify notrap nopeer noquery # restrict default kod nopeer notrap nomodify # restrict -6 default kod nopeer notrap nomodify # # # 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 # restrict -6 ::1 server NTPA dynamic server NTPB dynamic # # 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 # local clock # 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 Le serveur ne se met pas à jour. L'option -g permettant d'ignorer l'offset maximum pour une mise à jour est utilisé. Je n'arrive pas à trouver dans le Man ou les documentations comment régler le délai entre deux mise à jours, mises à jour qui ne se font pas... Bon, à part changer pour une DEBIAN (sa m'a pris 10 minute pour configurer NTP), ce que je ne peut pas faire, je vois vraiment plus ce que je peut faire (ne me reste plus qu'a désactiver le service ntpd et mettre une commande ntpdate serveur en crontab). Si quelqu'un a une meilleur idées, je suis preneur!