PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : named deamon startet nicht



menne
30.07.08, 21:13
Hi ich habe einen neuen centos server aufgesetzt.

Nun möchte ich auf ihm den namd starten

ich hatt einen alten und habe die named.conf rüberkopiert!
Leider klappt der start nicht!
Hat einer von euch eine idee?

Hier die FM wenn ich ihn versuche zu starten:

[root@fw ~]# /etc/init.d/named start
Starting named:
Error in named configuration:
zone localhost.localdomain/IN: loading master file named.localhost: file not found
_default/localhost.localdomain/IN: file not found
zone localhost/IN: loading master file named.localhost: file not found
_default/localhost/IN: file not found
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.0.0.0.ip6.arpa/IN: loading master file named.loopback: file not found
_default/1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.0.0.0.ip6.arpa/IN: file not found
zone 1.0.0.127.in-addr.arpa/IN: loading master file named.loopback: file not found
_default/1.0.0.127.in-addr.arpa/IN: file not found
zone 0.in-addr.arpa/IN: loading master file named.empty: file not found
_default/0.in-addr.arpa/IN: file not found
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * [FAILED]

Danke schon jetzt für eure Hilfe
Menne

menne
30.07.08, 21:15
Achso hier kommt meine named.conf

//
// named.caching-nameserver.conf
//
// Provided by Red Hat caching-nameserver package to configure the
// ISC BIND named(8) DNS server as a caching only nameserver
// (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
// DO NOT EDIT THIS FILE - use system-config-bind or an editor
// to create named.conf - edits to this file will be lost on
// caching-nameserver package upgrade.
//

options {
listen-on port 53 { 127.0.0.1; 192.168.1.250; ipadresse_überschrieben; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { localhost; 192.168.1.0/24; ipadresse_überschrieben/20; };
recursion yes;
};

logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

zone "." IN {
type hint;
file "named.ca";
};

include "/etc/named.rfc1912.zones";

totycro
30.07.08, 21:55
Ich kenne mich mit named nicht aus, aber die ganzen "file not found"s sind eindeutig, das Program braucht noch andere Config-Dateien.
Wie hast du named installiert? Normalerweise werden die default Config-Dateien vom Paketmanagement automatisch installiert.

menne
31.07.08, 04:46
der ist ganz normal über die standart installation installiert!
ich kenne nur die die named.conf und die ist da!

403
31.07.08, 06:17
Hi,



ich hatt einen alten und habe die named.conf rüberkopiert!


Zum Design:
Also entweder uebernimmst du dann die alte Config komplett oder du faengst nochmal neu an,
d.h. Du musst dann aber auch die alte Datei in die neue Umgebung mergen.


Zur Konfiguration:
Was ist mit /etc/named.rfc1912.zones? Das ist doch bestimmt ein Verzeichnis. Und warum legst Du die Zonen nicht an? Hints hast Du doch bekommen:



See /usr/share/doc/bind*/sample/ for example named configuration files.


und



DO NOT EDIT THIS FILE - use system-config-bind or an editor to create named.conf - edits to this file will be lost on caching-nameserver package upgrade.


Gruss 403

MoodyMammoth
08.08.08, 14:38
Hi,

zu einer Konfiguration gehören auch die Zonefiles.
Kann es sein, dass sich gegenüber der alten Installation die Pfade geändert haben und der die Zonefiles jetz am falschen Ort sucht?

Gruß
Moody