From owner-freebsd-questions Sun Jan 18 13:01:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA12917 for questions-outgoing; Sun, 18 Jan 1998 13:01:37 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cedb.dpcsys.com (cedb.dpcsys.com [206.16.184.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA12886 for ; Sun, 18 Jan 1998 13:01:10 -0800 (PST) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by cedb.dpcsys.com (8.8.5/8.8.2) with SMTP id VAA02834; Sun, 18 Jan 1998 21:00:50 GMT Date: Sun, 18 Jan 1998 13:00:50 -0800 (PST) From: Dan Busarow To: Zula cc: FreeBSD-questions@FreeBSD.ORG Subject: Re: Named Problems. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk On Sun, 18 Jan 1998, Zula wrote: > named is starting at bootup.. but if I try to reload it... it does not > restart. in the /var/log/messages file I get this error. > > distance namedb[87]: reloading nameserver > distance namedb[87]: fcntl(dfd, F_DUPFD, 20): Too many open files -exiting > last message repeated 15 times > distance namedb[87]: socket(SOCK_DGRAM): Too many open -exiting > -------- > I am just running httpd and sendmail nothing strange. on a P100 32m You must be starting named before you ifconfig all of your virtual hosts. That's why it works at startup. Later when you reload it it will try to listen on every interface you have, meaning all your virtuals too. Not sure if you can deal with this in 4.9.x but in 8.1.x there is an option options { listen-on 123.123.123.123; . . } that will fix this. You'll need to convert your named.boot file to the new named.conf format but a utility is included that does a good job of this. You're going to need to switch to 8.1.x sooner or later so this is probably a good reason to do it. Compiles out of the box on 2.2.x FBSD. Dan -- Dan Busarow 714 443 4172 DPC Systems / Beach.Net dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82