You are not logged in.
hello
i made some changes in the configuration of powerdns
and i have this errors
binding UDP socket to xxxx.xxxx.xxx.xx port 53: Address already in use
Fatal error: Unable to bind to UDP socketthis is my new configuration file
i tried to restart the service
thanks
allow-axfr-ips=xxx.xx.xxx.x xxx.xx.xxx.x
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=hst_pdns
gmysql-user=hst_pdns
gmysql-password=brqz238biofat
lazy-recursion=yes
local-address=xx.xxx.xx.x
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=pdns
setuid=pdns
socket-dir=/var/run
use-logfile=no
webserver=noLast edited by freaks (2012-11-28 14:37:15)
Offline
The service restart apparently didn't stop the running instance. How did you restart it?
Anyway, you could try finding out what process is using the port, e.g.:
# netstat -putan | grep LISTENGet the process id that is listening on port 53, kill it and start the service.
Offline
ok thanks i tried to kill the process but it don't works
powerdns relaunch the daemon
if i stop the service
/etc/rc.d/pdns stop
there is no program listening on port 53
and no error in var/log/error.log
and when i start the daemon
there is a program listening and the error
Nov 28 19:06:32 ns27504 pdns[26342]: binding UDP socket to 'xx.xxx.xx.x' port 53: Address already in use
Nov 28 19:06:32 ns27504 pdns[26342]: binding UDP socket to 'xx.xxx.xx.x' port 53: Address already in use
Nov 28 19:06:32 ns27504 pdns[26342]: binding UDP socket to 'xx.xxx.xx.x' port 53: Address already in use
Nov 28 19:06:32 ns27504 pdns[26342]: binding UDP socket to 'xx.xxx.xx.x' port 53: Address already in use
Nov 28 19:06:32 ns27504 pdns[26342]: binding UDP socket to 'xx.xxx.xx.x' port 53: Address already in use
Nov 28 19:06:32 ns27504 pdns[26342]: Fatal error: Unable to bind to UDP socket
Nov 28 19:06:32 ns27504 pdns[26342]: Fatal error: Unable to bind to UDP socket
Nov 28 19:06:32 ns27504 pdns[26342]: Fatal error: Unable to bind to UDP socket
Nov 28 19:06:32 ns27504 pdns[26342]: Fatal error: Unable to bind to UDP socket
Nov 28 19:06:32 ns27504 pdns[26342]: Fatal error: Unable to bind to UDP socket
Nov 28 19:06:33 ns27504 pdns[26103]: Our pdns instance exited with code 1
Nov 28 19:06:33 ns27504 pdns[26103]: Our pdns instance exited with code 1
Nov 28 19:06:33 ns27504 pdns[26103]: Our pdns instance exited with code 1
Nov 28 19:06:33 ns27504 pdns[26103]: Our pdns instance exited with code 1Last edited by freaks (2012-11-28 18:07:30)
Offline