Did you disable apparmor? If not, try the following:
Disable AppArmor
/etc/init.d/apparmor stop
update-rc.d -f apparmor remove
After that, restart bind. If it works, then you're good to go, if not, then try redoing the following steps:
Create the necessary directories under /var/lib:
mkdir -p /var/lib/named/etc
mkdir /var/lib/named/dev
mkdir -p /var/lib/named/var/cache/bind
mkdir -p /var/lib/named/var/run/bind/run
Then move the config directory from /etc to /var/lib/named/etc:
mv /etc/bind /var/lib/named/etc
Create a symlink to the new config directory from the old location (to avoid problems when bind gets updated in the future):
ln -s /var/lib/named/etc/bind /etc/bind
Make null and random devices, and fix permissions of the directories:
mknod /var/lib/named/dev/null c 1 3
mknod /var/lib/named/dev/random c 1 8
chmod 666 /var/lib/named/dev/null /var/lib/named/dev/random
chown -R bind:bind /var/lib/named/var/*
chown -R bind:bind /var/lib/named/etc/bind
After that, restart sysklogd and bind.
__________________
Home of the SpamSnake
|
Recent comments
1 day 4 hours ago
1 day 7 hours ago
1 day 8 hours ago
1 day 9 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 14 hours ago
2 days 6 hours ago
2 days 6 hours ago
2 days 10 hours ago