j'ai ce message au boot
ntpdate : Synchronisation avec le serveur de temps :     [ÉCHOUÉ]
j'ai pourtant une connexion active

Quand je vais dans Services
il est démarré et activé
par contre avec 2 de retard malgré le fuseau horaire

Une idée ?

j'ai aussi de message en root
1 Jun 18:06:00 ntpdate[2323]: no servers can be used, exiting
j'ai testé
ntp.emi.u-bordeaux.fr
il répond
 1 Jun 18:10:42 ntpdate[2479]: the NTP socket is in use, exiting
j'ai l'impression que ntpd démarre avant la connexion réseau
montre voir ce que donne un

grep -i server /etc/ntp.conf

?
nouvo09 wrote:montre voir ce que donne un

grep -i server /etc/ntp.conf

?
sa donne sa
# Use public servers from the pool.ntp.org project.
server 0.fedora.pool.ntp.org
server 1.fedora.pool.ntp.org
server 2.fedora.pool.ntp.org
server 0.fedora.pool.ntp.org dynamic
#broadcast 192.168.1.255 autokey    # broadcast server
#broadcast 224.0.1.1 autokey        # multicast server
#manycastserver 239.255.254.254        # manycast server
#server    127.127.1.0    # local clock
essaie peut-être avec des serveurs plus proches,

voilà ceux que j'utilise (mais ça ne résoud pas tous les problèmes, il faudra voir):
server 145.238.203.10 #ntp.obspm.fr
server 81.25.192.148 #0.fr.pool.ntp.org
server 129.104.30.42 #ntp.polytechnique.fr
server 212.37.192.31 #ntp.internet-fr.net
et mets carrément les adresses IP, parce que parfois ce sont les requêtes DNS qui échouent.
j'ai fait le remplacement

mais c'est idem

j'ai sa dans mon log

ntpdate[1450]: can't find host 0.fedora.pool.ntp.org
ntpdate[1450]: can't find host 1.fedora.pool.ntp.org
ntpdate[1450]: can't find host 2.fedora.pool.ntp.org
ntpdate[1450]: no servers can be used, exiting
ntpd[1457]: ntpd 4.2.6p1@1.2158-o Thu May 13 13:35:51 UTC 2010 (1)
ntpd[1458]: proto: precision = 1.676 usec
ntpd[1458]: 0.0.0.0 c01d 0d kern kernel time sync enabled
ntpd[1458]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
ntpd[1458]: Listen and drop on 1 v6wildcard :: UDP 123
ntpd[1458]: Listen normally on 2 lo 127.0.0.1 UDP 123
ntpd[1458]: Listen normally on 3 lo ::1 UDP 123
ntpd[1458]: Listening on routing socket on fd #20 for interface updates
ntpd[1458]: 0.0.0.0 c016 06 restart
ntpd[1458]: 0.0.0.0 c012 02 freq_set kernel 62.338 PPM
ntpd[1458]: Listen normally on 4 eth0 192.168.0.11 UDP 123
ntpd[1458]: Listen normally on 5 virbr0 192.168.122.1 UDP 123
ntpd[1458]: 0.0.0.0 c61c 0c clock_step -0.153287 s
ntpd[1458]: 0.0.0.0 c614 04 freq_mode
ntpd[1458]: 0.0.0.0 c618 08 no_sys_peer
ntpd[1458]: Listen normally on 6 eth0 fe80::200:5aff:fe72:9c3e UDP 123
tu as fait un

#service ntpd restart

??
Arrêt de ntpd :                                            [  OK  ]
Démarrage de ntpd :                                        [  OK  ]
Je suis persuadé qu'il démarre avant la connexion réseaux
karadine wrote:
Arrêt de ntpd :                                            [  OK  ]
Démarrage de ntpd :                                        [  OK  ]
Je suis persuadé qu'il démarre avant la connexion réseaux
Si c'est NetworkManager qui est utilisé, oui il démarre après.
Par contre si le service network est activé ( chkconfig: - 10 90 ), il démarre après (chkconfig: - 58 74)
C'est pas important pour ntpd, c'est un démon il contacte les serveurs à intervalles réguliers et il insiste s'il ne les trouve pas.

