BenRussell
Programmer
I am running BIND 9.2.4 and am having a problem. I am trying to include another .conf file but am getting an error every time I try. I edited /etc/named.conf (Im also on a Fedora Core 3 box) and added this:
However, when I issue the command (over SSH) of "service named start" I get this error:
I know for a fact that the file exists even though the above error says it does not. I also checked it with named-checkconf and it gave me no errors. It is also owned by root. Any ideas what the problem could be?
- Ben
Code:
include "/usr/share/mysite/named.conf";
However, when I issue the command (over SSH) of "service named start" I get this error:
Code:
[b]service named start[/b]
Starting named: /etc/named.conf:25: open: /usr/share/mysite/named.conf: file not found
Jul 06 18:43:09.123 starting BIND 9.2.4 -g
Jul 06 18:43:09.124 using 2 CPUs
Jul 06 18:43:09.129 loading configuration from '/etc/named.conf'
Jul 06 18:43:09.131 listening on IPv4 interface lo, 127.0.0.1#53
Jul 06 18:43:09.132 listening on IPv4 interface eth0, 65.38.3.6#53
Jul 06 18:43:09.138 command channel listening on 127.0.0.1#953
Jul 06 18:43:09.139 command channel listening on ::1#953
Jul 06 18:43:09.139 ignoring config file logging statement due to -g option
Jul 06 18:43:09.139 couldn't open pid file '/var/run/named/named.pid': Permission denied
Jul 06 18:43:09.139 exiting (due to early fatal error)
Error in configuration file /etc/named.conf : [FAILED]
I know for a fact that the file exists even though the above error says it does not. I also checked it with named-checkconf and it gave me no errors. It is also owned by root. Any ideas what the problem could be?
- Ben