Package: bind9
Version: 1:9.8.4.dfsg.P1-6+nmu2+deb7u1
Severity: important

I just had BIND crash on one of my servers, below are the last log entries.
Where might I find that back-trace?

The server is a Dell PowerEdge with ECC RAM.

Aug 17 00:37:05 ns named[1397]: received control channel command 'reconfig'
Aug 17 00:37:05 ns named[1397]: loading configuration from 
'/etc/bind/named.conf'
Aug 17 00:37:05 ns named[1397]: reading built-in trusted keys from file 
'/etc/bind/bind.keys'
Aug 17 00:37:05 ns named[1397]: using default UDP/IPv4 port range: [1024, 65535]
Aug 17 00:37:05 ns named[1397]: using default UDP/IPv6 port range: [1024, 65535]
Aug 17 00:37:05 ns named[1397]: no longer listening on 110.174.82.20#53
Aug 17 00:37:05 ns named[1397]: sizing zone task pool based on 37 zones
Aug 17 00:37:05 ns named[1397]: Warning: 
'empty-zones-enable/disable-empty-zone' not set: disabling RFC 1918 empty zones
Aug 17 00:37:05 ns named[1397]: reloading configuration succeeded
Aug 17 00:37:05 ns named[1397]: any newly configured zones are now loaded
Aug 17 00:37:05 ns named[1397]: mem.c:1099: INSIST(ctx->stats[i].gets == 0U) 
failed, back trace

-- System Information:
Debian Release: 7.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bind9 depends on:
ii  adduser                3.113+nmu3
ii  bind9utils             1:9.8.4.dfsg.P1-6+nmu2+deb7u1
ii  debconf [debconf-2.0]  1.5.49
ii  libbind9-80            1:9.8.4.dfsg.P1-6+nmu2+deb7u1
ii  libc6                  2.19-7
ii  libcap2                1:2.22-1.2
ii  libdns88               1:9.8.4.dfsg.P1-6+nmu2+deb7u1
ii  libgssapi-krb5-2       1.10.1+dfsg-5+deb7u2
ii  libisc84               1:9.8.4.dfsg.P1-6+nmu2+deb7u1
ii  libisccc80             1:9.8.4.dfsg.P1-6+nmu2+deb7u1
ii  libisccfg82            1:9.8.4.dfsg.P1-6+nmu2+deb7u1
ii  liblwres80             1:9.8.4.dfsg.P1-6+nmu2+deb7u1
ii  libssl1.0.0            1.0.1e-2+deb7u12
ii  libxml2                2.8.0+dfsg1-7+wheezy1
ii  lsb-base               4.1+Debian8+deb7u1
ii  net-tools              1.60-24.2
ii  netbase                5.0

bind9 recommends no packages.

Versions of packages bind9 suggests:
pn  bind9-doc   <none>
ii  dnsutils    1:9.8.4.dfsg.P1-6+nmu2+deb7u1
pn  resolvconf  <none>
pn  ufw         <none>

