[Pdns-users] PowerDNS does not work with bind-backend and chroot

Aki Tuomi cmouse at youzen.ext.b2.fi
Fri Jul 5 05:26:41 UTC 2013


On Wed, Jul 03, 2013 at 06:33:38PM -0600, Lin Han wrote:
> Hello,
> 
> PowerDNS with bind-backend works fine but when chroot is enabled
> I got this error message:
> 
> Debian 7/64
> PowerDNS 3.2
> 
> 
> pdns.conf
> bind-dnssec-db=/var/db/bind-dnssecdb
> chroot=/var/spool/powerdns
> 
> Creating backend connection for TCP
> Caught an exception instantiating a backend, cleaning up
> Exiting because of STL error: Error opening
> DNSSEC database in BIND backend: SQLite database '/var/db/bind-dnssecdb'
> does not exist yet
> 
> I tried this too
> 
> # pdnssec create-bind-db /var/spool/powerdns/bind-dnssecdb
> 
> pdns.conf
> bind-dnssec-db=/var/spool/powerdns/bind-dnssecdb
> chroot=/var/spool/powerdns
> 
> 
> Creating backend connection for TCP
> Caught an exception instantiating a backend, cleaning up
> Exiting because of STL error: Error opening
> DNSSEC database in BIND backend: SQLite database
> '/var/spool/powerdns/bind-dnssecdb' does not exist yet
>

you might want to try

bind-dnssec-db=/powerdns/bind-dnssecdb
chroot=/var/spool/powerdns

Aki
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20130705/0ade0d48/attachment-0001.sig>


More information about the Pdns-users mailing list