problem with bind stop
Joan Marc Riera
marc.riera at barcelonamedia.org
Wed Jul 1 14:41:43 UTC 2009
Hello,
we have some troubles with restart and stop.
bind does not stop and I think it's because of a wrong kill argument on
the stop) case.
I think that the kill -0 $PID should be something else, is it possible?
Many thanks
Marc
From /etc/init.d/bind9:
stop)
#here i erase some validations
pid=$(/usr/sbin/rndc stop -p | awk '/^pid:/ {print $2}')
if [ -n "$pid" ]; then
while kill *-0* $pid 2>/dev/null; do
log_progress_msg "waiting for pid $pid to die"
sleep 1
done
fi
log_end_msg $?
;;
Our version:
ii bind9 1:9.5.1.dfsg.P1-1 Internet
Domain Name Server
ii bind9-doc 1:9.5.1.dfsg.P1-1
Documentation for BIND
ii bind9-host 1:9.5.1.dfsg.P1-1 Version of
'host' bundled with BIND 9.X
ii bind9utils 1:9.5.1.dfsg.P1-1 Utilities
for BIND
ii libbind9-40 1:9.5.1.dfsg.P1-1 BIND9
Shared Library used by BIND
--
Atentament,
Joan Marc Riera Duocastella
Informàtica i sistemes
Informatica at barcelonamedia.org
Telefon : 932381400
Fundació Barcelona Media -UPF
More information about the bind-users
mailing list