Skip to content

Instantly share code, notes, and snippets.

@jsoref
Created February 13, 2020 19:10
Show Gist options
  • Save jsoref/57705606268ed1950dca1d1d1697c829 to your computer and use it in GitHub Desktop.
Save jsoref/57705606268ed1950dca1d1d1697c829 to your computer and use it in GitHub Desktop.
pdns will die when postgres restarts
pdns_server[8776]: Backend reported permanent error which prevented lookup (GSQLBackend lookup query:Fatal error during query: SELECT content,ttl,prio,type,domain_id,disabled::int,name,auth::int FROM records WHERE disabled=false and name=$1 and domain_id=$2: FATAL: terminating connection due to administrator command
pdns_server[8776]: server closed the connection unexpectedly
pdns_server[8776]: This probably means the server terminated abnormally
pdns_server[8776]: before or while processing the request.
pdns_server[8776]: ), aborting
pdns_server[8776]: gpgsql Connection failed: Unable to connect to database, connect string: dbname=pdns user=pdns host=localhost password=<HIDDEN>: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (::1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (127.0.0.1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: Caught an exception instantiating a backend: Unable to launch gpgsql connection: Unable to connect to database, connect string: dbname=pdns user=pdns host=localhost password=<HIDDEN>: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (::1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (127.0.0.1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: Cleaning up
pdns_server[8776]: Backend error: Unable to launch gpgsql connection: Unable to connect to database, connect string: dbname=pdns user=pdns host=localhost password=<HIDDEN>: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (::1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (127.0.0.1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: Backend reported permanent error which prevented lookup (GSQLBackend lookup query:Fatal error during query: SELECT content,ttl,prio,type,domain_id,disabled::int,name,auth::int FROM records WHERE disabled=false and name=$1 and domain_id=$2: FATAL: terminating connection due to administrator command
pdns_server[8776]: server closed the connection unexpectedly
pdns_server[8776]: This probably means the server terminated abnormally
pdns_server[8776]: before or while processing the request.
pdns_server[8776]: ), aborting
pdns_server[8776]: gpgsql Connection failed: Unable to connect to database, connect string: dbname=pdns user=pdns host=localhost password=<HIDDEN>: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (::1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (127.0.0.1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: Caught an exception instantiating a backend: Unable to launch gpgsql connection: Unable to connect to database, connect string: dbname=pdns user=pdns host=localhost password=<HIDDEN>: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (::1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (127.0.0.1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: Cleaning up
pdns_server[8776]: Backend error: Unable to launch gpgsql connection: Unable to connect to database, connect string: dbname=pdns user=pdns host=localhost password=<HIDDEN>: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (::1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (127.0.0.1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: Backend reported permanent error which prevented lookup (GSQLBackend lookup query:Fatal error during query: SELECT content,ttl,prio,type,domain_id,disabled::int,name,auth::int FROM records WHERE disabled=false and type=$1 and name=$2: FATAL: terminating connection due to administrator command
pdns_server[8776]: server closed the connection unexpectedly
pdns_server[8776]: This probably means the server terminated abnormally
pdns_server[8776]: before or while processing the request.
pdns_server[8776]: ), aborting
pdns_server[8776]: gpgsql Connection failed: Unable to connect to database, connect string: dbname=pdns user=pdns host=localhost password=<HIDDEN>: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (::1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (127.0.0.1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: Caught an exception instantiating a backend: Unable to launch gpgsql connection: Unable to connect to database, connect string: dbname=pdns user=pdns host=localhost password=<HIDDEN>: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (::1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (127.0.0.1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: Cleaning up
pdns_server[8776]: Backend error: Unable to launch gpgsql connection: Unable to connect to database, connect string: dbname=pdns user=pdns host=localhost password=<HIDDEN>: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (::1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (127.0.0.1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: gpgsql Connection failed: Unable to connect to database, connect string: dbname=pdns user=pdns host=localhost password=<HIDDEN>: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (::1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (127.0.0.1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: Caught an exception instantiating a backend: Unable to launch gpgsql connection: Unable to connect to database, connect string: dbname=pdns user=pdns host=localhost password=<HIDDEN>: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (::1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (127.0.0.1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: Cleaning up
pdns_server[8776]: Backend error: Unable to launch gpgsql connection: Unable to connect to database, connect string: dbname=pdns user=pdns host=localhost password=<HIDDEN>: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (::1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: could not connect to server: Connection refused
pdns_server[8776]: Is the server running on host "localhost" (127.0.0.1) and accepting
pdns_server[8776]: TCP/IP connections on port 5432?
pdns_server[8776]: Exiting because communicator thread died with error: GSQLBackend unable to retrieve list of slave domains: Fatal error during query: select id,name,master,last_check from domains where type='SLAVE': FATAL: terminating connection due to administrator command
pdns_server[8776]: server closed the connection unexpectedly
pdns_server[8776]: This probably means the server terminated abnormally
pdns_server[8776]: before or while processing the request.
systemd[1]: pdns.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: pdns.service: Failed with result 'exit-code'.
systemd[1]: pdns.service: Service hold-off time over, scheduling restart.
pdns_server[7419]: Exiting because communicator thread died with error: GSQLBackend unable to retrieve list of slave domains: Fatal error during query: select id,name,master,last_check from domains where type='SLAVE': FATAL: terminating connection due to administrator command
pdns_server[7419]: server closed the connection unexpectedly
pdns_server[7419]: This probably means the server terminated abnormally
pdns_server[7419]: before or while processing the request.
pdns_server[7419]: Backend reported permanent error which prevented lookup (GSQLBackend lookup query:Fatal error during query: SELECT content,ttl,prio,type,domain_id,disabled::int,name,auth::int FROM records WHERE disabled=false and name=$1 and domain_id=$2: FATAL: terminating connection due to administrator command
pdns_server[7419]: server closed the connection unexpectedly
pdns_server[7419]: This probably means the server terminated abnormally
pdns_server[7419]: before or while processing the request.
pdns_server[7419]: ), aborting
systemd[1]: pdns.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: pdns.service: Failed with result 'exit-code'.
systemd[1]: pdns.service: Service hold-off time over, scheduling restart.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment