DNS wont restart

Discussion in 'Installation/Configuration' started by nightdude, Nov 25, 2008.

  1. nightdude

    nightdude New Member

    Having had this problem before, I knew exactly where to look in the forums for the answer.
    Alas, none of the solutions worked. I updated to the latest and greatest ISPConfig software today, and shortly there after, the problem started. There were no new websites or any other changes either before or after the upgrade. Last new site on server was months ago.

    [***@** ~]# /etc/init.d/named start
    Starting named:
    Error in named configuration:
    /etc/named.conf:3: change directory to '/home/admispconfig/ispconfig/web/multidoc/edit' failed: file not found

    I did what was recommended:
    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
    chkconfig --levels 235 named on
    /etc/init.d/named start
    and change the value back to /var/named/chroot/var/named in ISPConfig as noted in these threads:
    http://www.howtoforge.com/forums/showthread.php?p=94407#post94407
    http://www.howtoforge.com/forums/showthread.php?t=15145
    http://www.howtoforge.com/forums/showthread.php?t=11207&page=3
    One of these threads was originally mine, with the answer.

    Ok then -so what did I miss??

    As always, Thanks in advance for the help.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You did not miss anything if you were able to save the setting in ISPConfig and the path was not reverted by ISPConfig.
     
  3. nightdude

    nightdude New Member

    Still no luck

    I have now gone as far as re-installing the upgrade from yesterday to no avail. (no errors)

    I have re-entered the information as noted above, ISPConfig does not revert the information, yet I still am unable to restart DNS.

    Still the same:
    [***@** ~]# /etc/init.d/named start
    Starting named:
    Error in named configuration:
    /etc/named.conf:3: change directory to '/home/admispconfig/ispconfig/web/multidoc/edit' failed: file not found

    I must be missing something somewhere? Suggestions? Create this directory with the needed files the system is looking for?
     
  4. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    ls -la /var/named/chroot/var/named
    ?
     
  5. nightdude

    nightdude New Member

    Requested Code

    Thanks for the followup. Here is the code - it's rather lengthy..

    Code:
    total 109120
    drwxrwxr-x 4 root  named      4096 Nov 25 05:38 .
    drwxrwxr-x 6 root  named      4096 Jul 11 20:27 ..
    lrwxrwxrwx 1 root  named         6 Jul  9  2007 chroot -> ../../
    -rw-r----- 1 root  named 107151360 Jul 19  2007 core.10378
    -rw-r----- 1 root  named 107151360 Jul 19  2007 core.10555
    -rw-r----- 1 root  named 107151360 Jul 20  2007 core.11816
    -rw-r----- 1 root  named 106897408 Jul 22  2007 core.13040
    -rw-r----- 1 root  named 107151360 Jul 19  2007 core.15469
    -rw-r----- 1 root  named 106831872 Jul 22  2007 core.15528
    -rw-r----- 1 root  named 107151360 Jul 19  2007 core.16024
    -rw-r----- 1 root  named 106831872 Jul 22  2007 core.26241
    -rw-r----- 1 root  named 107220992 Jul 20  2007 core.26503
    -rw-r----- 1 root  named 106831872 Jul 22  2007 core.26518
    -rw-r----- 1 root  named 107286528 Jul 20  2007 core.26688
    -rw-r----- 1 root  named 106831872 Jul 22  2007 core.26838
    -rw-r----- 1 root  named 106897408 Jul 22  2007 core.27371
    -rw-r----- 1 root  named 107151360 Jul 20  2007 core.27482
    -rw-r----- 1 root  named 107151360 Jul 20  2007 core.27840
    -rw-r----- 1 root  named 107151360 Jul 20  2007 core.28831
    -rw-r----- 1 root  named 107151360 Jul 20  2007 core.29129
    -rw-r----- 1 root  named 107151360 Jul 20  2007 core.29312
    -rw-r----- 1 root  named 107151360 Jul 20  2007 core.29487
    -rw-r----- 1 root  named 107151360 Jul 20  2007 core.29660
    -rw-r----- 1 root  named 107057152 Nov 16  2007 core.29726
    -rw-r----- 1 root  named 107151360 Jul 20  2007 core.29882
    -rw-r----- 1 root  named 107151360 Jul 20  2007 core.30593
    -rw-r----- 1 root  named 107151360 Jul 20  2007 core.32638
    -rw-r----- 1 root  named 106971136 Nov 27  2007 core.4406
    -rw-r----- 1 root  named 106962944 Jul 20  2007 core.4422
    -rw-r----- 1 root  named 107057152 Nov 27  2007 core.4429
    -rw-r----- 1 root  named 106971136 Nov 26  2007 core.4430
    -rw-r----- 1 root  named 107122688 Nov 17  2007 core.4492
    -rw-r----- 1 root  named 107057152 Nov 17  2007 core.4874
    -rw-r----- 1 root  named 106971136 Nov 27  2007 core.4923
    -rw-r----- 1 root  named 106971136 Nov 27  2007 core.4971
    -rw-r----- 1 root  named 106971136 Nov 26  2007 core.5018
    -rw-r----- 1 root  named 106971136 Nov 26  2007 core.5070
    -rw-r----- 1 root  named 106971136 Nov 27  2007 core.5169
    -rw-r----- 1 root  named 106827776 Jul 19  2007 core.5238
    -rw-r----- 1 root  named 106971136 Nov 26  2007 core.5305
    -rw-r----- 1 root  named 106971136 Nov 17  2007 core.5464
    -rw-r----- 1 root  named 109137920 Nov 26  2007 core.5516
    -rw-r----- 1 root  named 107040768 Nov 26  2007 core.5557
    -rw-r----- 1 root  named 106971136 Nov 26  2007 core.5614
    -rw-r----- 1 root  named 107151360 Nov 26  2007 core.5751
    -rw-r----- 1 root  named 106971136 Nov 26  2007 core.6060
    -rw-r----- 1 root  named 107143168 Nov 26  2007 core.6367
    -rw-r----- 1 root  named 107151360 Jul 20  2007 core.672
    -rw-r----- 1 root  named 107147264 Jul 19  2007 core.7842
    -rw-r----- 1 root  named 107147264 Jul 19  2007 core.8037
    -rw-r----- 1 root  named 107147264 Jul 19  2007 core.8257
    -rw-r----- 1 root  named 106971136 Nov 27  2007 core.8766
    -rw-r----- 1 root  named 107147264 Jul 19  2007 core.8913
    -rw-r----- 1 root  named 106971136 Nov 27  2007 core.8982
    -rw-r----- 1 root  named 106971136 Nov 27  2007 core.9364
    -rw-r----- 1 root  named 107134976 Nov 27  2007 core.9512
    -rw-r----- 1 root  named 107151360 Jul 19  2007 core.9899
    drwxrwx--- 2 named named      4096 Aug 25  2004 data
    -rw-r--r-- 1 named named      3564 Nov 24 22:25 named.conf
    -rw-r----- 1 root  named       426 Jul 18  2007 named.local
    -rw-r----- 1 root  named      2518 Jul  9  2007 named.root
    -rw-r----- 1 root  named       625 Jun 16 09:49 pri.1.168.192.in-addr.arpa
    -rw-r----- 1 root  named      2769 Jun 16 09:49 pri.1.168.192.in-addr.arpa~
    -rw-r----- 1 root  named       835 Aug 28  2007 pri.beachjobs.myrtlebeachmarketplace.com
    -rw-r----- 1 root  named       834 Aug 28  2007 pri.beachjobs.myrtlebeachmarketplace.com~
    -rw-r----- 1 root  named      1154 Apr  5  2008 pri.beachmarketplace.selfip.com
    -rw-r----- 1 root  named      1111 Apr  5  2008 pri.beachmarketplace.selfip.com~
    -rw-r----- 1 root  named      1176 Apr  5  2008 pri.clemsonmarketplace.com
    -rw-r----- 1 root  named      1133 Apr  5  2008 pri.clemsonmarketplace.com~
    -rw-r----- 1 root  named       871 Oct 27  2007 pri.crusaders.kicks-ass.net
    -rw-r----- 1 root  named       829 Oct 27  2007 pri.crusaders.kicks-ass.net~
    -rw-r----- 1 root  named       811 Apr  5  2008 pri.demo1.dnsdojo.com
    -rw-r----- 1 root  named       811 Apr  5  2008 pri.demo2.dnsdojo.com
    -rw-r----- 1 root  named       811 Apr  5  2008 pri.demo3.dnsdojo.com
    -rw-r----- 1 root  named       811 Apr  5  2008 pri.demo4.dnsdojo.com
    -rw-r----- 1 root  named       835 Apr  5  2008 pri.digitalgoddess.selfip.com
    -rw-r----- 1 root  named       839 Apr  5  2008 pri.fedupparents.kicks-ass.net
    -rw-r----- 1 root  named       837 Apr  5  2008 pri.fedupparents.kicks-ass.net~
    -rw-r----- 1 root  named       814 Apr  5  2008 pri.harley.does-it.net
    -rw-r----- 1 root  named       878 Apr  5  2008 pri.internetmoney.barrell-of-knowledge.info
    -rw-r----- 1 root  named       876 Apr  5  2008 pri.internetmoney.barrell-of-knowledge.info~
    -rw-r----- 1 root  named       808 Jun 16 09:49 pri.john.is-gone.com
    -rw-r----- 1 root  named       812 Apr  5  2008 pri.kempf.from-sc.com
    -rw-r----- 1 root  named       812 Apr  5  2008 pri.kempf.from-sc.com~
    -rw-r----- 1 root  named       845 Apr  5  2008 pri.marketplaces.stuff-4-sale.us
    -rw-r----- 1 root  named       843 Apr  5  2008 pri.marketplaces.stuff-4-sale.us~
    -rw-r----- 1 root  named       927 Aug 28  2007 pri.myrtlebeachmarketplace.com
    -rw-r----- 1 root  named       837 Aug 28  2007 pri.myrtlebeachmarketplace.com~
    -rw-r----- 1 root  named       833 Apr  5  2008 pri.myrtlebeachtreasures.com
    -rw-r----- 1 root  named       831 Apr  5  2008 pri.myrtlebeachtreasures.com~
    -rw-r----- 1 root  named       875 Nov 27  2007 pri.networkpanel.selfip.com
    -rw-r----- 1 root  named       874 Nov 27  2007 pri.networkpanel.selfip.com~
    -rw-r----- 1 root  named       830 Apr  5  2008 pri.samplesites.dnsdojo.com
    -rw-r----- 1 root  named       830 Apr  5  2008 pri.samplesites.dnsdojo.com~
    -rw-r----- 1 root  named      1052 Jul 20  2007 pri.scgssm.selfip.com
    -rw-r----- 1 root  named      1010 Jul 20  2007 pri.scgssm.selfip.com~
    -rw-r----- 1 root  named       848 Apr  5  2008 pri.stranddistribution.selfip.com
    -rw-r----- 1 root  named       846 Apr  5  2008 pri.stranddistribution.selfip.com~
    -rw-r----- 1 root  named       860 Apr  5  2008 pri.strandinvestments.doesntexist.com
    -rw-r----- 1 root  named       860 Apr  5  2008 pri.strandinvestments.doesntexist.com~
    -rw-r----- 1 root  named       821 Apr  5  2008 pri.tigertown.selfip.com
    -rw-r----- 1 root  named       819 Apr  5  2008 pri.tigertown.selfip.com~
    -rw-r----- 1 root  named       860 Apr  5  2008 pri.tiredandfedup.is-an-anarchist.com
    -rw-r----- 1 root  named       858 Apr  5  2008 pri.tiredandfedup.is-an-anarchist.com~
    -rw-r----- 1 root  named       857 Apr  5  2008 pri.weeklyspecial.sells-for-less.com
    -rw-r----- 1 root  named       855 Apr  5  2008 pri.weeklyspecial.sells-for-less.com~
    drwxrwx--- 2 named named      4096 Jul 27  2004 slaves

    Feedback and help is greatly appreciated. I should note this is a CentOS 5.2 64bit box and the ISPConfig upgrade was from 2.2.24 to 2.2.27
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Can you also post the outputs of
    Code:
    ls -la /var/named/
    ls -la /var/named/chroot
    ls -la /var/named/chroot/var
    ?
     
  7. nightdude

    nightdude New Member

    DNS Problems

    Sorry for the slow response. Holidays (American) can be time consuming:

    Ok - outputs
    ls -la /var/named/
    Code:
    total 40
    drwxr-xr-x  5 root  named 4096 Jul 11 20:28 .
    drwxr-xr-x 27 root  root  4096 Mar 13  2008 ..
    drwxrwxr-x  6 root  named 4096 Jul 11 20:27 chroot
    drwxrwx---  2 named named 4096 Jul 11 20:27 data
    drwxrwx---  2 named named 4096 Jul 11 20:27 slaves
    ls -la /var/named/chroot
    Code:
    total 21928
    drwxrwxr-x   6 root  named      4096 Jul 11 20:27 .
    drwxr-xr-x   5 root  named      4096 Jul 11 20:28 ..
    -rw-------   1 named named 106631168 Jul 10  2007 core.10505
    -rw-------   1 named named 107032576 Jul 18  2007 core.10979
    -rw-------   1 named named 106631168 Jul 10  2007 core.11278
    -rw-------   1 named named 107032576 Jul 18  2007 core.11296
    -rw-------   1 named named 107032576 Jul 18  2007 core.11429
    -rw-------   1 named named 107032576 Jul 18  2007 core.12954
    -rw-------   1 named named 106631168 Jul 13  2007 core.21424
    -rw-------   1 named named 106631168 Jul 12  2007 core.26123
    -rw-------   1 named named 107274240 Jul  9  2007 core.2716
    -rw-------   1 named named 107606016 Jul 18  2007 core.27761
    -rw-------   1 named named 106631168 Jul 15  2007 core.4398
    -rw-------   1 named named 106631168 Jul 18  2007 core.4400
    drwxr-x---   2 root  named      4096 Jul 11 20:27 dev
    drwxr-x---   2 root  named      4096 Nov 24 20:49 etc
    dr-xr-xr-x 255 root  root          0 Nov 27 03:39 proc
    drwxrwxr-x   6 root  named      4096 Jul 11 20:27 var
    ls -la /var/named/chroot/var
    Code:
    total 44
    drwxrwxr-x 6 root  named 4096 Jul 11 20:27 .
    drwxrwxr-x 6 root  named 4096 Jul 11 20:27 ..
    drwxr-xr-x 2 root  root  4096 Aug 25 08:48 log
    drwxrwxr-x 4 root  named 4096 Nov 25 05:38 named
    drwxrwxr-x 4 root  named 4096 Mar 13  2003 run
    drwxrwx--- 2 named named 4096 Mar 13  2003 tmp
    As always.. Thanks in advance for your help, input and assistance.
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Looks ok. Did you update any zone in ISPConfig so that ISPConfig rewrites the named.conf file with the new details?
     

Share This Page