PowerDNS installationsproblem

Bind, PowerDNS
nmg
Posts: 19
Joined: 2003-05-04 09:49
Location: BäRLIN

PowerDNS installationsproblem

Post by nmg » 2003-12-02 09:15

Hi leutz.
ich hab eversucht auf einem rootserver powerDNS zu installieren.
leider ohne erfolg .. ich ging vor wie in der README beschrieben :

Code: Select all

dns@server2:~/pdns-2.9.12> ./configure --with-modules="gmysql"
dies führe zu keiner Fehlermeldung. darum gab ich danach wie verlangt folgendes ein :

Code: Select all

dns@server2:~/pdns-2.9.12> make
dies lief nun eine weile durch, bis schließlich :

Code: Select all

cd . 
  && CONFIG_FILES= CONFIG_HEADERS=config.h 
     /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
make  all-recursive
make[1]: Entering directory `/home/dns/pdns-2.9.12'
Making all in modules
make[2]: Entering directory `/home/dns/pdns-2.9.12/modules'
Making all in gmysqlbackend
make[3]: Entering directory `/home/dns/pdns-2.9.12/modules/gmysqlbackend'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dns/pdns-2.9.12/modules/gmysqlbackend'
Making all in pipebackend
make[3]: Entering directory `/home/dns/pdns-2.9.12/modules/pipebackend'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dns/pdns-2.9.12/modules/pipebackend'
make[3]: Entering directory `/home/dns/pdns-2.9.12/modules'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/dns/pdns-2.9.12/modules'
make[2]: Leaving directory `/home/dns/pdns-2.9.12/modules'
Making all in codedocs
make[2]: Entering directory `/home/dns/pdns-2.9.12/codedocs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dns/pdns-2.9.12/codedocs'
Making all in pdns
make[2]: Entering directory `/home/dns/pdns-2.9.12/pdns'
Making all in backends
make[3]: Entering directory `/home/dns/pdns-2.9.12/pdns/backends'
Making all in bind
make[4]: Entering directory `/home/dns/pdns-2.9.12/pdns/backends/bind'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dns/pdns-2.9.12/pdns/backends/bind'
make[4]: Entering directory `/home/dns/pdns-2.9.12/pdns/backends'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/dns/pdns-2.9.12/pdns/backends'
make[3]: Leaving directory `/home/dns/pdns-2.9.12/pdns/backends'
Making all in .
make[3]: Entering directory `/home/dns/pdns-2.9.12/pdns'
/bin/sh ../libtool --mode=link g++ -DSYSCONFDIR="/usr/local/etc" -DLIBDIR="/u
sr/local/lib" -DLOCALSTATEDIR="/var/run" -Ibackends/bind  -D_GNU_SOURCE  -Wal
l -O2  -L/usr/lib/mysql  -o pdns_server ../modules/gmysqlbackend/gmysqlbackend.o
 ../modules/gmysqlbackend/smysql.o  -lmysqlclient -rdynamic -ldl  -pthread dnspa
cket.o nameserver.o qtype.o logger.o arguments.o packethandler.o tcpreceiver.o p
acketcache.o statbag.o dnsbackend.o ws.o webserver.o session.o misc.o receiver.o
 ueberbackend.o dynlistener.o dynhandler.o resolver.o communicator.o dnsproxy.o
randombackend.o unix_utility.o common_startup.o bindbackend2.o zoneparser2.o bin
dparser.o bindlexer.o huffman.o gsqlbackend.o sillyrecords.o bindbackend.o
g++ -DSYSCONFDIR="/usr/local/etc" -DLIBDIR="/usr/local/lib" -DLOCALSTATEDIR=
"/var/run" -Ibackends/bind -D_GNU_SOURCE -Wall -O2 -o pdns_server ../modules/g
mysqlbackend/gmysqlbackend.o ../modules/gmysqlbackend/smysql.o -rdynamic -pthrea
d dnspacket.o nameserver.o qtype.o logger.o arguments.o packethandler.o tcprecei
ver.o packetcache.o statbag.o dnsbackend.o ws.o webserver.o session.o misc.o rec
eiver.o ueberbackend.o dynlistener.o dynhandler.o resolver.o communicator.o dnsp
roxy.o randombackend.o unix_utility.o common_startup.o bindbackend2.o zoneparser
2.o bindparser.o bindlexer.o huffman.o gsqlbackend.o sillyrecords.o bindbackend.
o  -L/usr/lib/mysql /usr/lib/mysql/libmysqlclient.so -lz -lcrypt -lnsl -lm -ldl
-Wl,--rpath -Wl,/usr/lib/mysql -Wl,--rpath -Wl,/usr/lib/mysql
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot
find -lz
collect2: ld returned 1 exit status
make[3]: *** [pdns_server] Error 1
make[3]: Leaving directory `/home/dns/pdns-2.9.12/pdns'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dns/pdns-2.9.12/pdns'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dns/pdns-2.9.12'
make: *** [all] Error 2
dns@server2:~/pdns-2.9.12>
was ist hier schief gelaufen ???

captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten

Re: PowerDNS installationsproblem

Post by captaincrunch » 2003-12-02 11:31

Du hast die zlib-devel nicht installiert.
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc

nmg
Posts: 19
Joined: 2003-05-04 09:49
Location: BäRLIN

Re: PowerDNS installationsproblem

Post by nmg » 2003-12-03 18:27

Also ich habe es jetzt zum laufen gebracht. habe alle snach anleitung gemacht und auch das script PowerAdmin nach anleitung installiert. nur irgendwie aktualisiert er die domains die in PowerAdmin eingetragen werden aus der DB nicht ...

ich kriege immer :

Code: Select all

server2:~/pdns-2.9.12/pdns # host example.com localhost
Using domain server:
Name: localhost
Address: 127.0.0.1
Aliases:

Host not found, try again.
bzw.

Code: Select all

server2:~/pdns-2.9.12/pdns # host example.com 127.0.0.1
Using domain server 127.0.0.1:
Host not found, try again.
in meiner configfile ist allerdings der SQLbackend eintrag richtig :

Code: Select all

#################################
# launch        Which backends to launch and order to query them in
#
launch=gmysql
gmysql-host=localhost
gmysql-user=web1
gmysql-dbname=usr_web1_2
gmysql-password=......

Code: Select all

server2:~ # /etc/init.d/pdns monitor
pdns: Dec 03 18:55:47 This is a standalone pdns
Dec 03 18:55:47 Opened file '/usr/local/etc/pdns.conf' for configuration
Dec 03 18:55:47 UDP server bound to 217.160.204.123:53
Dec 03 18:55:47 TCP server bound to 217.160.204.123:53
Dec 03 18:55:47 PowerDNS 2.9.12 (C) 2001-2003 PowerDNS.COM BV (Dec  2 2003, 09:01:46) starting up
Dec 03 18:55:47 PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2.
% Dec 03 18:55:47 Launched webserver on 217.160.204.123:8081
Dec 03 18:55:47 Master/slave communicator launching
Dec 03 18:55:47 Creating backend connection for TCP
Dec 03 18:55:47 gmysql Connection succesful
Dec 03 18:55:47 gmysql Connection succesful
Dec 03 18:55:47 All slave domains are fresh
Dec 03 18:55:47 No master domains need notifications
Dec 03 18:55:47 About to create 3 backend threads
Dec 03 18:55:47 gmysql Connection succesful
Dec 03 18:55:47 gmysql Connection succesful
Dec 03 18:55:47 gmysql Connection succesful
Dec 03 18:55:47 Done launching threads, ready to distribute questions

nmg
Posts: 19
Joined: 2003-05-04 09:49
Location: BäRLIN

Re: PowerDNS installationsproblem

Post by nmg » 2003-12-04 06:24

oki, hat sich erledigt !

-> close !