bind crash
Tóth Csaba
tsabi at tsabi.hu
Tue Aug 10 08:09:58 UTC 2010
Hi list,
my bind crash after some hour, i found just this in my general.log:
09-Aug-2010 18:22:45.074 running
09-Aug-2010 20:32:16.891 name.c:2091: REQUIRE(suffixlabels > 0) failed,
back trace
09-Aug-2010 20:32:16.891 #0 0x424bff in ??
09-Aug-2010 20:32:16.891 #1 0x7f2eba6c0a0a in ??
09-Aug-2010 20:32:16.891 #2 0x7f2ebb34c58d in ??
09-Aug-2010 20:32:16.891 #3 0x42ac48 in ??
09-Aug-2010 20:32:16.891 #4 0x42d872 in ??
09-Aug-2010 20:32:16.891 #5 0x42f865 in ??
09-Aug-2010 20:32:16.891 #6 0x41bbb7 in ??
09-Aug-2010 20:32:16.891 #7 0x7f2eba6de508 in ??
09-Aug-2010 20:32:16.891 #8 0x7f2eba071a1a in ??
09-Aug-2010 20:32:16.891 #9 0x7f2eb91b984d in ??
09-Aug-2010 20:32:16.891 exiting (due to assertion failure)
my bind config:
######################################################################
options {
directory "/var/bind";
listen-on-v6 { none; };
listen-on { any; };
pid-file "/var/run/named/named.pid";
};
logging {
channel default_file {
file "/var/log/named/default.log" versions 3 size 5m;
severity dynamic;
print-time yes;
};
channel general_file {
file "/var/log/named/general.log" versions 3 size 5m;
severity dynamic;
print-time yes;
};
channel database_file {
file "/var/log/named/database.log" versions 3 size 5m;
severity dynamic;
print-time yes;
};
channel security_file {
file "/var/log/named/security.log" versions 3 size 5m;
severity dynamic;
print-time yes;
};
channel config_file {
file "/var/log/named/config.log" versions 3 size 5m;
severity dynamic;
print-time yes;
};
channel resolver_file {
file "/var/log/named/resolver.log" versions 3 size 5m;
severity dynamic;
print-time yes;
};
channel xfer-in_file {
file "/var/log/named/xfer-in.log" versions 3 size 5m;
severity dynamic;
print-time yes;
};
channel xfer-out_file {
file "/var/log/named/xfer-out.log" versions 3 size 5m;
severity dynamic;
print-time yes;
};
channel notify_file {
file "/var/log/named/notify.log" versions 3 size 5m;
severity dynamic;
print-time yes;
};
channel client_file {
file "/var/log/named/client.log" versions 3 size 5m;
severity dynamic;
print-time yes;
};
channel unmatched_file {
file "/var/log/named/unmatched.log" versions 3 size 5m;
severity dynamic;
print-time yes;
};
channel queries_file {
file "/var/log/named/queries.log" versions 3 size 5m;
severity dynamic;
print-time yes;
};
channel network_file {
file "/var/log/named/network.log" versions 3 size 5m;
severity dynamic;
print-time yes;
};
channel update_file {
file "/var/log/named/update.log" versions 3 size 5m;
severity dynamic;
print-time yes;
};
channel dispatch_file {
file "/var/log/named/dispatch.log" versions 3 size 5m;
severity dynamic;
print-time yes;
};
channel dnssec_file {
file "/var/log/named/dnssec.log" versions 3 size 5m;
severity dynamic;
print-time yes;
};
channel lame-servers_file {
file "/var/log/named/lame-servers.log" versions 3 size 5m;
severity dynamic;
print-time yes;
};
category lame-servers {
lame-servers_file;
};
category dnssec {
dnssec_file;
};
category dispatch {
dispatch_file;
};
category update {
update_file;
};
category network {
network_file;
};
category queries {
queries_file;
};
category unmatched {
unmatched_file;
};
category client {
client_file;
};
category notify {
notify_file;
};
category xfer-out {
xfer-out_file;
};
category xfer-in {
xfer-in_file;
};
category resolver {
resolver_file;
};
category config {
config_file;
};
category security {
security_file;
};
category database {
database_file;
};
category general {
general_file;
};
category default {
default_file;
};
};
zone "COM" { type delegation-only; };
zone "NET" { type delegation-only; };
zone "ORG" { type delegation-only; };
include "/etc/bind/slaves.conf";
zone "." IN {
type hint;
file "named.cache";
};
zone "localhost" IN {
type master;
file "pri/localhost.zone";
allow-update { none; };
notify no;
};
zone "127.in-addr.arpa" IN {
type master;
file "pri/127.zone";
allow-update { none; };
notify no;
};
dlz "postgres zone" {
database "postgres 2
{host=localhost port=5432 dbname=db_dnsdata user=dnsdata}
{select zone from dns_records where zone = '$zone$' limit 1}
{select ttl, type, mx_priority, case when lower(type)='txt' then '\"'
|| data
|| '\"' else data end from dns_records where zone = '$zone$' and
host = '$record$'
and not (lower(type)='soa' or lower(type)='ns')}
{select ttl, type, mx_priority, data, resp_person, serial, refresh,
retry, expire,
minimum from dns_records where zone = '$zone$' and
(lower(type)='soa' or lower(type)='ns')}
{select ttl, type, host, mx_priority, data, resp_person, serial,
refresh, retry, expire,
minimum from dns_records where zone = '$zone$'}
{select zone from xfr_table where zone = '$zone$' and client =
'$client$'}";
};
include "/etc/bind/zone-sec.conf";
######################################################################
what can be the problem? i have other host, and there is no regular
crash like here. Please help.
thanks in advance,
Csaba
More information about the bind-users
mailing list