Bind Starting Errors

Discussion in 'Installation/Configuration' started by dabro51, Mar 28, 2007.

  1. dabro51

    dabro51 New Member

    I have a problem getting Bind to start. I am using FC5-64, followed the perfect install. I have ISPConfig 2-2.6 installed and everything seems fine except getting Bind to run. When installing FC5 after downloading bind and creating the chroot environment it would not start. It kept saying it could not find the named.conf file. I copied named.conf located in /etc/named.conf to /var/named/chroot/etc/named.conf and it started. After installing ISPConfig, bind is running but all the changes made in the control panel are not being written to the named.conf in /var/named/chroot/etc/named.conf, they are being written to in the /etc/named.conf file.

    If I delete the /var/named/chroot/etc/named.conf file that I put there Bind gives this error:
    "Locating /var/named/chroot//etc/named.conf failed", the two forward strokes should tell me something, that is obviously wrong.

    If I copy the /etc/named.conf file to /var/named/chroot/etc/named.conf bind starts working, but changes in the control panel are not being written to in this location.

    I've redone the series of chmod commands and links in the named configuration more than once and have not fixed it. Any comments or suggestions would be appreciated. TIA Dave
  2. Hans

    Hans Moderator ISPConfig Developer

    Try this:

    make sure the ROOTDIR-Variable in /etc/sysconfig/named contains
    Updating via YUM resets it to ROOTDIR=/var/named/chroot

    Restart named, i hope it will...
  3. dabro51

    dabro51 New Member

    Did not Seem to Help

    Thanks Hans for the reply, it just generated:
    "/var/named/run-root//etc/named.conf failed error",
    I finally just pointed ISPConfig in the "settings" to point to the named.conf file in /var/named/chroot/etc/named.conf, this seems to work now. Thanks, Dave

Share This Page