From owner-freebsd-questions@FreeBSD.ORG Wed Sep 21 22:45:52 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F9B016A41F for ; Wed, 21 Sep 2005 22:45:52 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from smtp01.mrf.mail.rcn.net (smtp01.mrf.mail.rcn.net [207.172.4.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2357A43D4C for ; Wed, 21 Sep 2005 22:45:51 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from 209-6-103-209.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.103.209]) by smtp01.mrf.mail.rcn.net with ESMTP; 21 Sep 2005 18:45:50 -0400 X-IronPort-AV: i="3.97,133,1125892800"; d="scan'208"; a="85600355:sNHT21428248" From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17201.58057.478452.794562@jerusalem.litteratus.org> Date: Wed, 21 Sep 2005 18:46:33 -0400 To: In-Reply-To: <001d01c5bef4$82565200$d580a23f@lisac> References: <001d01c5bef4$82565200$d580a23f@lisac> X-Mailer: VM 7.17 under 21.5 (beta22) "cucumber" (+CVS-20050913) XEmacs Lucid Subject: Question about Bind X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2005 22:45:52 -0000 Lisa Casey writes: > Now I seem to have both bind 8.4 and bind 9.3 installed. Probably > not a good situation. True. :-) > What I suppose I ought to do is to uninstall the bind 8.4 and > keep the bind 9.3. How do I do that? I have never worked with > ports before (although I think I'll like it once I get used to > it). 1) Make a copy of the bind 9 configuration directory. 2) Uninstall the bind 8 port. 3) Rebuild "world" per Handbook chapter 20.4. This will reinstall bind 9. > Also - and this is a biggie. named and apache do not start on > bootup and I NEED this to happen. I have asked for help on this > on this list and on the bind usenet group and implemented the > syggestions I got but if I reboot the box named and apache do not > start. I have to start these manually. > > > When I reboot I see this in /var/log/messages: > > Sep 21 17:02:00 netlink named[291]: starting (/usr/local/etc/named.conf). > named > 8.4.4 Thu Sep 15 16:42:34 EDT 2005 > lisa@netlink.jellico.com:/usr/ports/dns/ > bind84/work/src/bin/named > Sep 21 17:02:00 netlink named[291]: limit files set to fdlimit (1024) > Sep 21 17:02:00 netlink named[291]: can't open '/usr/local/etc/named.conf' > Sep 21 17:02:00 netlink named[291]: can't open '/usr/local/etc/named.conf' Assuming the file esists, this smells like a permissions issue. May we see a directory liting for the file, like this: -rwx------ 1 root wheel 3346 Sep 19 01:19 named.conf As for apache, may we see a directory listing for everything in /usr/local/etc/rc.d? Robert Huff