• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

DNS Startet nicht; rcnamed start -> Operation not permitt

Hallo,
ich kann meinen DNS-Server nicht starten.

Der DNS soll als „Caching-only“ Nameserver für das Netz 192.168.0.1 Mask 255.255.255.0 laufen.
Ich verwende SuSE 9.1 mit aktuellem Online update. Bind 9

--

Mit Yast2 kommt die Fehlermeldung „ Einstellungen können nicht gespeichert werden.“ vom DNS-Server.

---

Mit rcnamed bekomme ich die Fehlermeldung „Operation not permitted“.

amd450:~ # rcnamed start
Starting name server BIND 9 named: capset failed: Operation not permitted
done
amd450:~ #

----------

Beim Booten kommt die Fehlermeldung
Failed services in Runnlevel 5 -> named

----------

Ich habe das DNS Paket schon de- und installiert, aber keine Besserung.

-------

Meine /etc/named.conf

options {

directory "/var/lib/named";

dump-file "/var/log/named_dump.db";
statistics-file "/var/log/named.stats";

#forwarders { 192.0.2.1; 192.0.2.2; };

#forward first;

#listen-on port 53 { 127.0.0.1; };

listen-on-v6 { any; };

#query-source address * port 53;
#transfer-source * port 53;
#notify-source * port 53;

#allow-query { 127.0.0.1; };

notify no;

};

zone "." in {
type hint;
file "root.hint";
};

zone "localhost" in {
type master;
file "localhost.zone";
};

zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};


-----------


Was kann ich machen ?
Was mache ich falsch ?

MFG Peter
 
Hey

Probier mal ob der bind8 geht.
Nicht das dein Kernel fürn bind9 nicht vorbereitet ist. Ich glaube ich habe da mal sowas in die Richtung gelesen.

By huflatisch
 
Hast du den Antivir-Dämon installiert? Nimm den mal raus und probiers mal (einfach stoppen bzw. im Runleveleditor nicht starten lassen). Ich hatte da den Ärger.

Grüße
 
Hallo Carsten,
ja ich hatte den Antivir drauf. Als der weg war gings sofort.

--- Danke ---- :lol:

-----

Der Antivir - avupdater und avweggate war nach der yast deinstallation noch da. Habe die Links händisch aus allen Runleveln rausgelöscht und /usr/lib/AntiVir gelöscht. Dann ging der DNS auch gleich.

MFg Peter
 
Öhmmmmm
Ich bekomm den fehler auch ABER ohne Ativieren Programme
....

Werde mal weiter suchen wäre aber auf ne antwort dankbar.

Noch zur Info an den configs kann es nicht liegen !!

Habe es erst heute bemerkt nach ein paar Updates.
denn vorher lief Bind hier erfolgreich.
 
Moin Leute

Also das Yast Problem habe ich gelöst dachte ich , aber Arschkarte :twisted:

Yast ---->>> DNS-Server Fehlermeldung : Kann die Konfiguration nicht Speichern !

Ich habe Bind upgegraded habe auf Bind 9.2.3 ( Mit allen dazu gehöhrigen Packeten )

So bleibt das start problem :

xxxx:/home/pitbull # rcnamed start
Starting name server BIND 9 named: capset failed: Operation not permitted
startproc: exit status of parent of /usr/sbin/named: 1
failed

Das passiert auch mit einer Standart SuSE Conf.

Soo ich bin zwar was Linux angeht länger dabei hatte aber eine 2 Jährige zwangspause so das ich nun wirklich net weiss wie Ich jetzt Bind 8 Starte

Oder wie kann ich den Kernel Klar machen das da Bind 9 läuft ??

Komisch ist das ganze das 9.1 diese Zicken net hatte ( Am Virenscanner liegt es net )

Soo ich poste mal die Conf :

# A description of all available options can be found in
# /usr/share/doc/packages/bind/misc/options.

options {

# The directory statement defines the name server's working directory

directory "/var/lib/named";

# Write dump and statistics file to the log subdirectory. The
# pathenames are relative to the chroot jail.

dump-file "/var/log/named_dump.db";
statistics-file "/var/log/named.stats";

# Enable the next entry to prefer usage of the name server declared in
# the forwarders section.

forward first;

# The listen-on record contains a list of local network interfaces to
# listen on. Optionally the port can be specified. Default is to
# listen on all interfaces found on your system. The default port is
# 53.

listen-on port 53 { 127.0.0.1; 8x.xxx.xxx.x6; };

# The listen-on-v6 record enables or disables listening on IPv6
# interfaces. Allowed values are 'any' and 'none' or a list of
# addresses.

listen-on-v6 { any; };

# The next three statements may be needed if a firewall stands between
# the local server and the internet.

query-source address * port 53;
transfer-source * port 53;
notify-source * port 53;

# The allow-query record contains a list of networks or IP addresses
# to accept and deny queries from. The default is to allow queries
# from all hosts.

allow-query { 127.0.0.1; 8x.xxx.xxx.x6; };

# If notify is set to yes (default), notify messages are sent to other
# name servers when the the zone data is changed. Instead of setting
# a global 'notify' statement in the 'options' section, a separate
# 'notify' can be added to each zone definition.

notify no;
#include "/etc/named.d/forwarders.conf";
#include "/etc/named.d/forwarders.conf";
#include "/etc/named.conf.include";
};

# To configure named's logging remove the leading '#' characters of the
# following examples.
#logging {
# # Log queries to a file limited to a size of 100 MB.
# channel query_logging {
# file "/var/log/named_querylog"
# versions 3 size 100M;
# print-time yes; // timestamp log entries
# };
# category queries {
# query_logging;
# };
#
# # Or log this kind alternatively to syslog.
# channel syslog_queries {
# syslog user;
# severity info;
# };
# category queries { syslog_queries; };
#
# # Log general name server errors to syslog.
# channel syslog_errors {
# syslog user;
# severity error;
# };
# category default { syslog_errors; };
#
# # Don't log lame server messages.
# category lame-servers { null; };
#};

# The following zone definitions don't need any modification. The first one
# is the definition of the root name servers. The second one defines
# localhost while the third defines the reverse lookup for localhost.

zone "." in {
type hint;
file "root.hint";
};

zone "localhost" in {
type master;
file "localhost.zone";
};

zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};

#zone "Meine-Domain.no-ip.info" in {
# type master;
# file "master/Meine-Domain.no-ip.info";
# allow-transfer { any; };
#};
#
#zone "X6.xxx.xxx.8x.in-addr.arpa" in {
# type master;
# file "master/X6.xxx.xxx.8x.in-addr.arpa.rev";
#};


logging {
category default { default_syslog; };
category queries { default_syslog; };
category xfer-in { default_syslog; };
category xfer-out { default_syslog; };
};


Ich brauche Bind sonst Funtz mein Mail-Server net :(

M f G

BdMdesigN
 
Soooo Mädels ......

Problem gelöst :D :lol:

Beim Vanila Kernel könnt Ihr das SuSE km_antivir
Packet getrost in die Tonne kloppen ( Ich hatte beim Übersetzen Massig fehlermeldungen )
und bitte

In den folgenden Link alles beachten :

http://www.dazuko.org/tgen.shtml

Bitte GENAU den Anweisungen auf der Seite folgen , dann wird Dir geholfen .

:p

M f G

BdMdesigN
 
Oben