Install bind9 debian wheezy chrooted

Discussion in 'HOWTO-Related Questions' started by counterpoint, May 8, 2013.

  1. counterpoint

    counterpoint New Member

    I've just attempted installation of bind9 into the newly released Debian Wheezy, following the squeeze howto.

    When I got to the point of starting bind9 at the end, it failed with:

    /etc/init.d/bind9: 5: /etc/default/bind9: bind: not found

    I've studied the script, but cannot see what is wrong. Can anyone help with this?
  2. darinpeterson

    darinpeterson Member HowtoForge Supporter

    What does the commandline say when you do

    apt-get install bind9
  3. counterpoint

    counterpoint New Member

    It says:

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    bind9 is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

    I followed the "how to" right through, starting with installing bind9, stopping it, moving files around and so on, right up to attempting to start bind9 again at the end. It's at this point I get the error.
  4. darinpeterson

    darinpeterson Member HowtoForge Supporter

    I thought it might be an issue with your sources.lst, but it's not. It looks like it has been installed.

    I'm not sure the problem, but you can try:

    which bind9

    whereis bind9
    Those will just tell you the location of the install. I'm not sure why restart isn't working.

    Falko told me to follow this installation howto for Wheezy, and I didn't have any issues:
    Last edited: May 8, 2013
  5. counterpoint

    counterpoint New Member

    Thanks - it would work, it just does the basic install of bind9 which is only the first step in the how-to that chroots bind. It's after the chroot install that the problem arises.

Share This Page