BIND 9.3.4 problem
Please help me
When I write this command /usr/sbin/named -g
I always get this message
22-Oct-2007 12:03:49.626 starting BIND 9.3.4-P1 -g
22-Oct-2007 12:03:49.628 found 1 CPU, using 1 worker thread
22-Oct-2007 12:03:49.635 loading configuration from '/etc/named.conf'
22-Oct-2007 12:03:49.639 listening on IPv4 interface lo, 127.0.0.1#53
22-Oct-2007 12:03:49.642 binding TCP socket: address in use
22-Oct-2007 12:03:49.643 listening on IPv4 interface eth0, 192.168.1.29#53
22-Oct-2007 12:03:49.645 binding TCP socket: address in use
22-Oct-2007 12:03:49.652 couldn't add command channel 127.0.0.1#953: address in use
22-Oct-2007 12:03:49.653 couldn't add command channel ::1#953: address in use
22-Oct-2007 12:03:49.655 ignoring config file logging statement due to -g option
22-Oct-2007 12:03:49.656 couldn't open pid file '/var/run/named/named.pid': Permission denied
22-Oct-2007 12:03:49.657 exiting (due to early fatal error)
so please any on can tell me what to do ????
Couple of things to look at/for:
Type in the following;
This will show you if named is already running. You only want named to run once. If named is running then you don't need to stop it again. also you should be root to start named as that is why you see the Permission denied in the logs.
ps -ef | grep named