-- Configuration Files:
/etc/bind/named.conf.local changed:
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "//etc/bind/zones.rfc1918";
key "ns" {
        algorithm hmac-md5;
        secret 
"/41+6B/6msiQpakbN0JQFslrtwSPrnInsPQo5lI3st6n3DgpJLSivUrvf0ILj+HtcBj8MQCpO66LHrwfV+x4Ag==";
};
key "gw" { algorithm hmac-md5; secret "RPtAvz53t44PONwlcxq0Bg=="; };
key "bigbottle" { algorithm hmac-md5; secret "I8o8BwPR0hOTsgsUWBuE+A=="; };
key "xkcd" { algorithm hmac-md5; secret "v9yQ/MeU2yY3VfVF/mEzRA=="; };
include "//etc/bind/slaves.conf";
zone "sws.net.au" {
        type master;
        file "/etc/bind/data/sws.net.au";
        allow-transfer { key ns; key xkcd; };
};
zone "virtual" {
        type master;
        allow-query { internal; };
        file "/etc/bind/data/virtual";
};
zone "lurking-grue.org" {
        type master;
        file "/etc/bind/data/lurking-grue.org";
        allow-transfer { key ns; };
};
zone "coker.com.au" {
        type master;
        file "/etc/bind/data/coker.com.au";
        allow-transfer { key ns; key xkcd; };
};
zone "dyn.coker.com.au" {
        type master;
        file "/var/cache/bind/dyn.coker.com.au";
        allow-update { key "gw"; };
        allow-transfer { key ns; };
};
zone "dyn.bigbottlepurchases.com.au" {
        type master;
        file "/var/cache/bind/dyn.bigbottlepurchases.com.au";
        allow-update { key "bigbottle"; };
        allow-transfer { key ns; };
};
zone "andrecoker.com" {
        type master;
        file "/etc/bind/data/andrecoker.com";
        allow-transfer { key ns; };
};
zone "daphnecoker.com" {
        type master;
        file "/etc/bind/data/daphnecoker.com";
        allow-transfer { key ns; };
};
zone "russellcoker.com" {
        type master;
        file "/etc/bind/data/russellcoker.com";
        allow-transfer { key ns; };
};
zone "fayecoker.com" {
        type master;
        file "/etc/bind/data/fayecoker.com";
        allow-transfer { key ns; };
};
zone "veganopoulous.com" {
        type master;
        file "/etc/bind/data/veganopoulous.com";
        allow-transfer { key ns; };
};
zone "unixapropos.com" {
        type master;
        file "/etc/bind/data/unixapropos.com";
        allow-transfer { key ns; };
};
zone "likeadumptruck.com" {
        type master;
        file "/etc/bind/data/likeadumptruck.com";
        allow-transfer { key ns; };
};
zone "aviation-center.com.au" {
        type master;
        file "/etc/bind/data/aviation-center.com.au";
};
zone "bigbottlewine.com" {
        type master;
        file "/etc/bind/data/bigbottlewine.com";
};
zone "bigbottlepurchases.com.au" {
        type master;
        file "/etc/bind/data/bigbottlepurchases.com.au";
};
zone "46.36.203.in-addr.arpa" {
        type master;
        file "/etc/bind/data/203.36.46";
};
zone "sjl.com.au" {
        type master;
        file "/etc/bind/data/sjl.com.au";
};
zone "lukus.com.au" {
        type master;
        file "/etc/bind/data/lukus.com.au";
};
zone "msalandurb.com.au" {
        type master;
        file "/etc/bind/data/msalandurb.com.au";
};
zone "mcmahonfearnley.com.au" {
        type master;
        file "/etc/bind/data/mcmahonfearnley.com.au";
};
zone "fitzpatricklegal.com.au" {
        type master;
        file "/etc/bind/data/fitzpatricklegal.com.au";
};
zone "scanhi.com.au" {
        type master;
        file "/etc/bind/data/scanhi.com.au";
};
zone "scan-hi.com.au" {
        type master;
        file "/etc/bind/data/scan-hi.com.au";
};
zone "powerguardcontrollers.com.au" {
        type master;
        file "/etc/bind/data/powerguardcontrollers.com.au";
};
zone "powerguardcontrols.com" {
        type master;
        file "/etc/bind/data/powerguardcontrols.com";
};
zone "standbygenerator.com.au" {
        type master;
        file "/etc/bind/data/standbygenerator.com.au";
};
zone "abbotsfordhonda.com.au" {
        type master;
        file "/etc/bind/data/abbotsfordhonda.com.au";
};
zone "nationalbuyingpower.com.au" {
        type master;
        file "/etc/bind/data/nationalbuyingpower.com.au";
};
zone "caravansupercentre.com.au" {
        type master;
        file "/etc/bind/data/caravansupercentre.com.au";
        allow-transfer { key ns; };
};

