[Pdns-users] slave mode + pdns 2.9.20 + mysql = crash

Kalle Carlbark kalle.carlbark at gmail.com
Mon Sep 4 20:20:11 UTC 2006


On 9/4/06, bert hubert <bert.hubert at netherlabs.nl> wrote:
> On Mon, Sep 04, 2006 at 02:59:35PM +0200, Kalle Carlbark wrote:
> > Hello folks,
> >
> > I'm having abit of trouble getting slave-mode work.
>
> Where did you get this binary, did you compile it yourself (it appears you
> did, but am not sure)? Do you have any 'setuid', 'setgid' or 'chroot'
> entries in your configuration?

I compiled it myself with
--with-modules="gmysql"
--with-mysql="/usr/local/mysql"
configurations args.

(downloads.powerdns.com/releases/pdns-2.9.20.tar.gz). Don't have any
setuid, setgid or chroot entries in my configuration.

Don't now if it could be a mysql-compatibility problem? Im using a
binary version of mysql 5.0.22..

> No bug like this has previously been reported.
> > Aug 31 10:24:41 lurvas pdns[2998]: /lib/libpthread.so.0 [0x40117c45]
> > Aug 31 10:24:41 lurvas pdns[2998]: /lib/libc.so.6 [0x40186988]
> > Aug 31 10:24:41 lurvas pdns[2998]:
> > /usr/local/sbin/pdns_server-instance(_ZN17CommunicatorClass12slaveRefreshEP13PacketHandler+0xba2)
> > [0x80f9522]
>
> Can you try: echo 0x80f9522 | addr2line -E $(which pdns_recursor)

I don't even have a pdns_recursor binary ..? Should I?

> If that says something like '????' can you try to recompile PowerDNS using:
> CXXFLAGS=-ggdb ./configure [your configure statements]
>
> and retry?

Done. How can I get more output from pdns_server?

> Can you show the contents of your domains table? It might contain NULLs in
> wrong places. That is my current best bet for your problem.

Okay, here's how every "slave-zone" looks like.

id         name           master         last_check     type
notified_serial   account
1354  	xyz.tld  	x.x.x.x  	NULL  	        SLAVE  	NULL  	           NULL

Something wrong here? You want NATIVE-zones as well?

Thank you for your answers.

Regards


More information about the Pdns-users mailing list