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 1EKBG5-00051q-Cl for garchives@archives.gentoo.org; Tue, 27 Sep 2005 08:56:17 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j8R8mOWQ029898; Tue, 27 Sep 2005 08:48:24 GMT Received: from wdscexfe01.sc.wdc.com (wdscexfe01.sc.wdc.com [129.253.170.53]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j8R8ig6E005769 for ; Tue, 27 Sep 2005 08:44:43 GMT Received: from neuromancer.home.net ([129.253.107.199]) by wdscexfe01.sc.wdc.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 27 Sep 2005 01:51:39 -0700 Received: from neuromancer.home.net (neuromancer.home.net [127.0.0.1]) by neuromancer.home.net (8.13.4/8.13.4) with ESMTP id j8R8p0lc007395 for ; Tue, 27 Sep 2005 16:51:00 +0800 Subject: Re: [gentoo-user] Named problem, I'm beyond my depth and need a little help here From: Ow Mun Heng To: gentoo-user@lists.gentoo.org In-Reply-To: <001801c5c33d$dfc15d20$0b200a0a@PowerMoneySex.Lan> References: <001801c5c33d$dfc15d20$0b200a0a@PowerMoneySex.Lan> Content-Type: text/plain Date: Tue, 27 Sep 2005 16:50:59 +0800 Message-Id: <1127811059.5961.20.camel@neuromancer.home.net> 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 X-Mailer: Evolution 2.2.3 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 27 Sep 2005 08:51:40.0388 (UTC) FILETIME=[AD5E2A40:01C5C340] X-Archives-Salt: f3140369-7a37-4f8d-9b8e-0d09b3a879bb X-Archives-Hash: 575f5367674a90b8aec4c9a1dae01359 On Tue, 2005-09-27 at 01:31 -0700, Bob Young wrote: > 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 # > > > ******************************************************************* Try setting "set -x" somewhere at the start of the init script and look at the verbose output. I figure it's something to do with ${OPTIONS} ${CHROOT:+-t $CHROOT} which I presume would be in /etc/conf.d/named(?) -- gentoo-user@gentoo.org mailing list