#1  
Old 24th February 2007, 03:47
tomfmason tomfmason is offline
Junior Member
 
Join Date: Feb 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Bind: Configuration errors.

I have fedora core 4 and I followed the Bind setup shown here http://www.howtoforge.com/perfect_se...dora_core_4_p3 and here is the error that I am getting when I attempt to start named.

Code:
Starting named:
Error in named configuration:
/etc/named.conf:3: change directory to '/var/named/chroot/var/named/' failed: file not found

/etc/named.conf:3: parsing failed
line three of the named.conf is:

Code:
directory "/var/named/chroot/var/named";
I know that is a valid directory. Here are the permissions for it..
Code:
drwxrwxr-x  4 root  named 4.0K Feb 23 00:07 named
drwxrwx---  3 root  named 4.0K Feb 15 19:14 run
drwxrwx---  2 named named 4.0K Mar 13  2003 tmp
Any ideas as to what I did wrong or how I can fix it would be great..

Thanks,
Tom
Reply With Quote
Sponsored Links
  #2  
Old 24th February 2007, 10:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

Please execute these commands again:

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

and try to start named.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 24th February 2007, 19:33
tomfmason tomfmason is offline
Junior Member
 
Join Date: Feb 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your response..

Everything is fine until I get to this line
Code:
ln -s ../../ chroot.
when I execute that command I get the follow error.
Code:
ln: `chroot': File exists
I am starting to think about just removing bind and start over again. Will I also need to start over with ispconfig or?


Thanks again,
Tom
Reply With Quote
  #4  
Old 25th February 2007, 18:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Quote:
Originally Posted by tomfmason
Thanks for your response..

Everything is fine until I get to this line
Code:
ln -s ../../ chroot.
when I execute that command I get the follow error.
Code:
ln: `chroot': File exists
That's ok. This means that the symlink is already existing which is fine.
__________________
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 25th February 2007, 19:29
tomfmason tomfmason is offline
Junior Member
 
Join Date: Feb 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I still couldn't get bind to start after doing that. So I removed it and ispconfig. I started over and now everything is working perfectly.

Thanks,
Tom
Reply With Quote
  #6  
Old 3rd March 2007, 00:25
cnicules cnicules is offline
Junior Member
 
Join Date: Mar 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default same isue

hi,

i have the same isue, and to me it's strange to see in the config file the full path of the real system, as the config file is executed by named inside the chroot environment, so there is no /var/named/chroot.... there, a simple modif in the named.conf to the pid file location solved the problem, meaning /var/run/named/named.pid (and he put it in the chroot env, not in the real system).

The problem is that ipconfig keeps modifing the named.conf file each time i update something (modif to the pid location), problem solved by modifying the data base and the named.conf.master file

my system is a clean centos4.4, named-chroot, postfix,proftpd
no install errors of ispconfig 2.2.10

hope that helps to make some more check on the install script to solve this problem, and i'll keep you posted if i find others

my2c
Reply With Quote
  #7  
Old 3rd March 2007, 13:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
 
Default

You can change the named.conf template of ISPConfig in the directory /root/ispconfig/ispc/conf/named.conf.master
__________________
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 13:20
Bind chroot configuration Toffee Installation/Configuration 6 13th March 2009 16:51
BIND Errors, Possible Causes and How to Isolate troubles bpmee Suggest HOWTO 0 17th September 2006 10:43
ispconfig and mambo shajazzi Installation/Configuration 70 28th March 2006 20:29
Bind-Chroot-Howto (Debian) spaz HOWTO-Related Questions 5 9th March 2006 15:50


All times are GMT +2. The time now is 08:42.


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