In message <[EMAIL PROTECTED]>, pollex writes: > On 4 dic, 10:59, Mark Andrews <[EMAIL PROTECTED]> wrote: > > =A0 =A0 =A0 =A0 --enable-threads=3Dyes > > > > In message <[EMAIL PROTECTED] > com>, > > > > pollex writes: > > > On 3 dic, 21:08, Mark Andrews <[EMAIL PROTECTED]> wrote: > > > > In message <[EMAIL PROTECTED] > ups.=3D > > > com>, > > > > > > pollex writes: > > > > > Hi Jinmei I have followed your advice and I have installed and > > > > > compiled the Bind 9.3.6 with the following command: > > > > > STD_CDEFINES=3D3D"-ISC_SOCKET_FDSETSIZE=3D3D4096" ./configure --pre= > fix=3D3D/u=3D > > > sr/ > > > > > local/bind9.3.6 --enable-threads > > > > > But now I have the following issue, I can't start bind with multi > > > > > threading... > > > > > I have in the init script the lines: > > > > > OPTIONS=3D3D"-u bind -n 8 -t /var/lib/named -c /etc/bind/named.conf" > > > > > and in the start part: > > > > > mount --bind /proc/ /var/lib/named/proc/ -o ro (This is needed beca= > use > > > > > bin runs in jail) > > > > > > > Any idea? (With the previous version this works ok) > > > > > > =3DA0 =3DA0 =3DA0 =3DA0 Log messages would be useful. > > > > > > =3DA0 =3DA0 =3DA0 =3DA0 What does the following report? > > > > =3DA0 =3DA0 =3DA0 =3DA0 "named -g -u bind -n 8 -t /var/lib/named -c /= > etc/bind/nam=3D > > > ed.conf" > > > > > > > Thanks for all > > > > > > > _______________________________________________ > > > > > bind-users mailing list > > > > > [EMAIL PROTECTED] > > > > >https://lists.isc.org/mailman/listinfo/bind-users > > > > > > -- > > > > Mark Andrews, ISC > > > > 1 Seymour St., Dundas Valley, NSW 2117, Australia > > > > PHONE: +61 2 9871 4742 =3DA0 =3DA0 =3DA0 =3DA0 =3DA0 =3DA0 =3DA0 =3DA= > 0 INTERNET: Mark_And=3D > > > [EMAIL PROTECTED] > > > > _______________________________________________ > > > > bind-users mailing list > > > > [EMAIL PROTECTED]://lists.isc.org/mailman/listinfo/bind-u= > sers > > > > > Mark, thanks for the reply > > > this is the report: > > > 04-Dec-2008 09:52:54.950 starting BIND 9.3.6 -g -u bind -n 8 -t /var/ > > > lib/named -c /etc/bind/named.conf > > > 04-Dec-2008 09:52:54.950 using up to 4096 sockets > > > 04-Dec-2008 09:52:54.954 loading configuration from '/etc/bind/ > > > named.conf' > > > 04-Dec-2008 09:52:54.956 using default UDP/IPv4 port range: [1024, > > > 65535] > > > 04-Dec-2008 09:52:54.956 using default UDP/IPv6 port range: [1024, > > > 65535] > > > 04-Dec-2008 09:52:54.958 listening on IPv4 interface lo, 127.0.0.1#53 > > > 04-Dec-2008 09:52:54.958 could not listen on UDP socket: address in > > > use > > > > 04-Dec-2008 09:52:54.958 creating IPv4 interface lo failed; interface > > > > > ignored > > > 04-Dec-2008 09:52:54.958 listening on IPv4 interface eth1, > > > ###.###.#.### #53 > > > 04-Dec-2008 09:52:54.958 could not listen on UDP socket: address in > > > use > > > 04-Dec-2008 09:52:54.958 creating IPv4 interface eth1 failed; > > > interface ignored > > > 04-Dec-2008 09:52:54.958 not listening on any interfaces > > > 04-Dec-2008 09:52:54.959 /etc/bind/named.conf:80: couldn't add command > > > channel 127.0.0.1#953: address in use > > > 04-Dec-2008 09:52:54.959 ignoring config file logging statement due to > > > -g option > > > 04-Dec-2008 09:52:54.960 additionally listening on IPv4 interface lo, > > > 127.0.0.1#53 > > > 04-Dec-2008 09:52:54.960 could not listen on UDP socket: address in > > > use > > > 04-Dec-2008 09:52:54.960 creating IPv4 interface lo failed; interface > > > ignored > > > 04-Dec-2008 09:52:54.960 additionally listening on IPv4 interface > > > eth1, ###.###.#.### #53 > > > 04-Dec-2008 09:52:54.960 could not listen on UDP socket: address in > > > use > > > 04-Dec-2008 09:52:54.960 creating IPv4 interface eth1 failed; > > > interface ignored > > > 04-Dec-2008 09:52:54.961 zone 0.in-addr.arpa/IN: loaded serial 1 > > > 04-Dec-2008 09:52:54.961 zone 127.in-addr.arpa/IN: loaded serial 1 > > > 04-Dec-2008 09:52:54.962 zone 255.in-addr.arpa/IN: loaded serial 1 > > > 04-Dec-2008 09:52:54.962 /etc/bind/db.bind:5: class 'CH' !=3D3D zone cl= > ass > > > 'IN' > > > 04-Dec-2008 09:52:54.962 zone bind/IN: loading master file /etc/bind/ > > > db.bind: bad class > > > 04-Dec-2008 09:52:54.962 zone localhost/IN: loaded serial 1 > > > 04-Dec-2008 09:52:54.962 running > > > 04-Dec-2008 09:52:56.244 shutting down > > > 04-Dec-2008 09:52:56.245 exiting > > > > > In the other version i had a line like this > > > found X CPUs, using X worker threads > > > > > Thanks again > > > _______________________________________________ > > > bind-users mailing list > > > [EMAIL PROTECTED] > > >https://lists.isc.org/mailman/listinfo/bind-users > > > > -- > > Mark Andrews, ISC > > 1 Seymour St., Dundas Valley, NSW 2117, Australia > > PHONE: +61 2 9871 4742 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 INTERNET: Mark_And= > [EMAIL PROTECTED] > > _______________________________________________ > > bind-users mailing list > > [EMAIL PROTECTED]://lists.isc.org/mailman/listinfo/bind-users > > Ok Mark, I can try that... > But in the config.log I see the lines: > checking whether to build with thread support... yes > checking whether to build with threads... yes > > So I think putting only --enable-threads is the same.
Run "grep THREAD config.log" and post what it returns. > > _______________________________________________ > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: [EMAIL PROTECTED] _______________________________________________ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users