configuration problems

massive

Verified User
Joined
Feb 16, 2006
Messages
299
I have this log
________________________________________
-bash-3.00# tail -f /var/log/messages
Feb 28 18:07:41 www network: Setting network parameters: succeeded
Feb 28 18:07:42 www network: Bringing up loopback interface: succeeded
Feb 28 18:07:44 www network: Bringing up interface eth0: succeeded
Feb 28 18:17:21 www named[1960]: starting BIND 9.2.4
Feb 28 18:17:21 www named[1960]: using 1 CPU
Feb 28 18:17:21 www named[1960]: loading configuration from '/etc/named.conf'
Feb 28 18:17:21 www named[1960]: /etc/named.conf:3: change directory to '/var/named' failed: permission denied
Feb 28 18:17:21 www named[1960]: /etc/named.conf:3: parsing failed
Feb 28 18:17:21 www named[1960]: loading configuration: permission denied
Feb 28 18:17:21 www named[1960]: exiting (due to fatal error)
____________________________________

which cause bind not to start.

Any help?
 
You don't say what OS distribution you're using and that makes a big difference as different systems set up BIND (the Berkeley Internet Named Daemon) and it's configuration differently. However they should all work through links installed by the OS to make them look standard.

Your clue is that BIND cannot change it's directory to /var/named, which means either the directory doesn't exist, or bind doesn't have enough rights to open it, or if it's a directory and not a link to a directory, that it doesn't have the x attribute set for the ownership necessary for BIND to open it.

Jeff
 
Centos 4.2

I reinstalled bind and i have this :
______________________________________
Feb 28 19:29:45 www named[1791]: starting BIND 9.2.4
Feb 28 19:29:45 www named[1791]: using 1 CPU
Feb 28 19:29:45 www named[1791]: loading configuration from '/etc/named.conf'
Feb 28 19:29:45 www named[1791]: no IPv6 interfaces found
Feb 28 19:29:45 www named[1791]: listening on IPv4 interface lo, 127.0.0.1#53
Feb 28 19:29:45 www named[1791]: listening on IPv4 interface eth0, 207.210.229.79#53
Feb 28 19:29:45 www named[1791]: listening on IPv4 interface eth0:0, 207.210.229.99#53
Feb 28 19:29:45 www named[1791]: command channel listening on 127.0.0.1#953
Feb 28 19:29:45 www named[1791]: couldn't open pid file '/var/run/named/named.pid': Permission denied
Feb 28 19:29:45 www named[1791]: exiting (due to early fatal error)
______________________________________

I tried to reinstall with yum install bind-chroot.i386
and i have this :
_______________________________________
Running Transaction
Installing: bind ######################### [1/2]
Installing: bind-chroot ######################### [2/2]
error: %post(bind-chroot-9.2.4-2.i386) scriptlet failed, exit status 1
_______________________________________

(Sorry but i am newbie)
 
Last edited:
Back
Top