You are not logged in.

#1 2021-10-18 09:34:33

freaks
Member
Registered: 2010-11-10
Posts: 63

powerdns service cannot start

hello

i upgraded powerdns to new version but the service doesn't start

i have this error

Unable to remove (previous) controlsocket at '/var/run/pdns.controlsocket': Permission denied

if i delete the file i have this error

Unable to bind to control socket at '/var/run/pdns.controlsocket'

this is my config file

allow-axfr-ips=xxx xxx
#allow-recursion=127.0.0.1
#allow-recursion-override=yes
cache-ttl=60
#chroot=/var/empty
config-dir=/etc/powerdns
daemon=yes
disable-axfr=no
distributor-threads=3
guardian=yes
launch=gmysql
gmysql-host=127.0.0.1
gmysql-port=3306
gmysql-dbname=xxx
gmysql-user=xxx
gmysql-password=xxx

#lazy-recursion=yes
local-address=xxxxx
local-port=53
logging-facility=0
loglevel=3
module-dir=/usr/lib/powerdns
negquery-cache-ttl=60
#out-of-zone-additional-processing=yes
query-cache-ttl=300
#recursive-cache-ttl=150
#recursor=127.0.0.1:54
setgid=nobody
setuid=nobody
socket-dir=/var/run
#use-logfile=no
webserver=no

slave=yes
slave-cycle-interval=60
master=yes

if i launch the server with this command it's ok

/usr/bin/pdns_server --guardian=no --daemon=no --disable-syslog --log-timestamp=no --write-pid=no

thanks

Last edited by freaks (2021-10-18 09:53:19)

Offline

Board footer

Powered by FluxBB