Enfin ça c'est la théorie...
dans le start du service , je vois :
start() {
[ "$NETWORKING" = "no" ] && exit 1
MarbolanGos wrote:Que dit :
ntpq -p
ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 syrte8.obspm.fr 193.52.184.106   2 u   44   64    1   56.952   -1.792   0.002
 dnscache-paris. 145.238.203.14   2 u   41   64    3   56.716    0.605  42.556
 129.104.30.42   193.204.114.232  2 u   45   64    3   59.833   -1.016  41.281
 ntp.internet-fr 195.220.94.163   2 u   43   64    3   57.414   -1.158   1.559
Et j'ai toujours l'erreur de boot
j'ai lu que cela arrivait a des gens qui ont Lucid,
ntpd se charge avant network-manager et ils n'ont pas la météo a coté de l'horloge non plus
karadine wrote:..
ntpd se charge avant network-manager
le service oui, mais la connexion est faite par l'applet
proxy wrote:
karadine wrote:
Arrêt de ntpd :                                            [  OK  ]
Démarrage de ntpd :                                        [  OK  ]
Je suis persuadé qu'il démarre avant la connexion réseaux
Si c'est NetworkManager qui est utilisé, oui il démarre après.
Par contre si le service network est activé ( chkconfig: - 10 90 ), il démarre après (chkconfig: - 58 74)
Extrait du script:
# NetworkManager: NetworkManager daemon
#
# chkconfig: - 23 84
Il démarre bien en 23

et ntpd en 58 donc après le réseau.
Finalement, je suis au point mort puisque je ne trouve pas l'origine de cette ECHEC dans le boot
Au temps pour moi

utilise network au lieu de NetworkManager, la question sera résolue.
proxy wrote:#13
Reflexion faite je viens de booter sur le livecd de F13, en niveau 3. NetworkManager gère le réseau et il est fonctionnel même en l'absence de mode graphique et donc d'applet. Now what ?

Et voilà le résultat, toujours avec ce livecd de

# grep etwork /var/log/messages:
Jun  4 11:18:56 localhost kernel: Initalizing network drop monitor service
Jun  4 11:19:04 localhost NetworkManager[1483]: <info> NetworkManager (version 0.8.0.997) is starting...
Jun  4 11:19:04 localhost NetworkManager[1483]: <info> trying to start the modem manager...
Jun  4 11:19:04 localhost NetworkManager[1483]:    ifcfg-rh: Acquired D-Bus service com.redhat.ifcfgrh1
Jun  4 11:19:04 localhost NetworkManager[1483]: <info> Loaded plugin ifcfg-rh: (c) 2007 - 2008 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
Jun  4 11:19:05 localhost NetworkManager[1483]:    ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-lo ... 
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> WiFi enabled by radio killswitch; enabled by state file
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> WWAN enabled by radio killswitch; enabled by state file
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> WiMAX enabled by radio killswitch; enabled by state file
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> Networking is enabled by state file
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> (eth0): carrier is OFF
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> (eth0): new Ethernet device (driver: 'r8169' ifindex: 2)
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> (eth0): exported as /org/freedesktop/NetworkManager/Devices/0
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> (eth0): now managed
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> (eth0): device state change: 1 -> 2 (reason 2)
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> (eth0): bringing up device.
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> (eth0): preparing device.
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> (eth0): deactivating device (reason: 2).
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> Added default wired connection 'Auto eth0' for /sys/devices/pci0000:00/0000:00:1e.0/0000:08:00.0/net/eth0
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> (eth0): carrier now ON (device state 2)
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> (eth0): device state change: 2 -> 3 (reason 40)
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> modem-manager is now available
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> Trying to start the supplicant...
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> Activation (eth0) starting connection 'Auto eth0'
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> (eth0): device state change: 3 -> 4 (reason 0)
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> (eth0): device state change: 4 -> 5 (reason 0)
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> (eth0): device state change: 5 -> 7 (reason 0)
Jun  4 11:19:05 localhost NetworkManager[1483]: <info> Activation (eth0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Jun  4 11:19:06 localhost NetworkManager[1483]: <info> dhclient started with pid 1495
Jun  4 11:19:06 localhost NetworkManager[1483]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Jun  4 11:19:06 localhost avahi-daemon[1497]: Network interface enumeration completed.
Jun  4 11:19:06 localhost NetworkManager[1483]: <info> (eth0): DHCPv4 state changed nbi -> preinit
Jun  4 11:19:07 localhost NetworkManager[1483]: <info> (eth0): DHCPv4 state changed preinit -> bound
Jun  4 11:19:07 localhost NetworkManager[1483]: <info> Activation (eth0) Stage 4 of 5 (IP4 Configure Get) scheduled...
Jun  4 11:19:07 localhost NetworkManager[1483]: <info> Activation (eth0) Stage 4 of 5 (IP4 Configure Get) started...
Jun  4 11:19:07 localhost NetworkManager[1483]: <info>   address 192.168.0.102
Jun  4 11:19:07 localhost NetworkManager[1483]: <info>   prefix 24 (255.255.255.0)
Jun  4 11:19:07 localhost NetworkManager[1483]: <info>   gateway 192.168.0.1
Jun  4 11:19:07 localhost NetworkManager[1483]: <info>   nameserver '192.168.0.1'
Jun  4 11:19:07 localhost NetworkManager[1483]: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) scheduled...
Jun  4 11:19:07 localhost NetworkManager[1483]: <info> Activation (eth0) Stage 4 of 5 (IP4 Configure Get) complete.
Jun  4 11:19:07 localhost NetworkManager[1483]: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) started...
Jun  4 11:19:08 localhost NetworkManager[1483]: <info> (eth0): device state change: 7 -> 8 (reason 0)
Jun  4 11:19:08 localhost NetworkManager[1483]: <info> Policy set 'Auto eth0' (eth0) as default for IPv4 routing and DNS.
Jun  4 11:19:08 localhost NetworkManager[1483]: <info> Activation (eth0) successful, device activated.
Jun  4 11:19:08 localhost NetworkManager[1483]: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) complete.
Comment puis je retarder le lancement de ntpd ?
@nouvo09 : ok, si on utilise la connexion "default wired connection 'Auto eth0'"
@karadine : est ce ton cas ?