FW: 9.5.0-P2 and socket: too many open file descriptors

Binmakhashen, Latif Latif.Binmakhashen at omnicare.com
Thu Aug 14 22:31:33 UTC 2008


Never mind, this is the right command to start in chrooted using the
directory /var/named.
Here it is if someone is interested.

# /opt/bind/sbin/named -c /etc/named.conf -t /var/named -d 1 -g
14-Aug-2008 13:08:41.189 starting BIND 9.5.0-P2 -c /etc/named.conf -t
/var/named -d 1 -g
14-Aug-2008 13:08:41.201 loading configuration from '/etc/named.conf'
14-Aug-2008 13:08:41.203 listening on IPv6 interfaces, port 53
14-Aug-2008 13:08:41.205 listening on IPv4 interface lo0, 127.0.0.1#53
14-Aug-2008 13:08:41.205 listening on IPv4 interface fxp0, 10.0.20.8#53
14-Aug-2008 13:08:41.213 default max-cache-size (33554432) applies
14-Aug-2008 13:08:41.216 automatic empty zone: 0.IN-ADDR.ARPA
14-Aug-2008 13:08:41.217 automatic empty zone: 254.169.IN-ADDR.ARPA
14-Aug-2008 13:08:41.217 automatic empty zone: 2.0.192.IN-ADDR.ARPA
14-Aug-2008 13:08:41.218 automatic empty zone:
255.255.255.255.IN-ADDR.ARPA
14-Aug-2008 13:08:41.218 automatic empty zone:
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
14-Aug-2008 13:08:41.218 automatic empty zone:
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
14-Aug-2008 13:08:41.218 automatic empty zone: D.F.IP6.ARPA
14-Aug-2008 13:08:41.219 automatic empty zone: 8.E.F.IP6.ARPA
14-Aug-2008 13:08:41.219 automatic empty zone: 9.E.F.IP6.ARPA
14-Aug-2008 13:08:41.219 automatic empty zone: A.E.F.IP6.ARPA
14-Aug-2008 13:08:41.220 automatic empty zone: B.E.F.IP6.ARPA
14-Aug-2008 13:08:41.224 default max-cache-size (33554432) applies: view
_bind
14-Aug-2008 13:08:41.227 command channel listening on 127.0.0.1#953
14-Aug-2008 13:08:41.228 errno2result.c:111: unexpected error:
14-Aug-2008 13:08:41.228 unable to convert errno to isc_result: 6:
Device not configured
14-Aug-2008 13:08:41.229 could not open entropy source /dev/arandom:
unexpected error
14-Aug-2008 13:08:41.229 using pre-chroot entropy source /dev/arandom
14-Aug-2008 13:08:41.229 ignoring config file logging statement due to
-g option
14-Aug-2008 13:08:41.231 load_configuration: success
14-Aug-2008 13:08:41.232 zone 0.IN-ADDR.ARPA/IN: starting load
14-Aug-2008 13:08:41.232 zone 0.IN-ADDR.ARPA/IN: loaded
14-Aug-2008 13:08:41.351 zone 127.in-addr.arpa/IN: starting load
14-Aug-2008 13:08:41.361 zone 127.in-addr.arpa/IN: journal rollforward
completed successfully: no journal
14-Aug-2008 13:08:41.362 zone 127.in-addr.arpa/IN: loaded
14-Aug-2008 13:08:41.362 zone 127.in-addr.arpa/IN: loaded serial 1
14-Aug-2008 13:08:41.362 zone 254.169.IN-ADDR.ARPA/IN: starting load
14-Aug-2008 13:08:41.362 zone 254.169.IN-ADDR.ARPA/IN: loaded
14-Aug-2008 13:08:41.363 zone 2.0.192.IN-ADDR.ARPA/IN: starting load
14-Aug-2008 13:08:41.363 zone 2.0.192.IN-ADDR.ARPA/IN: loaded
14-Aug-2008 13:08:41.364 zone 255.255.255.255.IN-ADDR.ARPA/IN: starting
load
14-Aug-2008 13:08:41.364 zone 255.255.255.255.IN-ADDR.ARPA/IN: loaded
14-Aug-2008 13:08:41.364 zone
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/I
N: starting load
14-Aug-2008 13:08:41.366 zone
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/I
N: journal rollforward completed successfully: no journal
14-Aug-2008 13:08:41.367 zone
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/I
N: loaded
14-Aug-2008 13:08:41.367 zone
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/I
N: loaded serial 1
<<SNIP>>

Thanks
Latif 
 
-- NOTICE --
This e-mail message is confidential, intended only for the named
recipient(s) above and may contain information that is privileged or
exempt from disclosure under applicable law. If you have received this
message in error, or are not the named recipient(s), please immediately
notify the sender and delete this e-mail message from your computer.


-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org] On
Behalf Of Kevin Darcy
Sent: Thursday, August 14, 2008 5:29 PM
To: bind-users at isc.org
Subject: Re: FW: 9.5.0-P2 and socket: too many open file descriptors

Your file pathnames need to be relative to the chroot.

