ispCP - Board - Support
[Fehler] Bind error 1.0.3 - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega International Area (/forum-22.html)
+--- Forum: German Corner (/forum-26.html)
+---- Forum: Archiv (/forum-54.html)
+---- Thread: [Fehler] Bind error 1.0.3 (/thread-9040.html)

Pages: 1 2 3


RE: Bind error 1.0.3 - fulltilt - 01-02-2010 01:26 AM

hier scheint was nicht zu stimmen ...
Code:
Jan  1 17:13:59 webserver1 named[12075]: loading configuration from '/etc/bind/named.conf'
Jan  1 17:13:59 webserver1 named[12075]: /etc/bind/named.conf:53: zone '.': already exists previous definition: /etc/bind/named.conf:12
Jan  1 17:13:59 webserver1 named[12075]: /etc/bind/named.conf:61: zone 'localhost': already exists previous definition: /etc/bind/named.conf:20
Jan  1 17:13:59 webserver1 named[12075]: /etc/bind/named.conf:66: zone '127.in-addr.arpa': already exists previous definition: /etc/bind/named.conf:25
Jan  1 17:13:59 webserver1 named[12075]: /etc/bind/named.conf:71: zone '0.in-addr.arpa': already exists previous definition: /etc/bind/named.conf:30
Jan  1 17:13:59 webserver1 named[12075]: /etc/bind/named.conf:76: zone '255.in-addr.arpa': already exists previous definition: /etc/bind/named.conf:35
Jan  1 17:13:59 webserver1 named[12075]: loading configuration: failure
Jan  1 17:13:59 webserver1 named[12075]: exiting (due to fatal error)

hm - der ganze obere Teil war doppelt drin - habs gelöscht - jetzt klappt es ...
Ist das ein Fehler im Template?

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

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

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";
};



RE: Bind error 1.0.3 - Rene - 01-02-2010 01:46 AM

Stimmt hast recht, das ist mir gar nicht so aufgefallen... sorry...

Code:
// This is the primary configuration file for the BIND DNS server named.
...

Alles was darüber steht, gehört eigentlich nicht da rein... Damit sollte die named.conf eigentlich anfangen...

Edit:
ich hoffe du hast jetzt auch noch die beiden includes noch drin wenn du den oberen Teil gelöscht hast?

Code:
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

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";
};

include "/etc/bind/named.conf.local";

// bind Data BEGIN.

// dmn [admin.webserver1.tld] cfg entry BEGIN.
zone "admin.webserver1.tld" {
type master;
file "/var/cache/bind/admin.webserver1.tld.db";
notify YES;
};
// dmn [admin.webserver1.tld] cfg entry END.

so müsste deine named.conf jetzt sein...


RE: Bind error 1.0.3 - fulltilt - 01-02-2010 01:51 AM

hm - frage mich wie das dahin gekommen ist ...
Ja - ist alles richtig so - Danke Dir :-)


RE: Bind error 1.0.3 - Rene - 01-02-2010 01:55 AM

Ja das frage ich mich auch... wie sieht denn das Template bei dir aus?


RE: Bind error 1.0.3 - fulltilt - 01-02-2010 01:57 AM

(01-02-2010 01:55 AM)Rene Wrote:  Ja das frage ich mich auch... wie sieht denn das Template bei dir aus?

da ist es nur einmal drin ... seltsam


RE: (erledigt) Bind error 1.0.3 - Rene - 01-02-2010 08:23 PM

fulltilt, hattest du den Fehler nochmal als du das Update auf deinem Produktivsystem durchgeführt hast?

http://www.isp-control.net/forum/thread-9046.html

Du scheinst wohl nicht der einzige zu sein, bei dem der Fehler aufgetreten ist...


RE: (erledigt) Bind error 1.0.3 - fulltilt - 01-02-2010 08:31 PM

Hallo Rene,
auf dem Produktivsystem trat der Fehler nicht auf - hier ist auch kein Eintrag doppelt.
Wie gesagt hatte ich auf der VM den Hostname geändert und dabei war das Zonefile vom Dateinamen nicht angepasst, habe das dann geändert und dann konnte ich das update erst starten.
Vorher bekam ich einen bind error beim setup, nehme an das hierbei dann auch die Einträge in der named doppelt hinzugefügt wurden.
Aber bei Ihm scheint da auch etwas doppelt zu sein in der named.conf ...

Gruss

(01-02-2010 08:23 PM)Rene Wrote:  fulltilt, hattest du den Fehler nochmal als du das Update auf deinem Produktivsystem durchgeführt hast?

http://www.isp-control.net/forum/thread-9046.html

Du scheinst wohl nicht der einzige zu sein, bei dem der Fehler aufgetreten ist...



RE: (erledigt) Bind error 1.0.3 - Nuxwin - 01-02-2010 08:37 PM

Hello everyone ;

There is a big bug in 1.0.3 (1.0.3-1 included). In some circumstances, the header of file named.conf and / or the ispcp entries added in named.conf are added twice.

I fixed in my working copy and I'll provide a patch for that. I test the patch now.

Cheers ;


RE: (erledigt) Bind error 1.0.3 - fulltilt - 01-02-2010 08:46 PM

hm - during my last update everything went well without double entries ...


RE: (erledigt) Bind error 1.0.3 - fulltilt - 01-03-2010 02:46 AM

hatte vorhin noch ein Update auf einem Etch System durchgeführt, hierbei hatte ich einen doppelten Eintrag (named.conf) vom Master - CP.
Was mir beim Etch Update noch auffiel war das die confs in /var/www/fcgi
nicht geändert wurden, bzw. neu erstellt (die alten sind noch vorhanden).