/etc/init.d/bind9 changed:
PATH=/sbin:/bin:/usr/sbin:/usr/bin
OPTIONS=""
RESOLVCONF=no
test -f /etc/default/bind9 && . /etc/default/bind9
test -x /usr/sbin/rndc || exit 0
.. /lib/lsb/init-functions
PIDFILE=/var/run/named/named.pid
check_network() {
    if [ -x /usr/bin/uname ] && [ "X$(/usr/bin/uname -o)" = XSolaris ]; then
        IFCONFIG_OPTS="-au"
    else
        IFCONFIG_OPTS=""
    fi
    if [ -z "$(/sbin/ifconfig $IFCONFIG_OPTS)" ]; then
       #log_action_msg "No networks configured."
       return 1
    fi
    return 0
}
case "$1" in
    start)
        log_daemon_msg "Starting domain name service..." "bind9"
        modprobe capability >/dev/null 2>&1 || true
        # dirs under /var/run can go away on reboots.
        mkdir -p /var/run/named
        chmod 775 /var/run/named
        /sbin/restorecon /var/run/named
        chown root:bind /var/run/named >/dev/null 2>&1 || true
        if [ ! -x /usr/sbin/named ]; then
            log_action_msg "named binary missing - not starting"
            log_end_msg 1
        fi
        if ! check_network; then
            log_action_msg "no networks configured"
            log_end_msg 1
        fi
        if start-stop-daemon --start --oknodo --quiet --exec /usr/sbin/named \
                --pidfile ${PIDFILE} -- $OPTIONS; then
            if [ "X$RESOLVCONF" != "Xno" ] && [ -x /sbin/resolvconf ] ; then
                echo "nameserver 127.0.0.1" | /sbin/resolvconf -a lo.named
            fi
            log_end_msg 0
        else
            log_end_msg 1
        fi
    ;;
    stop)
        log_daemon_msg "Stopping domain name service..." "bind9"
        if ! check_network; then
            log_action_msg "no networks configured"
            log_end_msg 1
        fi
        if [ "X$RESOLVCONF" != "Xno" ] && [ -x /sbin/resolvconf ] ; then
            /sbin/resolvconf -d lo.named
        fi
        pid=$(/usr/sbin/rndc stop -p | awk '/^pid:/ {print $2}') || true
        if [ -z "$pid" ]; then          # no pid found, so either not running, 
or error
            pid=$(pgrep -f ^/usr/sbin/named) || true
            start-stop-daemon --stop --oknodo --quiet --exec /usr/sbin/named \
                    --pidfile ${PIDFILE} -- $OPTIONS
        fi
        if [ -n $pid ]; then
            sig=0
            n=1
            while kill -$sig $pid 2>/dev/null; do
                if [ $n -eq 1 ]; then
                    echo "waiting for pid $pid to die"
                fi
                if [ $n -eq 11 ]; then
                    echo "giving up on pid $pid with kill -0; trying -9"
                    sig=9
                fi
                if [ $n -gt 20 ]; then
                    echo "giving up on pid $pid"
                    break
                fi
                n=$(($n+1))
                sleep 1
            done
        fi
        log_end_msg 0
    ;;
    reload|force-reload)
        log_daemon_msg "Reloading domain name service..." "bind9"
        if ! check_network; then
            log_action_msg "no networks configured"
            log_end_msg 1
        fi
        /usr/sbin/rndc reload >/dev/null && log_end_msg 0 || log_end_msg 1
    ;;
    restart)
        if ! check_network; then
            log_action_msg "no networks configured"
            exit 1
        fi
        $0 stop
        $0 start
    ;;
    
    status)
        ret=0
        status_of_proc -p ${PIDFILE} /usr/sbin/named bind9 2>/dev/null || ret=$?
        exit $ret
        ;;
    *)
        log_action_msg "Usage: /etc/init.d/bind9 
{start|stop|reload|restart|force-reload|status}"
        exit 1
    ;;
esac
exit 0


-- debconf information:
  bind9/different-configuration-file:
  bind9/run-resolvconf: false
  bind9/start-as-user: bind


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to