2 bind prozesse nach boot aber nur einer nach /etc/init.d/bind9 start

Bind, PowerDNS
Post Reply
tomotom
Posts: 330
Joined: 2006-09-22 13:37
 

2 bind prozesse nach boot aber nur einer nach /etc/init.d/bind9 start

Post by tomotom »

Ich habe nach dem booten immer zwei bind prozesse laufen. Wenn ich beide kille und über /etc/init.d/bind9 start starte startet nur einer. Ich meine zwei sind zuviel. Ich finde nicht dir Ursache für die zwei Prozesse.

Zudem ist mir nicht klar wie ich rndc benutzen kann wenn ich bind chrooted laufen lasse.
server:~# /etc/init.d/bind9 stop
Stopping domain name service: namedrndc: connection to remote host closed
This may indicate that the remote server is using an older version of
the command protocol, this host is not authorized to connect,
or the key is invalid.
.
server:~# ps aux|grep bind
bind 1056 0.0 1.6 29386 2584 ? Ss 19:51 0:00 /usr/sbin/named -u bind -t /var/lib/named
bind 1741 0.2 1.8 29692 2896 ? Ss 19:52 0:00 /usr/sbin/named -u bind -t /var/lib/named
root 1903 0.0 0.3 1632 520 pts/0 S+ 19:53 0:00 grep bind
server:~# kill 1056
server:~# kill 1741
server:~# ps aux|grep bind
root 1907 0.0 0.3 1632 480 pts/0 R+ 19:54 0:00 grep bind
server:~# /etc/init.d/bind9 start
Starting domain name service: named.
server:~# ps aux|grep bind
bind 1916 0.3 1.6 29396 2576 ? Ss 19:54 0:00 /usr/sbin/named -u bind -t /var/lib/named
root 1923 0.0 0.3 1632 480 pts/0 R+ 19:54 0:00 grep bind
server:~# rndc status
rndc: connection to remote host closed
This may indicate that the remote server is using an older version of
the command protocol, this host is not authorized to connect,
or the key is invalid.
Die Startlinks sehen so aus:
server:/etc# find /etc/ -name "*bind*"
/etc/default/bind9
/etc/init.d/bind9
/etc/rc0.d/K85bind9
/etc/rc1.d/K85bind9
/etc/rc2.d/S15bind9
/etc/rc3.d/S15bind9
/etc/rc4.d/S15bind9
/etc/rc5.d/S15bind9
/etc/rc6.d/K85bind9
/etc/bind
/etc/bind/bind
PS: Habe ich die Weihnacht schon verpasst? :-)
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: 2 bind prozesse nach boot aber nur einer nach /etc/init.d/bind9 start

Post by Roger Wilco »

Wieviele Prozessoren sind in deinem Server verbaut?

Code: Select all

cat /proc/cpuinfo
tomotom
Posts: 330
Joined: 2006-09-22 13:37
 

Re: 2 bind prozesse nach boot aber nur einer nach /etc/init.d/bind9 start

Post by tomotom »

Roger Wilco wrote:Wieviele Prozessoren sind in deinem Server verbaut?

Code: Select all

cat /proc/cpuinfo
Ich hätte gerne zwei Prozessoren und einen bind Prozess aber das ist leider umgekehrt.

Code: Select all

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Celeron(R) CPU 2.40GHz
stepping        : 9
cpu MHz         : 2399.722
cache size      : 128 KB
fdiv_bug        : no
hlt_bug         : yes
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu tsc msr pae mce cx8 mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips        : 4771.02
tomotom
Posts: 330
Joined: 2006-09-22 13:37
 

Re: 2 bind prozesse nach boot aber nur einer nach /etc/init.d/bind9 start

Post by tomotom »

Ich frage mich immer noch warum ich 2 bind Prozesse nach dem booten laufen habe. Hat keiner eine Idee?
tomotom
Posts: 330
Joined: 2006-09-22 13:37
 

Re: 2 bind prozesse nach boot aber nur einer nach /etc/init.d/bind9 start

Post by tomotom »

Ich habe jetzt mal ohne kill xy einfach nur:
/etc/init.d/bind9 start oder restart gemacht.

Jedes Mal wird ein neuer Prozess gestartet und kein alter gelöscht. Ist das nicht etwas eigenartig?

Code: Select all

server:~# ps aux|grep bind
bind      1054  0.0  1.6 29396 2568 ?        Ss   Nov30   0:00 /usr/sbin/named -u bind -t /var/lib/named
bind      1747  0.0  1.7 29460 2744 ?        Ss   Nov30   0:00 /usr/sbin/named -u bind -t /var/lib/named
bind     21815  0.0  1.8 29596 2916 ?        Ss   Dec06   0:00 /usr/sbin/named -u bind -t /var/lib/named
bind     30229  0.0  1.6 29460 2548 ?        Ss   00:27   0:00 /usr/sbin/named -u bind -t /var/lib/named
bind     30243  0.0  1.6 29460 2552 ?        Ss   00:27   0:00 /usr/sbin/named -u bind -t /var/lib/named
bind     30299  1.0  1.6 29464 2552 ?        Ss   00:28   0:00 /usr/sbin/named -u bind -t /var/lib/named
root     30308  0.0  0.3  1632  480 pts/0    R+   00:28   0:00 
schmide
Posts: 17
Joined: 2004-09-03 16:39
 

Re: 2 bind prozesse nach boot aber nur einer nach /etc/init.d/bind9 start

Post by schmide »

Hallo tomotom,

hast du zufällig Plesk laufen?
Ich habe das selbe Problem, aber nur mit Debian und Plesk.
Bei Fedora mit Plesk habe ich diese Probleme nicht.
Ich weiss leider auch keine Lösung.

Gruss
Schmide
Post Reply