From owner-freebsd-questions@FreeBSD.ORG Wed Sep 21 21:36:35 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 7CAC316A41F for ; Wed, 21 Sep 2005 21:36:35 +0000 (GMT) (envelope-from lisa@jellico.com) Received: from mail.jellico.com (mail.jellico.com [63.162.128.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1782643D45 for ; Wed, 21 Sep 2005 21:36:34 +0000 (GMT) (envelope-from lisa@jellico.com) Received: from lisac (lisa.jellico.com [63.162.128.213]) by mail.jellico.com (8.12.6/8.12.6) with ESMTP id j8LLefDd001514 for ; Wed, 21 Sep 2005 17:40:41 -0400 Message-ID: <001d01c5bef4$82565200$d580a23f@lisac> From: "Lisa Casey" To: Date: Wed, 21 Sep 2005 17:36:20 -0400 Organization: Netlink 2000, Inc. MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1 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 21:36:35 -0000 Hi Folks, I seem to have basically screwed things up, so maybe I can get some help getting straightened out. For a long time, I ran apache 2 and bind 8.2.5 on FreeBSD 3.2. Granted 3.2 is old, my server was getting older, so I set up a new box and installed FreeBSD 5.3 I did not realise installing FreeBSD would automatically install Bind 9.3. I figured if I needed to run bind I'ld have to install it. I didn't want to make too many changes at once so I installed bind 8.4 from ports. Now I seem to have both bind 8.4 and bind 9.3 installed. Probably not a good situation. 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). 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. My /etc/rc.conf looks like this: # This file now contains just the overrides from /etc/defaults/rc.conf. # Please make all changes to this file, not to /etc/defaults/rc.conf. # Enable network daemons for user convenience. # Created: Thu Sep 15 14:11:28 2005 # -- sysinstall generated deltas -- # Thu Sep 15 09:29:00 2005 # Created: Thu Sep 15 09:29:00 2005 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter="63.162.128.1" hostname="netlink.jellico.com" ifconfig_fxp0="inet 63.162.128.4 netmask 255.255.254.0" inetd_enable="YES" linux_enable="YES" usbd_enable="YES" apache_enable="YES" named_enable="YES" named_program="/usr/local/sbin/named" named_flags="-u bind -g bind -c /usr/local/etc/named.conf" 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' So I log on, start named manually and it starts: Sep 21 17:02:14 netlink su: lisa to root on /dev/ttyp0 Sep 21 17:02:52 netlink named[495]: 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:52 netlink named[495]: limit files set to fdlimit (1024) Sep 21 17:02:53 netlink named[496]: Ready to answer queries. What is wrong here? I'm sorry to keep bugging you guys but I need to get this fixed. Also: I have the Complete FreeBSD third edition, but I don't think it is going to be as useful for FreeBSD 5.3 as it was for FreeBSD 3.2. Reccomendations for a good book to help me with the 5.3?? Thank you so much, Lisa Casey