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

bind9 qui s'arrête pas



Bonjour,

Je me suis fait avoir cette nuit par bind9 qui est resté en plan lors de l'arrêt.
C'est cron-apt que j'avais configuré pour faire les màj de sécu tout seul qui a lancé
un invoke-rc.d bind9 restart qui n'a jamais rendu la main.

Je me disais qu'il valait mieux prendre le risque d'un service planté que celui d'un 
serveur piraté, mais quand ce service est le dns ça coupe tous les autres :-/

C'est pas la première fois que bind refuse de s'arrêter, le service se coupe mais ensuite il
boucle sur "bind9 waiting for pid xxx to die waiting for pid xxx to die waiting for ...", mais 
d'habitude c'est quand je veux éteindre mon desktop (j'ai mis un bind recursif local).

Y'a une explication et qqchose pour s'en prémunir ?

J'avais
root      7410  0.0  0.0   3960   324 ?        S    03:06   0:00              \_ /bin/sh /usr/sbin/cron-apt /etc/cron-apt/myconfig
root      7412  0.0  0.2  71736  9104 ?        Sl   03:06   0:00                  \_ /usr/bin/aptitude -o quiet=1 safe-upgrade -R -y -o quiet=1 -o APT::Get::Show-Upgraded=true -o Dir:
root      7751  0.0  2.2  78084 69776 ?        S    03:06   0:00                      \_ /usr/bin/dpkg --force-confold --status-fd 12 --configure libisc62 libdns69 libisccc60 libisccf
root      7764  0.0  0.3  50856  9784 ?        S    03:06   0:00                          \_ /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/bind9.postinst configure 1
root      7767  0.0  0.0   3960   656 ?        S    03:06   0:00                              \_ /bin/sh /var/lib/dpkg/info/bind9.postinst configure 1:9.7.3.dfsg-1~squeeze5
root      7783  0.0  0.0   3960   628 ?        S    03:06   0:00                                  \_ /bin/sh /usr/sbin/invoke-rc.d bind9 restart 
root      7787  0.0  0.0   3960   652 ?        S    03:06   0:00                                      \_ /bin/sh -e /etc/init.d/bind9 restart
root      7789  0.0  0.0   3960   656 ?        S    03:06   0:03                                          \_ /bin/sh -e /etc/init.d/bind9 stop
root     26496  0.0  0.0   3876   520 ?        S    10:26   0:00                                              \_ sleep 1

avec dans le log un

Jul 31 03:08:17 sql2 named[26481]: received control channel command 'stop -p'
Jul 31 03:08:17 sql2 named[26481]: shutting down: flushing changes
Jul 31 03:08:17 sql2 named[26481]: stopping command channel on 127.0.0.1#953
Jul 31 03:08:17 sql2 named[26481]: no longer listening on 188.165.48.240#53

mais avec un process qui tournait toujours (le xxx du "waiting for pid xxx to die"), et il 
a fallu un kill -9 pour le virer.

-- 
Daniel

On ne va tout de même pas se laisser abattre.
John F. Kennedy.


Reply to: