#1  
Old 23rd October 2007, 14:16
vladimirp vladimirp is offline
Junior Member
 
Join Date: Sep 2007
Posts: 12
Thanks: 3
Thanked 0 Times in 0 Posts
Default BIND Problem

I''ve installated Ispconfig according to perfect setup centos 5 :
9 Install A Chrooted DNS Server (BIND9)
To install a chrooted BIND9, we do this:

yum install bind-chroot

Then do this:

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
cp /usr/share/doc/bind-9.3.3/sample/var/named/named.local /var/named/chroot/var/named/named.local
cp /usr/share/doc/bind-9.3.3/sample/var/named/named.root /var/named/chroot/var/named/named.root
touch /var/named/chroot/etc/named.conf
chkconfig --levels 235 named on
/etc/init.d/named start
But in ispconfig I see :
named.conf : /var/named/chroot/etc/named.conf
Zonefiles Dir.: /etc/bind
why ?????
and I cant change /etc/bind -> /var/named/chroot/var/named/ : ???

[root@www ~]# cd /etc/bind
-bash: cd: /etc/bind: No such file or directory
[root@www ~]# cd /var/named/chroot/var/named/
[root@www named]# ll
total 48
lrwxrwxrwx 1 root named 6 Jul 14 03:26 chroot -> ../../
drwxrwx--- 2 named named 4096 Aug 25 2004 data
-rw-r----- 1 root named 426 Jul 14 03:26 named.local
-rw-r----- 1 root named 2518 Jul 14 03:26 named.root
-rw-r--r-- 1 named named 648 Oct 20 15:32 pri.170.254.85.in-addr.arpa
-rw-r--r-- 1 named named 584 Oct 20 15:32 pri.170.254.85.in-addr.arpa~
-rw-r--r-- 1 named named 778 Oct 20 15:32 pri.advance.lv
-rw-r--r-- 1 named named 777 Oct 20 15:32 pri.advance.lv~
-rw-r--r-- 1 named named 775 Oct 20 15:31 pri.myhost.lv
-rw-r--r-- 1 named named 774 Oct 20 15:31 pri.myhost.lv~
drwxrwx--- 2 named named 4096 Jul 27 2004 slaves

May be everything is correct , but BIND serviss now is offline , I don't now why ...
[root@www named]# /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

/etc/named.conf:3: parsing failed
[FAILED] .
1. Should I see /etc/bind , is it correct ????
2. Why I can start named ?
Reply With Quote
Sponsored Links
  #2  
Old 24th October 2007, 11:14
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,497
Thanks: 813
Thanked 5,263 Times in 4,127 Posts
Default

Please make sure that the path to your named.conf file is set correctly in ISPConfig under management > server > settings.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 24th October 2007, 12:52
vladimirp vladimirp is offline
Junior Member
 
Join Date: Sep 2007
Posts: 12
Thanks: 3
Thanked 0 Times in 0 Posts
Default

[root@www ~]# find / -name "named.conf"
/var/named/chroot/etc/named.conf
/etc/dbus-1/system.d/named.conf
/usr/share/doc/bind-9.3.3/sample/etc/named.conf
/usr/share/logwatch/default.conf/services/named.conf


In ISPconfig management->server->settings->isp server -> dns

named.conf: /var/named/chroot/etc/named.conf

Iwill trying to reinstall bind...
Reply With Quote
  #4  
Old 24th October 2007, 20:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by vladimirp
In ISPconfig management->server->settings->isp server -> dns

named.conf: /var/named/chroot/etc/named.conf
And what's the value of the zonefiles directory?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 20th January 2010, 00:39
tal56 tal56 is offline
Member
 
Join Date: Oct 2007
Posts: 91
Thanks: 11
Thanked 2 Times in 2 Posts
Default

I'm having the same problem, if my setting are this :

named.conf: /var/named/chroot/etc/named.conf
Zonefiles Dir.: /home/admispconfig/ispconfig/web/multidoc/edit

Is that not correct? They seem to be pointing at different directories.

I'm on Centos 5.4, which directory should those 2 files be pointing at?

Thanks !

Quote:
Originally Posted by falko View Post
And what's the value of the zonefiles directory?
Reply With Quote
  #6  
Old 20th January 2010, 11:31
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,497
Thanks: 813
Thanked 5,263 Times in 4,127 Posts
 
Default

Please do not double post!

http://www.howtoforge.com/forums/showthread.php?t=31007
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Problem on restart bind9 satimis Server Operation 6 30th October 2007 02:01
saslauthd problem: bind: Address already in use fitti70 Server Operation 4 14th May 2007 21:51
Problem with BIND and ISPConfigs's DNS Manager Nejko Installation/Configuration 66 22nd April 2006 20:47
Bind-Chroot-Howto (Debian) spaz HOWTO-Related Questions 5 9th March 2006 14:50


All times are GMT +2. The time now is 12:18.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.