You are not logged in.
Pages: 1
Hey
I've just set up bind on my Arch box, but I can't get it to run as the named user.
I get this in /var/log/errors.log:
Mar 29 14:51:11 vostok named[10422]: none:0: open: /etc/named.conf: file not found
I've checked permissions and ownership on /etc/named.conf, and it's fine:
[root@vostok etc]# ls -l named.conf
-rw-rw---- 1 named named 408 2008-03-29 14:24 named.conf
So I'm a bit puzzled as to what the problem is?
I had a quick google about but most of the issues seem to be with BSD and running with fakeroot, something which I don't know a great deal about.
I can run named fine as root, but obviously I'd rather not.
Any help appreciated.
Last edited by russ0r (2008-03-29 15:07:42)
Offline
cat /etc/conf.d/named
#
# Parameters to be passed to BIND
#
NAMED_ARGS="-u named"
Offline
Cheers brebs. Changed /etc/conf.d/named to yours above, then I got:
Mar 29 15:31:02 vostok named[10567]: couldn't open pid file '/var/run/named.pid': Permission denied
Mar 29 15:31:02 vostok named[10567]: exiting (due to early fatal error)
in /var/log/daemon.log.
So under 'options' in /etc/named.conf I put:
pid-file "/var/run/named/named.pid";
And it works now
Thanks.
Offline
Pages: 1