bon et ben j'en ai une mémorable pour le forum du boulet
l'erreur est humaine.
--j'ai une minuterie qui coupe l'alim du modem adsl entre aproximativement 2h(GMT+1) et 7h(GMT+1) pour faire souffler la bebête
--j'ai réglé ntpd en UTC donc l'horloge hardware est en UTC. linux ajoute une heure pour avoir l'heure francaise.
--mon serveur est réveillé par le bios à 1h30(heure du bios donc GMT).
--cron eteinds mon serveur à 2h(GMT+1)
tout ca c'etait pour faire une petite sauvegarde entre 1h30 et 2h tous les jours mais j'ai pas pensé aux fuseaux horaires. du coup au lieu que le PC s'alume entre 1h30 et 2h, il s'alume à 2H30 et ne s'eteinds pas
c'est pas un problème vous me direz, sauf que vu que mon modem est eteind à 2H30 et que du coup dhcpd ne trouve pas de connection ---> les daemons ssh,samba,nfs et ntpd ne démarent pas.
voila pourquoi mon serveur reste inacessible bien que non planté !
ceci dis, mon nouveau noyau ne plante pas contrairement à l'ancien !
Jan 10 02:00:01 akenaton shutdown[16476]: shutting down for system halt
Jan 10 02:00:01 akenaton init: Switching to runlevel: 0
Jan 10 02:00:04 akenaton watchdog[6588]: stopping daemon (5.2)
Jan 10 02:00:10 akenaton mountd[8064]: Caught signal 15, un-registering and exiting.
Jan 10 02:00:10 akenaton kernel: nfsd: last server has exited
Jan 10 02:00:10 akenaton kernel: nfsd: unexporting all filesystems
Jan 10 02:00:10 akenaton rpc.statd[8033]: Caught signal 15, un-registering and exiting.
Jan 10 02:00:12 akenaton dhcpcd[7777]: eth2: received SIGTERM, stopping
Jan 10 02:00:12 akenaton dhcpcd[7777]: eth2: removing default route via 192.168.0.1 metric 0
Jan 10 02:00:12 akenaton dhcpcd[7777]: eth2: deleting IP address 192.168.0.2/24
Jan 10 02:00:12 akenaton dhcpcd[7777]: eth2: exiting
Jan 10 02:00:14 akenaton acpid: exiting
Jan 10 02:00:14 akenaton kernel: Kernel logging (proc) stopped.
Jan 10 02:00:14 akenaton kernel: Kernel log daemon terminating.
Jan 10 02:00:15 akenaton exiting on signal 15
Jan 10 03:00:56 akenaton syslogd 1.4.1: restart.
Jan 10 03:00:57 akenaton kernel: klogd 1.4.1, log source = /proc/kmsg started.
Jan 10 03:00:57 akenaton kernel: Cannot find map file.
Jan 10 03:00:57 akenaton kernel: Linux version 2.6.22-gentoo-r5 (root@akenaton) (gcc version 4.1.1 (Gentoo 4.1.1-r3)) #1 SMP Mon Jan 7 13:04:51 CET 2008
[...]
Jan 10 03:00:59 akenaton kernel: eth2: link down
Jan 10 03:00:59 akenaton dhcpcd[7776]: eth2: dhcpcd 3.0.16 starting
Jan 10 03:00:59 akenaton dhcpcd[7776]: eth2: hardware address = 00:18:e7:08:94:55
Jan 10 03:01:00 akenaton dhcpcd[7776]: eth2: broadcasting for a lease
Jan 10 03:01:20 akenaton dhcpcd[7776]: eth2: timed out
Jan 10 03:01:20 akenaton dhcpcd[7776]: eth2: exiting
Jan 10 03:01:20 akenaton rc-scripts: ERROR: cannot start netmount as net.eth2 could not start
Jan 10 03:01:20 akenaton rc-scripts: ERROR: cannot start ntp-client as net.eth2 could not start
Jan 10 03:01:22 akenaton kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Jan 10 03:01:22 akenaton rpc.statd[8031]: Version 1.0.11 Starting
Jan 10 03:01:23 akenaton rc-scripts: ERROR: cannot start samba as net.eth2 could not start
Jan 10 03:01:23 akenaton rc-scripts: ERROR: cannot start sshd as net.eth2 could not start
PS: il ne faut pas se fier à l'heure tant que ntpd n'est pas lancé:
akenaton ~ # less /var/log/syslog.1.gz | grep ntpdate
Jan 12 18:39:21 akenaton ntpdate[4102]: step time server 91.121.13.63 offset -3586.299428 sec
Jan 13 03:01:27 akenaton ntpdate[4860]: step time server 91.121.13.63 offset -3586.769201 sec
Poste le Sunday 13 January 2008 13:09:37