--enable-threads=yes
In message <[EMAIL PROTECTED]>, pollex writes: > On 3 dic, 21:08, Mark Andrews <[EMAIL PROTECTED]> wrote: > > In message <[EMAIL PROTECTED] > 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=3D"-ISC_SOCKET_FDSETSIZE=3D4096" ./configure --prefix=3D/u= > 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=3D"-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 because > > > bin runs in jail) > > > > > Any idea? (With the previous version this works ok) > > > > =A0 =A0 =A0 =A0 Log messages would be useful. > > > > =A0 =A0 =A0 =A0 What does the following report? > > =A0 =A0 =A0 =A0 "named -g -u bind -n 8 -t /var/lib/named -c /etc/bind/nam= > 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 =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 > > 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' !=3D zone class > '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 > 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