Re: named
On Sun, Aug 03, 2003 at 05:11:55PM +0200, Antonin Karasek wrote:
> Hello everybody,
> I tryed to run "named" (bind9) as non-root user. Here is a copy of comand
> line:
>
> $ /usr/sbin/named -u named
> $ ps -Af | grep named
> ... grep named
> $
>
> I didn't see any eror mesage :-/ Do I something wrong?
BIND is logging it, you're just not looking in the right place. Check
syslog logfiles (/var/log/daemon.log, /var/log/messages), or you can
start it in the foreground and log to STDERR:
$ named -g
03-Aug-2003 12:18:11.694 starting BIND 9.3.0s20020722 -g
03-Aug-2003 12:18:11.816 loading configuration from '/etc/named.conf'
03-Aug-2003 12:18:11.817 none:0: open: /etc/named.conf: file not found
03-Aug-2003 12:18:11.817 loading configuration: file not found
03-Aug-2003 12:18:11.817 exiting (due to fatal error)
Run it with "-g" and you'll see what's up for sure. My guess is that you
have no "named" user.
--
Nate
"Computers are useless. They can only give you answers." - Picasso,
Pablo (1881-1973)
Reply to:
- References:
- named
- From: "Antonin Karasek" <mr.phobos@seznam.cz>