View previous topic :: View next topic |
Author |
Message |
KeKeSeB n00b
Joined: 06 May 2008 Posts: 5
|
Posted: Tue May 06, 2008 7:41 am Post subject: [Résolu][Kernel] Horloge système instable |
|
|
Bonjour,
Depuis que j'ai passé un serveur en amd64, j'ai l'horloge système qui se dérègle de 1 sec par 10 min environ, à tel point que ntpd n'arrive pas a corriger. Il reste stratum 16. Auriez vous une idée d'ou est ce que ca peut venir ?
Merci
Last edited by KeKeSeB on Tue May 06, 2008 8:52 am; edited 1 time in total |
|
Back to top |
|
|
kopp Advocate
Joined: 09 Apr 2004 Posts: 2885 Location: Grenoble, France
|
Posted: Tue May 06, 2008 7:44 am Post subject: |
|
|
Qu'il y a t'il dans le fichier /etc/adjtime ? Si c'est pas des zero : supprime le. |
|
Back to top |
|
|
KeKeSeB n00b
Joined: 06 May 2008 Posts: 5
|
Posted: Tue May 06, 2008 7:54 am Post subject: |
|
|
J'ai ca :
Code: | 0.000000 1210012830 0.000000
1210012830
UTC
|
Je l'ai viré, j'ai redémarré mais ca ne change rien. |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Tue May 06, 2008 8:31 am Post subject: |
|
|
Salut,
Chez moi, je force la synchronisation (NTPD_OPTS="-s") au démarrage : /etc/conf.d/ntpd: | # /etc/conf.d/ntpd: config file for openntpd's ntpd
NTPD_HOME=/var/empty
# See ntpd(8) man page ... some popular options:
# -s Set the time immediately at startup
NTPD_OPTS="-s"
|
_________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
KeKeSeB n00b
Joined: 06 May 2008 Posts: 5
|
Posted: Tue May 06, 2008 8:52 am Post subject: |
|
|
Moi, je lance ntp-client avant de lancer ntpd ce qui revient au meme il me semble.
J'ai résolu le problème en passant au kernel 2.6.25 (2.6.24 avant) et ca fonctionne... |
|
Back to top |
|
|
loopx Advocate
Joined: 01 Apr 2005 Posts: 2787 Location: Belgium / Liège
|
Posted: Tue May 06, 2008 9:07 am Post subject: |
|
|
pour reconfigurer l'heure, je fais comme suis :
- régler la zone (si pas fait)
- virer adjusttime
- régler avec "date"
- passer la date système vers la date hardware (hwclock --systohc)
après, faut soit redémarrer la machine, soit redémarrer le service (ce qui peut provoquer des plantages système de certain programme genre .. amarok ) _________________ Mon MediaWiki perso : http://pix-mania.dyndns.org |
|
Back to top |
|
|
sno35 Guru
Joined: 15 May 2004 Posts: 334 Location: Paris, France
|
Posted: Tue May 06, 2008 7:37 pm Post subject: |
|
|
S'il y a une pile pour sauver l'horloge, c'est peut-être elle qui a un coup de mou.
Tout le monde n'a pas la chance, comme moi, d'avoir un vieux Mac ... |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Tue May 06, 2008 7:56 pm Post subject: |
|
|
non, c'est linux qui foire. C'est pûrement logiciel _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
El_Goretto Moderator
Joined: 29 May 2004 Posts: 3169 Location: Paris
|
Posted: Wed May 07, 2008 1:05 pm Post subject: |
|
|
Vous pouvez aussi choisir une "clocksource" différente, si une foire sur votre matériel. C'est une option au boot du noyal. _________________ -TrueNAS & jails: µ-serv Gen8 E3-1260L, 16Go ECC + µ-serv N40L, 10Go ECC
-Réseau: APU2C4 (OpenWRT) + GS726Tv3 + 2x GS108Tv2 + Archer C5v1 (OpenWRT) |
|
Back to top |
|
|
|