| 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: 2815 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 Moderator


Joined: 23 Jul 2004 Posts: 4676 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"
|
_________________ Xavier Miller
(FR) Merci de respecter les règles du forum.
http://www.xaviermiller.be |
|
| 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: 330 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 Moderator


Joined: 23 Jul 2004 Posts: 4676 Location: ~Brussels - Belgique
|
|
| Back to top |
|
 |
El_Goretto Advocate


Joined: 29 May 2004 Posts: 2789 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. _________________ -PC: 2500K/P8Z68V, 8Go DDR3 1600 1.35V, HD6950, ARC1220+5xWD500RE3, M4 256Go
-Home server (hardened): µ-serv N40L, 2Go ECC
-Réseau: ERL-3 + 3x switches GS108Tv2
-NAS: RDNU2000 |
|
| Back to top |
|
 |
|