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

Kalle Carlbark kalle.carlbark at gmail.com
Wed Sep 6 08:48:46 UTC 2006


I solved the problem by using a pds_server binary compiled on another machine.
Perhaps the problem was an old gcc.. i remembered i had to put -lmygcc
in Makefile in pdns/ -directory to have the crashable pdns_server
compiled correctly. On the one that did not crash i did not.

Maybe it could be related to the crash, i don't really know. Anyways,
thank you Bert for your answer. im glad I sort it out.

Regards

On 9/4/06, Kalle Carlbark wrote:
> On 9/4/06, bert hubert 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