ISPConfig did not write DNS zone files

Discussion in 'Installation/Configuration' started by asyadiqin, Aug 5, 2006.

  1. asyadiqin

    asyadiqin New Member

    I've followed the perfect setup for FC5 to the letter and managed to install ISPConfig.

    However, I notice that when I added a Master DNS, it didn't create the necessary zone files in /var/named/chroot/var/named

    I check in the control panel server settings and seems that the location of the zone file in the DB have been changed to /etc/bind

    I changed it to /var/named/chroot/var/named and save it but everytime I come back to the page again, it reverted to /etc/bind

    What could be the problem here?
     
  2. asyadiqin

    asyadiqin New Member

    I manually changed the value from /etc/bind to var/named/chroot/var/named using phpmyadmin and when I viewed it in the control panel, it showed the correct value, ie. /var/named/chroot/var/named

    However, when I make other changes in the ISP server tabs, eg. Server, Web, Email, etc.... the value revert back to /etc/bind

    Could there be a bug somewhere that changed the value of that table?
     
  3. asyadiqin

    asyadiqin New Member

    I have installed ISPConfig on another machine and seems that this also happens on that machine. Does anyone else have this problem?

    The zone file directory kept being overridden with /etc/bind/ whenever changes are made to the server settings. Only way to change it is to manually change it using phpmyadmin.

    Any ideas guys?
     
  4. asyadiqin

    asyadiqin New Member

    Problem Sorted...Hopefully

    Sorted out the problem. Seems many people have the same problem.

    What happen was that I run "yum update" and somehow it updated bind-chroot package and maybe changed the permission of the chroot folders. As in numerous other posts in the forum, the solution was to run the following command again. Hope it will help others who have the same problem.

    Code:
    chmod 755 /var/named/
    chmod 775 /var/named/chroot/
    chmod 775 /var/named/chroot/var/
    chmod 775 /var/named/chroot/var/named/
    chmod 775 /var/named/chroot/var/run/
    chmod 777 /var/named/chroot/var/run/named/
    cd /var/named/chroot/var/named/
    ln -s ../../ chroot
     
  5. falko

    falko Super Moderator ISPConfig Developer

Share This Page