Ubuntu 8.04 bind9 dns do not Start on Pleks

Using Plesk 8.6 -9 on an Ubuntu 8.04 server ran okay until it became apparent that named wasn’t starting.

The problem is the apparmor!

It is apparmor :

sudo /etc/init.d/apparmor stop
Unloading AppArmor profiles : done.
laurent@madonie:~$ sudo /etc/init.d/bind9 start
* Starting domain name service… bind
…done.

What should I do then, let things like that with apparmor stopped ?http://forum.parallels.com/pda/index.php/t-84132.html

http://www.howtoforge.com/perfect-server-ubuntu8.04-lts-p3

http://www.moe.co.uk/2008/10/13/bind9-not-starting-on-ubuntu-804/

Using Plesk 8.6 on an Ubuntu 8.04 server ran okay until it became apparent that named wasn’t starting.

The error looked like:

[ 1343.483062] audit(1249551059.618:28): type=1503 operation=”inode_permission” requested_mask=”::r” denied_mask=”::r” name=”/var/named/run-root/etc/localtime” pid=20377 profile=”/usr/sbin/named” namespace=”default”

The following URL helped:

I updated the /etc/apparmor.d/usr.sbin.named file and included: /var/named/run-root/** rw,

Then, restarted:

/etc/init.d/apparmor reload
/etc/init.d/bind9 start

And it was all good.

Leave a comment