
11th June 2011, 00:50
|
|
Junior Member
|
|
Join Date: Jun 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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 ]
|

7th July 2011, 21:57
|
|
Junior Member
|
|
Join Date: Jul 2011
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
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
|

7th July 2011, 22:04
|
|
Junior Member
|
|
Join Date: Jun 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

8th July 2011, 14:52
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
Which tutorial exactly (URL) did you use?
What's in /var/named/chroot/var/named/named.local?
|

10th July 2011, 18:28
|
|
Junior Member
|
|
Join Date: Jul 2011
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
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.
|

11th July 2011, 10:20
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
What's in /var/named/chroot/var/named/named.local?
|

11th July 2011, 19:27
|
|
Junior Member
|
|
Join Date: Jun 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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!
|

12th July 2011, 06:24
|
|
Junior Member
|
|
Join Date: Jul 2011
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
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
|

12th July 2011, 10:32
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
Quote:
Originally Posted by studiorobert
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.
|

12th July 2011, 10:33
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
@javamacion: Can you please open a new thread? This is too confusing if two people post their problems in one thread. Thanks!
|
|
The Following User Says Thank You to falko For This Useful Post:
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 10:14.
|
|
Recent comments
8 hours 53 min ago
13 hours 58 min ago
18 hours 22 min ago
20 hours 11 min ago
1 day 10 hours ago
1 day 10 hours ago
1 day 15 hours ago
1 day 22 hours ago
1 day 22 hours ago
2 days 9 min ago