hello there , happy new year everybody
having trouble with setting up a DNS server,
the named -g command shows the following output
 
Jan 05 00:20:17.550 starting BIND 9.1.0 -g
Jan 05 00:20:17.555 using 1 CPU
Jan 05 00:20:17.565 loading configuration from '/etc/named.conf'
Jan 05 00:20:17.576 the default for the 'auth-nxdomain' option is now 'no'
Jan 05 00:20:17.592 no IPv6 interfaces found
Jan 05 00:20:17.597 listening on IPv4 interface lo, 127.0.0.1#53
Jan 05 00:20:17.612 ignoring config file logging statement due to -g option
Jan 05 00:20:17.616 couldn't open pid file '/var/run/named/named.pid': Permission denied
Jan 05 00:20:17.619 exiting (due to early fatal error)
 
why can't it open named.pid ?
went to /var/run/named and there is no named.pid there
created one and then ran named -g and then it says  Jan 05 00:20:17.616 couldn't open pid file '/var/run/named/named.pid': File exists
so where am i going wrong ?
 
 

Reply via email to