OVH Cloud OVH Cloud

ntps config

1 réponse
Avatar
Lannoye Xavier
bonjour

j'ai configur=E9 mon ntpd de la mani=E8re suivante:
# /etc/ntp.conf, configuration for ntpd

# ntpd will use syslog() if logfile is not defined
#logfile /var/log/ntpd

driftfile /var/lib/ntp/ntp.drift
statsdir /var/log/ntpstats/

statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable

### lines starting 'server' are auto generated,
### use dpkg-reconfigure to modify those lines.

server be.pool.ntp.org iburst
server ntp1.belbone.be iburst

j'ai r=E9solu qques probl=E8mes et voici mon dernier log
28 Jan 09:36:37 ntpd[1552]: logging to file /root/ntpLog
28 Jan 09:36:37 ntpd[1552]: ntpd 4.1.0 Mon Mar 25 23:39:47 UTC 2002 (2)
28 Jan 09:36:37 ntpd[1552]: signal_no_reset: signal 13 had flags 4000000
28 Jan 09:36:37 ntpd[1552]: precision =3D 15 usec
28 Jan 09:36:37 ntpd[1552]: kernel time discipline status 0040
28 Jan 09:36:37 ntpd[1552]: frequency initialized 2.490 from
/var/lib/ntp/ntp.drift
28 Jan 09:39:10 ntpd[1552]: time reset 106.990850 s
28 Jan 09:39:10 ntpd[1552]: kernel time discipline status change 41
28 Jan 09:39:10 ntpd[1552]: synchronisation lost

et voici mes questions (que j'ai googl=E9 mais sans succ=E8s)
1/est-ce que tout a l'air normal?
la ligne 3 m'inqui=E8te...
la derni=E8re ligne m'inqui=E8te fort.

2/ j'ai lanc=E9 ntp de la mani=E8re suivante: ntpd -l ntpLog (pour avoir un=
log)
mais est-ce qu'il reste tourner (malgr=E9 la derni=E8re ligne)

3/quel est la meilleure mani=E8re de le lancer? cron/inet.d?

merci a vous

1 réponse

Avatar
NaiosKAE{FR}
Bonjour, je sais pas mais dans mon cas, je l'ai installé (ayant passé
trop rapidement les options) sudo dpkg-reconfigure.... puis c'est tout
et ca marche....

Lannoye Xavier a écrit :
bonjour

j'ai configuré mon ntpd de la manière suivante:
# /etc/ntp.conf, configuration for ntpd

# ntpd will use syslog() if logfile is not defined
#logfile /var/log/ntpd

driftfile /var/lib/ntp/ntp.drift
statsdir /var/log/ntpstats/

statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable

### lines starting 'server' are auto generated,
### use dpkg-reconfigure to modify those lines.

server be.pool.ntp.org iburst
server ntp1.belbone.be iburst

j'ai résolu qques problèmes et voici mon dernier log
28 Jan 09:36:37 ntpd[1552]: logging to file /root/ntpLog
28 Jan 09:36:37 ntpd[1552]: ntpd 4.1.0 Mon Mar 25 23:39:47 UTC 2002 (2)
28 Jan 09:36:37 ntpd[1552]: signal_no_reset: signal 13 had flags 4000000
28 Jan 09:36:37 ntpd[1552]: precision = 15 usec
28 Jan 09:36:37 ntpd[1552]: kernel time discipline status 0040
28 Jan 09:36:37 ntpd[1552]: frequency initialized 2.490 from
/var/lib/ntp/ntp.drift
28 Jan 09:39:10 ntpd[1552]: time reset 106.990850 s
28 Jan 09:39:10 ntpd[1552]: kernel time discipline status change 41
28 Jan 09:39:10 ntpd[1552]: synchronisation lost

et voici mes questions (que j'ai googlé mais sans succès)
1/est-ce que tout a l'air normal?
la ligne 3 m'inquiète...
la dernière ligne m'inquiète fort.

2/ j'ai lancé ntp de la manière suivante: ntpd -l ntpLog (pour avoir un log)
mais est-ce qu'il reste tourner (malgré la dernière ligne)

3/quel est la meilleure manière de le lancer? cron/inet.d?

merci a vous




--
Erwann PENCREACH

Quand le doigt montre la lune, l'imbécile regarde le doigt.
-+- Confucius -+-


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact