bind problem

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

bind problem

Ronald Wiplinger
I tried to use BIND 9.3.2 with the patch for dlz. The compilation had no
error, but when I start named the following error will be logged:

Aug  7 11:52:02 pegasus named[30132]: starting BIND 9.3.2 -t
/var/lib/named -u named
Aug  7 11:52:02 pegasus named[30132]: found 1 CPU, using 1 worker thread
Aug  7 11:52:02 pegasus named[30132]: log.c:1428: REQUIRE(module->id <
lctx->module_count) failed
Aug  7 11:52:02 pegasus named[30132]: exiting (due to assertion failure)



I could not find anything with Google about that.
What is lctx ? Which modules?


I tried than to use 9.3.2 without the patch and come to this result:
Aug  7 17:31:49 pegasus named[25692]: starting BIND 9.3.2 -t
/var/lib/named -u named
Aug  7 17:31:49 pegasus named[25692]: found 1 CPU, using 1 worker thread
Aug  7 17:31:49 pegasus named[25692]: loading configuration from
'/etc/named.conf'
Aug  7 17:31:49 pegasus named[25692]: set maximum open files to -1:
permission denied
Aug  7 17:31:49 pegasus named[25692]: listening on IPv6 interfaces, port 53
Aug  7 17:31:49 pegasus named[25692]: listening on IPv4 interface lo,
127.0.0.1#53
Aug  7 17:31:49 pegasus named[25692]: listening on IPv4 interface eth0,
220.133.88.226#53
Aug  7 17:31:49 pegasus named[25692]: command channel listening on
127.0.0.1#953
Aug  7 17:31:49 pegasus named[25692]: couldn't open pid file
'/usr/local/var/run/named.pid': No such file or directory
Aug  7 17:31:49 pegasus named[25692]: exiting (due to early fatal error)



I cannot find where the pid file is set to /usr/local/ instead of /var/lib.

I use SuSE 10.1 on AMD 64.
The patch for dzl I found at: http://projects.navynet.it/



I used (last 4 lines only with dlz):
./configure --prefix=/usr/local \
            --mandir=\$${prefix}/share/man \
            --infodir=\$${prefix}/share/info \
            --sysconfdir=/etc \
            --enable-threads \
            --with-libtool \
            --enable-shared \
            --enable-static \
            --with-openssl=/usr \
            --with-gnu-ld \
            --enable-ipv6 \
     --with-dlz-mysql \
     --with-dlz-bdb \
     --with-dlz-filesystem \
     --with-dlz-stub


Can anybody how to solve this problem, please?

bye

Ronald




--
Check the headers for your unsubscription address
For additional commands send e-mail to [hidden email]
Also check the archives at http://lists.suse.com
Please read the FAQs: [hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: bind problem

Per Jessen
Ronald Wiplinger wrote:

> Aug  7 17:31:49 pegasus named[25692]: couldn't open pid file
> '/usr/local/var/run/named.pid': No such file or directory
> Aug  7 17:31:49 pegasus named[25692]: exiting (due to early fatal
> error)
>
> I cannot find where the pid file is set to /usr/local/ instead of
> /var/lib.

That's done when you run the configure script - I think you need to set
maybe --datadir or --localdatadir or something like that.


/Per Jessen, Z├╝rich


--
Check the headers for your unsubscription address
For additional commands send e-mail to [hidden email]
Also check the archives at http://lists.suse.com
Please read the FAQs: [hidden email]