• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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