pdns stops working after mysql backend restart

Bug #1580071 reported by Leo Nikolaev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pdns (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hi there!

Having problems with restarting MySQL backend while PowerDNS is running (Ubuntu 16.04, PowerDNS 4.0.0~alpha2-3build1)

After restart both MySQL and PowerDNS are started, I see following statements in journalctl

May 06 00:09:37 vova pdns[31743]: gmysql Connection successful. Connected to database 'pdns' on
May 06 00:09:37 vova pdns[31743]: gmysql Connection successful. Connected to database 'pdns' on
May 06 00:09:37 vova pdns[31743]: gmysql Connection successful. Connected to database 'pdns' on

Afterwards I restart MySQL. It breaks everything down in pieces:

May 06 00:09:11 vova pdns[30268]: Backend reported condition which prevented lookup

There is only one cure - restart PowerDNS. Doesn't look like good solution.

Revision history for this message
Nish Aravamudan (nacc) wrote :

@Leo, are you able to test the version in Yakkety at all (4.0.0~beta1-1)

Changed in pdns (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.