Am Sonntag 11 September 2005 19:57 schrieb Christoph Haas: > Hallo, Gerhard... Hallo Christoph,
danke für Deine Antwort. Bitte nichts persönlich nehmen, aber bei mir liegen die Nerven blank. > On Sun, Sep 11, 2005 at 07:02:16PM +0200, Gerhard Gaußling wrote: > > 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. > > Richtig. Und /etc/default/pdns muss entsprechend editiert worden > sein. Hallo, hier wird von /etc/pdns.conf gesprochen. Und wenn /etc/default/pdns editiert werden muß, wie bitte denn? Wo ist das dokumentiert? > > 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 > Warum von Hand und nicht einfach "/etc/init.d/pdns start"? Damit ich vielleicht die Fehlermeldung sehe? > > finde aber nirgends, wo das in der pdns.conf erscheinen sollte. > Die "launch="-Option ist bereits vorhanden und nur auskommentiert. Wo bitte das? Überall ist die Rede von /etc/pdns.conf und dort scheint das ja verboten zu sein, oder was soll die Fehlermeldung > > Ich weiß mir keinen Rat mehr. > Bitte schicke die relevanten Teile der Logs mit (/var/log/syslog). Das alles ist - mit Verlaub - der letzte Sc... In der Doku ging es immer um /etc/pdsn.conf , dabei ist die in der Distribution unter /etc/powerdns , wo bitte ist das in der Doku aufgeführt? Ich kapiere bei pdns definitiv garnichts mehr. Mit der default konfiguration wird kein backend gestartet, obwohl backend-mysql installiert ist. Ich habe für so etwas keine Nerven mehr , tut mir leid. Alles scheint anders zu sein, als in der doku. Das war bevor ich /etc/powerdns endeckt hatte: Sep 11 20:41:35 ubuntu pdns[16901]: Caught an exception instantiating a backend, cleaning up Sep 11 20:41:35 ubuntu pdns[16899]: Scheduling exit on remote request Sep 11 20:41:35 ubuntu pdns[16899]: Guardian is killed, taking down children with us Sep 11 20:41:38 ubuntu pdns[18468]: Listening on controlsocket in '/var/run/pdns.controlsocket' Sep 11 20:41:38 ubuntu pdns[18470]: Guardian is launching an instance Sep 11 20:41:38 ubuntu pdns[18470]: This is module gmysqlbackend.so reporting Sep 11 20:41:38 ubuntu pdns[18470]: This is a guarded instance of pdns Sep 11 20:41:38 ubuntu pdns[18470]: It is advised to bind to explicit addresses with the --local-address option Sep 11 20:41:38 ubuntu pdns[18470]: UDP server bound to 0.0.0.0:53 Sep 11 20:41:38 ubuntu pdns[18470]: TCP server bound to 0.0.0.0:53 Sep 11 20:41:38 ubuntu pdns[18470]: PowerDNS 2.9.17 (C) 2001-2005 PowerDNS.COM BV (Jun 1 2005, 02:11:57) starting up Sep 11 20:41:38 ubuntu pdns[18470]: PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistrib ute it according to the terms of the GPL version 2. Sep 11 20:41:38 ubuntu pdns[18470]: Set effective group id to 121 Sep 11 20:41:38 ubuntu pdns[18470]: Set effective user id to 116 Sep 11 20:41:38 ubuntu pdns[18470]: Creating backend connection for TCP Sep 11 20:41:38 ubuntu pdns[18470]: gmysql Connection failed: Unable to connect to database: Access denied for user: '@localhost' to da tabase 'powerdns' Sep 11 20:41:38 ubuntu pdns[18470]: Caught an exception instantiating a backend, cleaning up Sep 11 20:41:38 ubuntu pdns[18470]: TCP server is unable to launch backends - will try again when questions come in: Unable to launch g mysql connection: Unable to connect to database: Access denied for user: '@localhost' to database 'powerdns' Sep 11 20:41:38 ubuntu pdns[18470]: About to create 3 backend threads Sep 11 20:41:38 ubuntu pdns[18470]: gmysql Connection failed: Unable to connect to database: Access denied for user: '@localhost' to da tabase 'powerdns' Sep 11 20:41:38 ubuntu pdns[18470]: Caught an exception instantiating a backend, cleaning up Sep 11 20:41:38 ubuntu pdns[18470]: gmysql Connection failed: Unable to connect to database: Access denied for user: '@localhost' to da tabase 'powerdns' Sep 11 20:41:38 ubuntu pdns[18470]: Caught an exception instantiating a backend, cleaning up Sep 11 20:41:38 ubuntu pdns[18470]: gmysql Connection failed: Unable to connect to database: Access denied for user: '@localhost' to da tabase 'powerdns' ... Soweit bin ich jetzt lange nicht mehr: Ich habe jetzt wieder ein downgrade auf 2.9.16 gemacht und bekomme jetzt nur noch Aussagekräftige Fehler wie diesen: Trying to set unexisting parameter ' ' Inzwischen habe ich auch das Verzeichnis /usr/share/doc/pdns_server gefunden, in dem doch tatsächlich auf /etc/powerdns eingegangen wird, wenn auch spärlich /usr/share/doc/pdns-server/README.Debian. In /usr/share/doc/pdns keine Spur davon, nur Doku, die sich auf /etc/pdns.conf bezieht - das ist nicht fair. Leider habe ich mich den ganzen tag mit /usr/share/doc/pdnsd/examples/pdnsd.conf beschäftigt, die aus dem Jahr 2000 stammt. Und last, but not least: Weshalb fliegt das mysql backend heraus, wenn ich nach sid upgrade? Desweiteren hatte ich diese Seiten zur Hilfe: http://pmwh.ckvsoft.at/index.php/Installation:Debian:PowerDNS http://blog.nachtarbeiter.net/?p=243 http://doc.powerdns.com/configuring-db-connection.html#CONFIGURING-MYSQL ciao Gerhard

