[Linux-bruxelles] S23ntp-server

Didier MISSON didier.misson at atofina.com
Mar 7 Sep 15:55:44 CEST 2004


un serveur en Debian Sarge.
C'est celui de backup, encore en test.
Je peux le rebooter comme je veux.

J'ai installer ntp-server.
ça fonctionne évidemment impec, sauf une chose, que je ne comprend pas.

A l'installation, Debian a bien mis les liens dans les /etc/rcn.d

Par exemple, dans les /etc/rc2.d  (et aussi dans rc3, rc4 et rc5) il y a 

S23ntp-server -> ../init.d/ntp-server

ça semble logique.
Pourtant, au reboot, il n'y a JAMAIS de ntp-server actif !

Je trouve ceci dans /var/log/boot :
...
Tue Sep  7 15:26:25 2004: Setting the System Clock using the Hardware 
Clock as r
eference...
Tue Sep  7 15:26:26 2004: System Clock set. Local time: Tue Sep  7 
15:26:26 CEST
 2004
Tue Sep  7 15:26:26 2004:
Tue Sep  7 15:26:26 2004: Initializing random number generator...done.
Tue Sep  7 15:26:26 2004: Recovering nvi editor sessions... done.
Tue Sep  7 15:26:26 2004: INIT: Entering runlevel: 2
Tue Sep  7 15:26:26 2004: Starting system log daemon: syslogd.
Tue Sep  7 15:26:26 2004: Starting kernel log daemon: klogd.
Tue Sep  7 15:26:26 2004: Starting MTA: exim4.
Tue Sep  7 15:26:27 2004: Starting mouse interface server: gpm.
Tue Sep  7 15:26:27 2004: Starting internet superserver: inetd.
Tue Sep  7 15:26:27 2004: Starting OpenBSD Secure Shell server: sshd.
Tue Sep  7 15:26:28 2004: Starting NTP server: ntpd.
Tue Sep  7 15:26:28 2004: Starting deferred execution scheduler: atd.
Tue Sep  7 15:26:28 2004: Starting periodic command scheduler: cron.
...

Donc, il a l'air de démarrer le ntpd

dans le /var/log/syslog je trouve :

Sep  7 15:26:28 abrusnmrtg2 ntpd[1724]: ntpd 4.2.0a at 1:4.2.0a-11-r Tue Jul 
27 04:
55:54 CEST 2004 (1)
Sep  7 15:26:28 abrusnmrtg2 ntpd[1724]: precision = 3.000 usec
Sep  7 15:26:28 abrusnmrtg2 ntpd[1724]: Listening on interface wildcard, 
0.0.0.0
#123
Sep  7 15:26:28 abrusnmrtg2 ntpd[1724]: Listening on interface wildcard, 
::#123
Sep  7 15:26:28 abrusnmrtg2 ntpd[1724]: Listening on interface lo, 
127.0.0.1#123
Sep  7 15:26:28 abrusnmrtg2 ntpd[1724]: Listening on interface eth0, 
10.170.20.1
14#123
Sep  7 15:26:28 abrusnmrtg2 ntpd[1724]: kernel time sync status 0040
Sep  7 15:26:28 abrusnmrtg2 /usr/sbin/cron[1729]: (CRON) INFO (pidfile fd 
= 3)
Sep  7 15:26:28 abrusnmrtg2 /usr/sbin/cron[1730]: (CRON) STARTUP (fork ok)
Sep  7 15:26:28 abrusnmrtg2 /usr/sbin/cron[1730]: (CRON) INFO (Running 
@reboot j
obs)
Sep  7 15:26:28 abrusnmrtg2 ntpd[1724]: frequency initialized 0.955 PPM 
from /va
r/lib/ntp/ntp.drift
Sep  7 15:26:28 abrusnmrtg2 ntpd[1724]: crypto_setup: random seed file 
//.rnd no
t found


Pourtant il n'est pas (plus) en machine.
Je suis obligé de relancer manuellement le ntp

/etc/rc2.d/S23ntp-server start
Starting NTP server: ntpd.

ok, ntpd tourne.
Mais pourquoi impossible de l'avoir actif après le boot ?

Quand je reboot, RIEN ... 
:-(

Une idée ?
Ou comment débuger ça ?

-- 
Didier




Plus d'informations sur la liste de diffusion Linux-bruxelles