[Pdns-users] Inconsistent pdns startup
cameron at tacklind.com
Tue Mar 31 08:07:19 UTC 2015
It takes ~20 tries to start pdns and have it launch correctly on one of my
two servers. It was previously running perfectly. The newly set up slave is
working fine. The recently updated master is the one having difficulty
Sometimes it crashes. Other times it stays running, gives a prompt (if not
daemon mode), will reply to `rping` with '*PONG*', and will bind to port
53. Except it will fail to respond to real DNS requests and use 100% of one
I've done a couple things to the system recently, but none of them seem to
be causing it. It also does fully start without any errors sometimes,
making me think it isn't any of the recent changes.
However, for completeness, I've recently
- Enabled postgres passwords, logs show it connects
- Updated powerdns (and whole system)
- Setup slave system (via pdns master/slave, not really working yet for
its own reasons)
- Updated postgres but haven't migrated database/daemon to new version
- And other ... fiddling
To attempt to debug this issue, I've started the server a bunch of times in
a row as root like this
/usr/sbin/pdns_server --daemon=no --guardian=no --control-console=yes
--loglevel=9 --log-dns-details=yes --query-logging=yes &> try21.txt
Sometimes there are extra crash dumps that print to my console. These I've
appended to each run and I suspect will be the most useful. They are not
always the same.
try11.txt shows an instance that almost (and might have) started, but it
printed and error so I think I killed it.
I've compiled my 21 log files showing sequential attempts to start up, with
the last one working, into a .7z file. I'm hosting it via Google Drive
I see that there is a newer version of pdns available, but I can't easily
try that yet and I don't see a relevant bugfix in the changelogs. This
issue happens at least on versions 3.4.2 and 3.3.1.
Thanks in advance!
Server system specs:
Linux 3.18.9-gentoo #1 SMP Mon Mar 23 21:24:12 PDT 2015 x86_64 Intel (XEN
PowerDNS Authoritative Server 3.4.2 (jenkins at autotest.powerdns.com)
Using 64-bits mode. Built on 20150324034840 by root at myserver.myhost.com,
PS. I've recently run `emerge -e world` (successfully) and rebooted, just
to be sure.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pdns-users