Some help with BIND9 settings!
Tasha Smith
tashamaillist
Mon May 17 11:43:46 PDT 2004
Ok ...soo here is what the output is of ' ls -lad /var/run '
drwxrwxr-x 6 root daemon 4096 Jan 31 2:08 /var/run
I tryed to start it again by running this command:
/etc/rc.d/named start
but get the same error!
Here is what i got in my /etc/rc.d/named file:
#!/bin/sh
case "$1" in
start)
/usr/sbin/named -u named
;;
stop)
killall `pidof named` &>/dev/null
;;
esac
Net Llama! <netllama at linux-sxs.org> wrote:On Fri, 31 Jan 2003, Tasha Smith wrote:
>
> Ok UPDATE....
> I created my root.hints file from copying this file from:
> ftp://rs.internic.net/domain/named.root
> And named it root.hints in my /var/named directory. and then tryed to start named but got this error now:
> Jan 31 02:00:36 bhr2113y53tl named[1003]: starting BIND 9.2.2rc1 -u named
> Jan 31 02:00:36 bhbr2113y53tl named[1003]: using 1 CPU
> Jan 31 02:00:36 bhbr2113y53tl named[1005]: loading configuration from '/etc/named.conf'
> Jan 31 02:00:36 bhbr2113y53tl named[1005]: no IPv6 interfaces found
> Jan 31 02:00:36 bhbr2113y53tl named[1005]: listening on IPv4 interface lo, 127.0.0.1#53
> Jan 31 02:00:36 bhbr2113y53tl named[1005]: listening on IPv4 interface eth1, 192.168.0.1#53
> Jan 31 02:00:36 bhbr2113y53tl named[1005] : command channel listening on 127.0.0.1#953
>
> Jan 31 02:00:36 bhbr2113y53tl named[1005] :14:1539.896general: critical: couldnt open pid file /var/run/named.pid' : Permission denied
That error is fairly explicit. Either you have a stale PID file,
/var/run/named, which should be deleted. Or you have a stale PID file
with permissions that prevent named from deleting & recreating it. Either
way, delete the PID file, and try again. And please, fix your wordwrap to
something under 80 char/line.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman netllama at linux-sxs.org
Linux Step-by-step & TyGeMo http://netllama.ipfox.com
_______________________________________________
Linux-users mailing list
Linux-users at linux-sxs.org
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.linux-sxs.org/pipermail/linux-users/attachments/20030131/5f004911/attachment.htm
More information about the Linux-users
mailing list