• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

New Installation DNS Fails ? A Joke ?

KamalG

Basic Pleskian
I did a fresh installation of Plesk 12 on Ubuntu 14.04 and found that the DNS is not propagating upon checking the DNS service doesn't start.

This is a new installation on Ubuntu 14.04 Fresh install

Error: Unable to make action: Unable to manage service by dnsmng: dnsmng: Service /etc/init.d/bind9 failed to start
('--start', 'dns')

Now how to tackle this ?
 
Dec 11 10:43:43 wootersports named[4763]: using 1 UDP listener per interface
Dec 11 10:43:43 wootersports named[4763]: using up to 4096 sockets
Dec 11 10:43:43 wootersports named[4763]: loading configuration from '/etc/named.conf'
Dec 11 10:43:43 wootersports named[4763]: open: /etc/named.conf: permission denied
Dec 11 10:43:43 wootersports named[4763]: loading configuration: permission denied
Dec 11 10:43:43 wootersports named[4763]: exiting (due to fatal error)
Dec 11 10:43:43 wootersports kernel: [ 1132.681510] type=1400 audit(1418312623.481:25): apparmor="DENIED" operation="open" profile="/usr/sbin/named" name="/var/named/run-root/etc/named.conf" pid=4765 comm="named" requested_mask="r" denied_mask="r" fsuid=109 ouid=0
Dec 11 10:45:03 wootersports postfix/anvil[4633]: statistics: max connection rate 2/60s for (smtp:127.0.0.1) at Dec 11 10:41:43
Dec 11 10:45:03 wootersports postfix/anvil[4633]: statistics: max connection count 1 for (smtp:127.0.0.1) at Dec 11 10:41:28
Dec 11 10:45:03 wootersports postfix/anvil[4633]: statistics: max cache size 1 at Dec 11 10:41:28


ls -l /etc/named.conf
lrwxrwxrwx 1 root root 34 Dec 11 10:37 /etc/named.conf -> /var/named/run-root/etc/named.conf

Please help
 
Hi KamalG,

as you can see, apparmor blocks your bind9 - operations:

Dec 11 10:43:43 wootersports kernel: [ 1132.681510] type=1400 audit(1418312623.481:25): apparmor="DENIED" operation="open" profile="/usr/sbin/named" name="/var/named/run-root/etc/named.conf" pid=4765 comm="named" requested_mask="r" denied_mask="r" fsuid=109 ouid=0
Please disable apparmor, or configure it with the correct rights.
 
Back
Top