Do you have a config file at /var/named/opt/bind/etc/named.conf? 
Apparently you don't.

If you don't want to use the compiled-in pathname for /etc/named.conf, 
you might want to use the -c option to specify a different 
(chroot-relative) pathname.

                                                                   -
Kevin

Binmakhashen, Latif wrote:
> Do you guys know how to start the new version of bind in BSD with
chrooted "-t /var/named"?
> I'm trying to make bind-9.5.0-P2 to start using the config files + the
rndc.conf under /var/named and not from /opt/bind?
>
> # ./named -g
> 14-Aug-2008 11:52:10.971 starting BIND 9.5.0-P2 -g
> 14-Aug-2008 11:52:10.983 loading configuration from
'/opt/bind/etc/named.conf'
> 14-Aug-2008 11:52:10.985 listening on IPv6 interfaces, port 53
> 14-Aug-2008 11:52:10.987 listening on IPv4 interface lo0, 127.0.0.1#53
> 14-Aug-2008 11:52:10.987 listening on IPv4 interface fxp0,
10.0.20.8#53
> 14-Aug-2008 11:52:10.988 could not configure root hints from
'standard/root.hint': file not found
> 14-Aug-2008 11:52:10.989 loading configuration: file not found
> 14-Aug-2008 11:52:10.990 exiting (due to fatal error)
>
> # ./named -t /var/named -g
> 14-Aug-2008 11:52:30.503 starting BIND 9.5.0-P2 -t /var/named -g
> 14-Aug-2008 11:52:30.515 loading configuration from
'/opt/bind/etc/named.conf'
> 14-Aug-2008 11:52:30.516 none:0: open: /opt/bind/etc/named.conf: file
not found
> 14-Aug-2008 11:52:30.517 loading configuration: file not found
> 14-Aug-2008 11:52:30.517 exiting (due to fatal error)
> #
>
>
> Thanks
>
>  
> -- NOTICE --
> This e-mail message is confidential, intended only for the named
recipient(s) above and may contain information that is privileged or
exempt from disclosure under applicable law. If you have received this
message in error, or are not the named recipient(s), please immediately
notify the sender and delete this e-mail message from your computer.
>
>
> -----Original Message-----
> From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org] On
Behalf Of Fr34k
> Sent: Thursday, August 14, 2008 4:37 PM
> To: bind-users at isc.org
> Subject: Re: FW: 9.5.0-P2 and socket: too many open file descriptors
>
> Hello,
> Not necessarily a requirement.
> If you are seeing "socket: too many open file descriptors" messages,
then making the compile change for FD may be something that you want to
try and test.
> >From what I've seen for our environment, 9.5.1b1 has been the best
9.5.x version as long as it stays running :)
> For stability, we are testing hacks to 9.5.0-P2
> TIA
>
>
>
> ----- Original Message ----
> From: "Binmakhashen, Latif" <Latif.Binmakhashen at omnicare.com>
> To: Jinmei_Tatuya at isc.org
> Cc: bind-users at isc.org
> Sent: Thursday, August 14, 2008 4:13:52 PM
> Subject: RE: FW: 9.5.0-P2 and socket: too many open file descriptors
>
> I've compiled bind for HP-UX and OpenBSD 3.7.
> I've seen a lot of emails about the FD_SETSIZE?
> Does HP-UX or OpenBSD requires a compile time change to FD_SETSIZE?
>
>
> Latif 
>
>
> -- NOTICE --
> This e-mail message is confidential, intended only for the named
> recipient(s) above and may contain information that is privileged or
> exempt from disclosure under applicable law. If you have received this
> message in error, or are not the named recipient(s), please
immediately
> notify the sender and delete this e-mail message from your computer.
>
>
> -----Original Message-----
> From: Jinmei_Tatuya at isc.org [mailto:Jinmei_Tatuya at isc.org] 
> Sent: Thursday, August 14, 2008 3:09 PM
> To: Binmakhashen, Latif
> Cc: bind-users at isc.org
> Subject: Re: FW: 9.5.0-P2 and socket: too many open file descriptors
>
> At Thu, 14 Aug 2008 15:01:04 -0400,
> "Binmakhashen, Latif" <Latif.Binmakhashen at omnicare.com> wrote:
>   
>> Is HP-UX and OpenBSD 3.7 affected by this value as well?
>>
>> I compiled them as following:
>>
>> ./configure --prefix=/opt/bind 
>>
>> Please let me know as I'm concern about this.
>>     
>
> I don't understand the question.  What do you exactly mean by
> "affected" and "this value"?  It would be helpful if you could provide
> more background details.
>
> ---
> JINMEI, Tatuya
> Internet Systems Consortium, Inc.
> -- NOTICE -- 
> The information transmitted is intended only for the person or
> entity to which it is addressed and may contain confidential and/or
> privileged material, the disclosure of which is governed by
> applicable law. Any review, retransmission, dissemination or other
> use of, or taking of any action in reliance upon, this information
> by persons or entities other than the intended recipient is
> prohibited. If you received this in error please contact the sender
> and destroy the materials contained in this message.
>
>
>
>
>   




More information about the bind-users mailing list