From: Ow Mun Heng <Ow.Mun.Heng@wdc.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Named problem, I'm beyond my depth and need a little help here
Date: Tue, 27 Sep 2005 16:50:59 +0800 [thread overview]
Message-ID: <1127811059.5961.20.camel@neuromancer.home.net> (raw)
In-Reply-To: <001801c5c33d$dfc15d20$0b200a0a@PowerMoneySex.Lan>
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
next prev parent reply other threads:[~2005-09-27 8:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-27 4:58 [gentoo-user] root (/) read-only? dave waddelove
2005-09-27 6:30 ` Dirk Heinrichs
2005-09-27 7:54 ` Neil Bothwick
2005-09-27 8:31 ` [gentoo-user] Named problem, I'm beyond my depth and need a little help here Bob Young
2005-09-27 8:50 ` Ow Mun Heng [this message]
2005-09-27 11:51 ` [gentoo-user] root (/) read-only? glumtail
2005-09-27 12:00 ` James Hiscock
2005-09-27 12:24 ` Uwe Thiem
2005-09-27 13:37 ` Jason Stubbs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1127811059.5961.20.camel@neuromancer.home.net \
--to=ow.mun.heng@wdc.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox