[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

pdns invalid section header: launch|invalid option for global section: launch



Hallo,

ich versuche pdns zu installieren, und bin kurz vor der Verzweifelung.
Ich habe das gmysql backend installiert, und eine Datenbank pdns 
angelegt.

Unter "testing your install"
http://doc.powerdns.com/testing.html
steht, dass man in die pdns.conf launch=gmysql; eintragen soll.

Ich bekomme 
$ sudo /usr/sbin/pdnsd -v3 -s -g
Error in config file (line 15): invalid section header: launch
oder:
$ sudo /usr/sbin/pdnsd -v3 -s -g
Error in config file (line 18): invalid option for global section: 
launch

finde aber nirgends, wo das in der pdns.conf erscheinen sollte.

entsprechend bekomme ich 
$ sudo pdns_server --daemon=no --guardian=yes --control-console 
--loglevel=9
Sep 11 18:55:00 Listening on controlsocket in 
'/var/run/pdns.controlsocket'
Sep 11 18:55:00 Guardian is launching an instance
Sep 11 18:55:00 Unable to launch, no backends configured for querying
Sep 11 18:55:00 Child requested a stop, exiting

Der daemon läuft aber:
$ ps axu|grep  pdnsd pdnsd    32761  0.0  0.1  73840  1140 ?        Sl   
16:32   0:00 /usr/sbin/pdnsd --daemon -p /var/run/pdnsd.pid

und antwortet auch:
$ nslookup
> ubuntu
Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
Name:   ubuntu
Address: 127.0.0.1
> debian.org
Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
Name:   debian.org
Address: 192.25.206.10

$ sudo mysqlcheck pdns
pdns.domains                                       OK
pdns.records                                       OK
pdns.supermasters                                  OK

Aber ich bekomme 
$ sudo pdns_control monitor Fatal error: Unable to connect to remote 
'/var/run/pdns.controlsocket': Connection refused

$ sudo /etc/init.d/pdns monitor
Sep 11 19:00:37 Unable to launch, no backends configured for querying

$ ls -l /var/run/pdns.controlsocket
srwxr-xr-x  1 root root 0 2005-09-11 18:55 /var/run/pdns.controlsocket

Ich weiß mir keinen Rat mehr.

ciao

Gerhard



Reply to: