[Pdns-users] [STILL NEED HELP] - PDNS stop suddenly after every night

Đức Vinh Hồ vinh.ho2110 at gmail.com
Mon Apr 2 01:02:16 UTC 2012


Hi all,
I successfully install & using PDNS. That's good for me
But i face to stupid problem that after 5-8hours working, PDNS suddenly
stop working. And i have to start PDNS manually.
And the loop continued, after 5-8 hour, it stop working again. What's wrong
with that ?
Any idea to solve that ?

p/s : i compile pdns from source and i start/stop pdns by using :

# killall pdns_server
#/usr/local/pdns/sbin/pdns_server &

and i add the command *"/usr/local/pdns/sbin/pdns_server &"* to rc.local as
well

Here is the log :

*Mar 29 14:41:24 slv21 pdns[25327]: gmysql Connection failed: Unable to
connect to database: Access denied for user 'power_admin'@'127.0.0.1'
(using password: YES)
Mar 29 14:41:24 slv21 pdns[25327]: Caught an exception instantiating a
backend, cleaning up
Mar 29 14:41:24 slv21 pdns[25327]: TCP server is unable to launch backends
- will try again when questions come in: Unable to launch gmysql
connection: Unable to connect to database: Access denied for user
'power_admin'@'127.0.0.1' (using password: YES)*

I had check mysql timeout and i want to say that pdns was successfully
connected to mysqld at the time i started pdns.
The log error only existed after few long hours pdns not queried to mysqld
I try to set mysql timeout = 0 - that mean mysql timeout is unlimitted
But the problem still existed.
I want to set timeout to pdns. Is that pdns had some timeout config ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20120402/f83b5c3a/attachment.html>


More information about the Pdns-users mailing list