[nsd-users] Problem with NSD restart script on CentOS5

Oliver Peter lists at peter.de.com
Mon Jul 19 15:08:01 UTC 2010


Hi there,

We have been experiencing a problem with NSD (nsd-3.2.2-2.el5) and it's
init scripts on latest CentOS5:

After a
	# service nsd restart

/var/log/messages reads:

[...]
[1279549983] nsd[26566]: error: problems sending soa begin from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa info from reload 26566 to xfrd: Broken pipe
[1279549983] nsd[26566]: error: problems sending soa end from reload 26566 to xfrd: Broken pipe
[1279549986] nsd[26617]: warning: nsd is already running as 26566, continuing
[1279549986] nsd[26618]: error: can't bind udp socket: Address already in use
[1279549986] nsd[26618]: error: server initialization failed, nsd could not be started
[1279549991] nsd[26566]: warning: signal received, shutting down...

After that, manually starting the service works fine and the
process comes up again.

It only happens after the daemon has been running for a while
(probably filling it's IXFR journal with changes)  The server
is running as a slave (serving over +100k zones) using
TSIG/hmac-md5.

Config looks like:

server:
	hide-version:	yes
	database:	"/var/lib/nsd/nsd.db"
	identity:	"xxx"
	logfile:	"/var/log/nsd.log"
	server-count:	1
	tcp-count:	10
	pidfile:	"/var/run/nsd/nsd.pid"
	statistics:	3600
	zonesdir:	"/var/lib/nsd"
	difffile:	"/var/lib/nsd/ixfr.db"
	xfrdfile:	"/var/lib/nsd/ixfr.state"

(Plus the regular TSIG stuff and the zone configs)

Could anyone please tell me more about the error messages above?
I was thinking that the init script tries too early to bring up
the daemon again - but obviously something else goes wrong in
the first place. 

Thanks

Oliver

-- 
Oliver PETER			<oliver at peter.de.com>
opDNS Internetdienstleistung	http://opdns.de
Alte Dorfstr. 17		D-93309 Kelheim-Weltenburg



More information about the nsd-users mailing list