bind9 startet nicht mehr, dig funktioniert nicht

Bind, PowerDNS
Post Reply
sfeni
Posts: 341
Joined: 2002-08-15 11:35
Location: Schwabenland
 

bind9 startet nicht mehr, dig funktioniert nicht

Post by sfeni »

hi,

hat jemand hier eine idee?
/etc/init.d/bind9 start
tail -f /var/log/syslog

Code: Select all

Apr  4 01:50:46 server1 named[4360]: starting BIND 9.2.4 -u bind
Apr  4 01:50:46 server1 named[4360]: using 1 CPU
mehr kommt nicht
strace -o bind.log -f named: http://nopaste.biz/?1367


dig
strace -o dig.log -f named: http://nopaste.biz/?1368


Würde mich über Ideen und Anregungen freuen. Danke!

sfeni
sfeni
Posts: 341
Joined: 2002-08-15 11:35
Location: Schwabenland
 

Re: bind9 startet nicht mehr, dig funktioniert nicht

Post by sfeni »

named-checkconf tut auch nicht mehr

strace von named-checkconf: http://nopaste.biz/?1369
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: bind9 startet nicht mehr, dig funktioniert nicht

Post by Joe User »

Was passiert nach einer Reinstallation von Bind? Netzwerkkonfiguration fehlerfrei? Configs?
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
sfeni
Posts: 341
Joined: 2002-08-15 11:35
Location: Schwabenland
 

Re: bind9 startet nicht mehr, dig funktioniert nicht

Post by sfeni »

Joe User wrote:Was passiert nach einer Reinstallation von Bind?
Genau dasselbe.
Joe User wrote:Netzwerkkonfiguration fehlerfrei?
Ja.
Joe User wrote:Configs?
hier:

Code: Select all

options {
        directory "/var/cache/bind";
        pid-file "/var/run/bind/run/named.pid";
        notify no;
        listen-on port 53 { 127.0.0.1; 123.123.123.123; };
        listen-on-v6 { none; };
        allow-query { any; };
        allow-recursion { 127.0.0.1; 123.123.123.123; };
        forwarders { 217.237.150.141; 217.237.150.97; };
        forward first;
        auth-nxdomain no;    # conform to RFC1035
};

controls {
        inet 127.0.0.1 port 953 allow { 127.0.0.1; } keys { "rndc-key"; };
};

zone "." {
        type hint;
        file "/etc/bind/db.root";
};

zone "localhost" {
        type master;
        file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
        type master;
        file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
        type master;
        file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
        type master;
        file "/etc/bind/db.255";
};

// Domains
zone "domain.de" {
        type master;
        file "/etc/bind/zones/domain.de.hosts";
        allow-query { any; };
};
Und eben für jede Domain eine weitere Zone.
Hat ja bisher immer alles wunderbar funktioniert, verändert wurde rein gar nichts. Null komma null, daher verstehe ich es nicht. Und auf dem NS2 läuft alles wunderbar. Nur auf dem NS1 nicht mehr. Habe vorübergehend den "dnsmasq" installiert, dass ich wenigstens weiterhin Domains registrieren kann und dns erreichbar ist auf der Kiste.
sfeni
Posts: 341
Joined: 2002-08-15 11:35
Location: Schwabenland
 

Re: bind9 startet nicht mehr, dig funktioniert nicht

Post by sfeni »

Zum reinstall wurde verwendet:

Code: Select all

apt-get update
apt-get dist-upgrade
apt-get clean
apt-get -duy --reinstall install bind9
apt-get -uy --reinstall install bind9
So stehts in den Tipps von debianforum.de
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: bind9 startet nicht mehr, dig funktioniert nicht

Post by Joe User »

Ohne selbst nachzulesen: IIRC ist // kein gültiges Kommentarzeichen.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
chris76
Posts: 1878
Joined: 2003-06-27 14:37
Location: Germering
 

Re: bind9 startet nicht mehr, dig funktioniert nicht

Post by chris76 »

Joe User wrote:Ohne selbst nachzulesen: IIRC ist // kein gültiges Kommentarzeichen.
Doch mit dem // geht es.
Gruß Christian

BofH excuses: YOU HAVE AN I/O ERROR -> Incompetent Operator error
sfeni
Posts: 341
Joined: 2002-08-15 11:35
Location: Schwabenland
 

Re: bind9 startet nicht mehr, dig funktioniert nicht

Post by sfeni »

Tut trotzdem nicht.
geo
Posts: 42
Joined: 2005-02-24 11:44
Location: Hannover
 

Re: bind9 startet nicht mehr, dig funktioniert nicht

Post by geo »

Hast du schonmal das logging eingeschaltet?

Code: Select all

