Current time: 09-29-2024, 01:23 PM Hello There, Guest! (LoginRegister)


Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Fehler] Bind error 1.0.3
Author Message
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #11
RE: Bind error 1.0.3
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";
};
(This post was last modified: 01-02-2010 01:30 AM by fulltilt.)
01-02-2010 01:26 AM
Find all posts by this user
Rene Offline
Member
*
Beta Team

Posts: 342
Joined: Sep 2007
Reputation: 4
Post: #12
RE: Bind error 1.0.3
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...
(This post was last modified: 01-02-2010 01:56 AM by Rene.)
01-02-2010 01:46 AM
Find all posts by this user
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #13
RE: Bind error 1.0.3
hm - frage mich wie das dahin gekommen ist ...
Ja - ist alles richtig so - Danke Dir :-)
(This post was last modified: 01-02-2010 01:52 AM by fulltilt.)
01-02-2010 01:51 AM
Find all posts by this user
Rene Offline
Member
*
Beta Team

Posts: 342
Joined: Sep 2007
Reputation: 4
Post: #14
RE: Bind error 1.0.3
Ja das frage ich mich auch... wie sieht denn das Template bei dir aus?
01-02-2010 01:55 AM
Find all posts by this user
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #15
RE: Bind error 1.0.3
(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
01-02-2010 01:57 AM
Find all posts by this user
Rene Offline
Member
*
Beta Team

Posts: 342
Joined: Sep 2007
Reputation: 4
Post: #16
RE: (erledigt) Bind error 1.0.3
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...
01-02-2010 08:23 PM
Find all posts by this user
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #17
RE: (erledigt) Bind error 1.0.3
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...
01-02-2010 08:31 PM
Find all posts by this user
Nuxwin
Unregistered

 
Post: #18
RE: (erledigt) Bind error 1.0.3
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 ;
01-02-2010 08:37 PM
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #19
RE: (erledigt) Bind error 1.0.3
hm - during my last update everything went well without double entries ...
01-02-2010 08:46 PM
Find all posts by this user
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #20
RE: (erledigt) Bind error 1.0.3
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).
(This post was last modified: 01-03-2010 02:46 AM by fulltilt.)
01-03-2010 02:46 AM
Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)