Bind9 Failing

Discussion in 'Server Operation' started by gjvblack, May 19, 2009.

  1. gjvblack

    gjvblack New Member

    I recently have apparmor on my ubuntu 8.10 server but i when i enabled apparmor after i installed bind9, bind9 would give me error messages such as:

    rndc: connect failed 127.0.0.1#953: connection refused

    is there any solution to this?

    note:
    i also ran the following command:

    named -g -p 53

    and got this error as well:

    18-May-2009 20:54:51.595 starting BIND 9.5.0-P2 -g -p 53
    18-May-2009 20:54:51.595 found 2 CPUs, using 2 worker thread
    18-May-2009 20:54:51.597 loading configuration from '/etc/bind/named.conf'
    18-May-2009 20:54:51.599 none:0: open: /etc/bind/named.conf: permission denied
    18-May-2009 20:54:51.600 loading configuration: permission denied
    18-May-2009 20:54:51.600 exiting (due to fatal error)

    please any help?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Please disable and uninstall AppArmor, and the problem should be gone.
     
  3. gjvblack

    gjvblack New Member

    is there anyway to keep apparmor and bind 9 running? I want a good layer of security for my linux system.
     
  4. friday

    friday Member

    Thanks for the solution, falko. I had run a dist-upgrade on my box and wondered why bind failed. Checked permissions, they were good. Purged apparmor from the box and all is now good.
     

Share This Page