Article ID: 6559, created on Aug 3, 2009, last review on Apr 30, 2016

  • Applies to:
  • Odin Business Automation Standard 4.5

Symptoms

PowerDNS does not work properly on OBAS Managemenet Node, the following error message is logged in the /var/log/messages file:

pdns[1664]: Communicator thread died because of error: Failed to execute mysql_query, perhaps connection died? Err=-1

MySQL server used by PowerDNS server is located remotely.

Resolution

Make sure that the PowerDNS startup script /etc/init.d/pdns invokes the daemon with --guardian=yes option as shown below:

        start)
                echo -n "Starting PowerDNS authoritative nameserver: "
                if test "$NOTRUNNING" = "0"
                then
                        echo "already running"
                else
                        $pdns_server --daemon --guardian=yes
                        if test "$?" = "0"
                        then
                                echo "started"
                        fi
                fi
        ;;

Search Words

Got a signal 8, attempting to print trace:

Failed to execute mysql_query, perhaps connection died

400e18f6ede9f8be5575a475d2d6b0a6 caea8340e2d186a540518d08602aa065 624ca542e40215e6f1d39170d8e7ec75 70a5401e8b9354cd1d64d0346f2c4a3e

Email subscription for changes to this article
Save as PDF