[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ntps config



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 -+-



Reply to: