From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1EKB0J-0004Jp-VK for garchives@archives.gentoo.org; Tue, 27 Sep 2005 08:40:00 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j8R8VZeo000295; Tue, 27 Sep 2005 08:31:35 GMT Received: from b.mail.sonic.net (b.mail.sonic.net [64.142.19.5]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j8R8Obwo004062 for ; Tue, 27 Sep 2005 08:24:37 GMT Received: from opteron2 (69-12-134-72.dsl.static.sonic.net [69.12.134.72]) by b.mail.sonic.net (8.13.3/8.13.3) with ESMTP id j8R8Va93003807 for ; Tue, 27 Sep 2005 01:31:36 -0700 From: "Bob Young" To: Subject: [gentoo-user] Named problem, I'm beyond my depth and need a little help here Date: Tue, 27 Sep 2005 01:31:36 -0700 Message-ID: <001801c5c33d$dfc15d20$0b200a0a@PowerMoneySex.Lan> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <20050927085454.5f11d0ad@hactar.digimed.co.uk> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Archives-Salt: b3e3340f-147a-48ba-983d-6f0e7181b4a3 X-Archives-Hash: 49c4f32c09fd8f524be91204f6c5eef7 Installed 2.6.11-hardnend-r15 to use as a secondary DNS server for the four domains I have. I can get named to start but it's by brute force, and I want to understand/fix the problem with it not starting via the default init script. Here is what the start{} section of /etc/init.d/named looked like originally: start() { ebegin "Starting ${CHROOT:+chrooted }named" checkconfig || return 1 start-stop-daemon --start --quiet --pidfile ${PIDFILE} --exec /usr/sbin/named -u named -n ${CPU} ${OPTIONS} ${CHROOT:+-t $CHROOT} eend $? } With that init script, here is the result I get: ns BYoung # /etc/init.d/named start * Starting named ... usage: named [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] named: extra command line arguments [ !! ] ns BYoung # ******************************************************************* If I change the start{} section of /etc/init.d/named to this: start() { ebegin "Starting ${CHROOT:+chrooted }named" checkconfig || return 1 /usr/sbin/named -u named -n 1 eend $? } Then I get this result: ns BYoung # /etc/init.d/named start * Re-caching dependency info (mtimes differ)... * Starting named ... [ ok ] ns BYoung # 1. Why does the original version of the init script not work? 2. What I can change so that it will work? Please don't hesitate to ask for further information if there is something I've left out that would be relevant or helpful. Thanks for any Help Bob Young -- gentoo-user@gentoo.org mailing list