Charles,<br><br>What method are you using to stop/start postgres while pdns is running?<br><br>-s<br><br><div class="gmail_quote">On Thu, Jun 30, 2011 at 5:08 PM, Charles Sprickman <span dir="ltr"><<a href="mailto:spork@bway.net">spork@bway.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<br>
<br>
I'm in the middle of testing a new powerdns/postgres setup in native mode with postgres replication. I've not run into any major issues so far, but I'm seeing some odd behavior on the last server I setup.<br>
<br>
I started powerdns, and after that had stopped and started postgres a few times to make some config changes. It seems like powerdns is not dealing with the disappearing postgres process, almost as if the backend connection has not attempted a reconnect:<br>
<br>
Jun 30 19:46:07 ns3 pdns[1569]: Database module reported condition which prevented lookup (PostgreSQL failed to execute command: FATAL: terminating connection due to administrator command server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. ) sending out servfail<br>
<br>
I got a few of those (accompanied with a servfail response), and then this log line repeats:<br>
<br>
Jun 30 19:46:07 ns3 pdns[1569]: Database module reported condition which prevented lookup (PostgreSQL failed to execute command: unknown reason) sending out servfail<br>
<br>
If I repeat the dns query, I get an answer about 2 out of 5 tries, perhaps because one backend connection is properly connected and the others are not.<br>
<br>
After a restart of powerdns, the issue goes away.<br>
<br>
This is 3.0.20110509 of powerdns with PostgreSQL 9.0.4.<br>
<br>
I also am still seeing the issue of the "loglevel=" config not seeming to have an effect on the logging verbosity (currently set to 8, but the logs seem pretty minimal).<br>
<br>
Thanks,<br>
<br>
Charles<br>
______________________________<u></u>_________________<br>
Pdns-users mailing list<br>
<a href="mailto:Pdns-users@mailman.powerdns.com" target="_blank">Pdns-users@mailman.powerdns.<u></u>com</a><br>
<a href="http://mailman.powerdns.com/mailman/listinfo/pdns-users" target="_blank">http://mailman.powerdns.com/<u></u>mailman/listinfo/pdns-users</a><br>
</blockquote></div><br>