From: "Bob Young" <RKY@Sonic.Net>
To: <gentoo-user@lists.gentoo.org>
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 [thread overview]
Message-ID: <001801c5c33d$dfc15d20$0b200a0a@PowerMoneySex.Lan> (raw)
In-Reply-To: <20050927085454.5f11d0ad@hactar.digimed.co.uk>
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
next prev parent reply other threads:[~2005-09-27 8:40 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 ` Bob Young [this message]
2005-09-27 8:50 ` [gentoo-user] Named problem, I'm beyond my depth and need a little help here Ow Mun Heng
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='001801c5c33d$dfc15d20$0b200a0a@PowerMoneySex.Lan' \
--to=rky@sonic.net \
--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