Perfect setup fails at /etc/init.d/bind9 start

Discussion in 'Installation/Configuration' started by unsichtbare, Jun 10, 2008.

  1. unsichtbare

    unsichtbare Member HowtoForge Supporter

    I am trying to build a new ISPConfig on Ubuntu 8.04 but Bind will not start after executing the steps in "The Perfect Setup"
    Code:
    Jun  9 21:20:43 clients2 named[10697]: starting BIND 9.4.2 -u bind -t /var/lib/named
    Jun  9 21:20:43 clients2 named[10697]: found 1 CPU, using 1 worker thread
    Jun  9 21:20:43 clients2 named[10697]: loading configuration from '/etc/bind/named.conf'
    Jun  9 21:20:43 clients2 named[10697]: none:0: open: /etc/bind/named.conf: permission denied
    Jun  9 21:20:43 clients2 named[10697]: loading configuration: permission denied
    Jun  9 21:20:43 clients2 named[10697]: exiting (due to fatal error)
    Jun  9 21:20:43 clients2 kernel: [15545.364629] audit(1213071643.969:7): type=1503 operation="inode_permission" requested_mask="r::" denied_mask="r::" name="/var/lib/named/etc/bind/named.conf" pid=10698 profile="/usr/sbin/named" namespace="default"
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    ls -la /etc/bind/named.conf
     
  3. venco

    venco New Member

    I had the same problem: Bind 9 won't start,
    The solution I did : After step 10 (Disable AppArmor) of the perfect Server Setup I totally removed AppArmor with the command;

    apt-get purge apparmor

    After that Bind9 will start.

    I'll hope it's the solution for you.
     
    Last edited: Jun 10, 2008
  4. unsichtbare

    unsichtbare Member HowtoForge Supporter

    -rw-r--r-- 1 bind bind 907 2008-04-09 12:42 /etc/bind/named.conf

    I was, however, able to get bind to start by completely re-starting the server.

    I think AppArmor is the problem. It seems to re-enable at almost every step in the installation.
     
  5. unsichtbare

    unsichtbare Member HowtoForge Supporter

    Now when installing PHP:

    I get:
    Code:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package php5-json is a virtual package provided by:
      php5-common 5.2.4-2ubuntu5.1
    You should explicitly select one to install.
    E: Package php5-json has no installation candidate
    
     
  6. daveb

    daveb Member

    You should be able to remove php5-json from your apt-get install list since json is now included in the php5 package.
     

Share This Page