logging {
    category "default" { "debug"; };
    category "general" { "debug"; };
    category "database" { "debug"; };
    category "security" { "debug"; };
    category "config" { "debug"; };
    category "resolver" { "debug"; };
    category "xfer-in" { "debug"; };
    category "xfer-out" { "debug"; };
    category "notify" { "debug"; };
    category "client" { "debug"; };
    category "unmatched" { "debug"; };
    category "network" { "debug"; };
    category "update" { "debug"; };
    category "queries" { "debug"; };
    category "dispatch" { "debug"; };
    category "dnssec" { "debug"; };
    category "lame-servers" { "debug"; };
    channel "debug" {
    file "/var/log/bind.log" versions 2 size 50m;
        print-time yes;
        print-category yes;
    };
};
thorsten
Posts: 561
Joined: 2003-02-01 13:14
Location: Fuldatal
 

Re: bind9 startet nicht mehr, dig funktioniert nicht

Post by thorsten »

Hast du evtl. nur einen vserver?
Dann mußt du den bind selbst neu compilieren:

Code: Select all

cd /usr/local/src
apt-get build-dep bind9
apt-get source bind9
cd bind9-9.2.4/debian
vi rules
Dort hängst du das --disable-linux-caps unter 'configure-stamp:' mit ein - denk an den abschließennden '
' in der vorletzten configure-Zeile. Du solltest dir auch überlegen, ob du ipv6 benötigst, oder es 'disablest'.
Danach baust du das Packet ein Verzeichnis höher mittels dpkg-buildpackage -us -uc -rfakeroot

Im übergeordneten Verzeichnis liegt dann dein deb-File, welches du dir mittels dpkg -i bind9*.deb installierst.

Ich würde das Packet dann auf 'hold' setzen und sobald ein Sicherheitsupdate draußen ist die Prozedur wiederholen.
Das setzt natürlich voraus, dass du die Sicherheitsmeldungen erhälst, die der Martin Schulze für das debian Projekt verschickt
(ich nutze sarge auf einem vserver - aber unter woody sollte das Vorgehen identisch sein)
sfeni
Posts: 341
Joined: 2002-08-15 11:35
Location: Schwabenland
 

Re: bind9 startet nicht mehr, dig funktioniert nicht

Post by sfeni »

geo wrote:Hast du schonmal das logging eingeschaltet?

Code: Select all

logging {
    category "default" { "debug"; };
    category "general" { "debug"; };
    category "database" { "debug"; };
    category "security" { "debug"; };
    category "config" { "debug"; };
    category "resolver" { "debug"; };
    category "xfer-in" { "debug"; };
    category "xfer-out" { "debug"; };
    category "notify" { "debug"; };
    category "client" { "debug"; };
    category "unmatched" { "debug"; };
    category "network" { "debug"; };
    category "update" { "debug"; };
    category "queries" { "debug"; };
    category "dispatch" { "debug"; };
    category "dnssec" { "debug"; };
    category "lame-servers" { "debug"; };
    channel "debug" {
    file "/var/log/bind.log" versions 2 size 50m;
        print-time yes;
        print-category yes;
    };
};
es wird keine logfile damit erstellt.
sfeni
Posts: 341
Joined: 2002-08-15 11:35
Location: Schwabenland
 

Re: bind9 startet nicht mehr, dig funktioniert nicht

Post by sfeni »

Thorsten wrote:Hast du evtl. nur einen vserver?
Dann mußt du den bind selbst neu compilieren:
wäre ich sonst im rootforum? :)
klar ist es ein rootserver, KEIN vserver!
wgot
Posts: 1675
Joined: 2003-07-06 02:03
 

Re: bind9 startet nicht mehr, dig funktioniert nicht

Post by wgot »

Hallo,
Sfeni wrote:wäre ich sonst im rootforum? :)
klar ist es ein rootserver, KEIN vserver!
Vserver sind virtuelle Rootserver, in der Administration und bei den Problemen zu 99% mit dedicated Rootservern identisch. Ausnahmen sind (jedenfalls beim verbreitetsten Vserver-System) das wegfallende Kernelupdate, die (bei den meisten Anbietern) Nichtinstallierbarkeit von iptables u.ä. sowie das angesprochene Bind-Problem.

PS: wenn man's genau nimmt hast Du keinen Rootserver. :oops:

Gruß, Wolfgang
sfeni
Posts: 341
Joined: 2002-08-15 11:35
Location: Schwabenland
 

Re: bind9 startet nicht mehr, dig funktioniert nicht

Post by sfeni »

wgot wrote:Hallo,
Sfeni wrote:wäre ich sonst im rootforum? :)
klar ist es ein rootserver, KEIN vserver!
Vserver sind virtuelle Rootserver, in der Administration und bei den Problemen zu 99% mit dedicated Rootservern identisch. Ausnahmen sind (jedenfalls beim verbreitetsten Vserver-System) das wegfallende Kernelupdate, die (bei den meisten Anbietern) Nichtinstallierbarkeit von iptables u.ä. sowie das angesprochene Bind-Problem.

PS: wenn man's genau nimmt hast Du keinen Rootserver. :oops:

Gruß, Wolfgang
Ausdrucken wollte ich damit eher, dass ich mir nie einen vserver, genau aus deinen oben beschriebenen Problemen, zulegen würde, denn eigene Kernel und iptables gehören (bei mir zumindest) mittlerweile zum "Standard" :)
Post Reply