• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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