Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th June 2011, 00:50
studiorobert studiorobert is offline
Junior Member
 
Join Date: Jun 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Centos 5.6 - Perfect Server - bind-chroot - error failed

Hi!

Great awesome tutorials.. I am doing the Centos 5.6 install on a Centos 5.6 i386 box. I have had a variety of bumps as I go through them, but the first one I cannot solve is this: the chrooted bind will just not start.

here is my output when running "/etc/init.d/named start"

Code:
Starting Named:
Error in named configuration:
/var/named/chroot/var/named/named.local 1: unknown option '$ttl'
/var/named/chroot/var/named/named.local 3: unknown option 'Serial'
/var/named/chroot/var/named/named.local 4: unknown option 'Refresh'
/var/named/chroot/var/named/named.local 5: unknown option 'Retry'
/var/named/chroot/var/named/named.local 6: unknown option 'Expire'
/var/named/chroot/var/named/named.local 7: unknown option 'Minimum'
/etc/named.conf:30: unexpected token near end of file
                         [ FAILED ]
Reply With Quote
Sponsored Links
  #2  
Old 7th July 2011, 21:57
javamacion javamacion is offline
Junior Member
 
Join Date: Jul 2011
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default same error

I have same error, please help.
I test and quit the comments in /var/named/chrooot/var/named/named.local
but the error in $ttl appears
Reply With Quote
  #3  
Old 7th July 2011, 22:04
studiorobert studiorobert is offline
Junior Member
 
Join Date: Jun 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

javamacion,

I actually never succeeded in finishing the tutorial.

I got Bind to run non CHROOT, then i experimented a bit with ISPCONFIG..

I actually just formatted my Centos machine and reinstlaled stock centos.. I am going to be doing the whole tutorial again.


I went to #bind on... Whatever IRC network they use... And was thoroughly belittled by the people there...Then I read about 100 pages from a O'Rielly book about Bind...

It appears there are probably problems with the location of the example files the tutorial has us edit.. And then also problems within those example files...

Last edited by studiorobert; 7th July 2011 at 22:08.
Reply With Quote
  #4  
Old 8th July 2011, 14:52
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

Which tutorial exactly (URL) did you use?

What's in /var/named/chroot/var/named/named.local?
__________________
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 10th July 2011, 18:28
javamacion javamacion is offline
Junior Member
 
Join Date: Jul 2011
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default

this is the tutorial link i'm doing, when I install bind-Chroot and run is the error
http://www.howtoforge.com/perfect-se...ispconfig-3-p5



in /var/named/chroot/var/named/named.local appears the error
Code:
Starting Named:
Error in named configuration:
/var/named/chroot/var/named/named.local 1: unknown option '$ttl'
/var/named/chroot/var/named/named.local 3: unknown option 'Serial'
/var/named/chroot/var/named/named.local 4: unknown option 'Refresh'
/var/named/chroot/var/named/named.local 5: unknown option 'Retry'
/var/named/chroot/var/named/named.local 6: unknown option 'Expire'
/var/named/chroot/var/named/named.local 7: unknown option 'Minimum'
/etc/named.conf:30: unexpected token near end of file
I think it dont recognise the ";" comments.

Last edited by javamacion; 10th July 2011 at 18:30.
Reply With Quote
  #6  
Old 11th July 2011, 10:20
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

What's in /var/named/chroot/var/named/named.local?
__________________
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
  #7  
Old 11th July 2011, 19:27
studiorobert studiorobert is offline
Junior Member
 
Join Date: Jun 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Falko,

I am now in the middle of re-doing the tutorial.. I am, as noted, doing the tutorial on a i386 pentium 4 based machine... I will post my experience here, along with any changes to the tutorial I make in order to get i386 packages installed.. Most of the tutorial is exactly the same, but there are a few packages that need to be i386....


One huge question I have is how BIND CHROOT works.. I have, for example, 5 static IPS available, and want to use two for dedicated name servers - but do not quite understand how IPCONFIG will be working once installed...

Does it modify the BIND files to add more domain routings? Does it append a config file, what does it do?

Thanks!
Reply With Quote
  #8  
Old 12th July 2011, 06:24
javamacion javamacion is offline
Junior Member
 
Join Date: Jul 2011
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi falko, in /var/named/chroot/var/named/named.local
is:
Code:
$TTL 86400
@ IN SOA ns1.sizne.com. root.localhost. (
                                                  1997022700;
                                                   28800;
                                                   14400;
                                                    3600000;
                                                   86400);
    IN     NS     localhost.
1    IN     PTR    localhost.
Thanks for your help
Reply With Quote
  #9  
Old 12th July 2011, 10:32
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 studiorobert View Post
Does it modify the BIND files to add more domain routings? Does it append a config file, what does it do?

Thanks!
ISPConfig normally just writes to the named.conf.local files and adds/modifies/deletes the zone files referenced in named.conf.local.
__________________
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
  #10  
Old 12th July 2011, 10:33
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

@javamacion: Can you please open a new thread? This is too confusing if two people post their problems in one thread. Thanks!
__________________
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
The Following User Says Thank You to falko For This Useful Post:
javamacion (12th July 2011)
Reply

Bookmarks

Tags
bind, centos, centos 5.6, chroot-bind

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
ISPConfig3 mail doesn't work pehden Installation/Configuration 20 9th December 2013 14:05
ISPConfig3 mail doesn't work Marr General 6 1st September 2010 09:32
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59
subdomain and mail relay configuration aranthorn Installation/Configuration 24 3rd September 2007 22:53
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30


All times are GMT +2. The time now is 06:57.


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