web analytics

Permission denied errors when starting bind9 on Ubuntu 10.04 with Plesk 10

Written by config on . Posted in Linux, Ubuntu

Advertisement

If you are getting the following in your error log and you cannot start bind9 on Ubuntu 10.04 server with Plesk 10 installed:

named[5372]: loading configuration from '/etc/named.conf'
named[5372]: none:0: open: /etc/named.conf: permission denied
named[5372]: loading configuration: permission denied
named[5372]: exiting (due to fatal error)
Advertisement

Try this to solve the problem:
Add this to the AppArmor named profile (/etc/apparmor.d/usr.sbin.named) :

# plesk runs bind9 in chroot, giving permissions
/var/named/run-root/** rw,

Tags: , , , , , , , , , , , , , , , , , , ,

Trackback from your site.

Leave a comment

*