Networking Forums

Networking Forums > Computer Networking > Linux Networking > named error: expected prefix length near '4'

Reply
Thread Tools Display Modes

named error: expected prefix length near '4'

 
 
Benu
Guest
Posts: n/a

 
      10-04-2004, 03:22 PM
How do I determine what is being referenced in "messages" as '4'?

---------/var/log/messages---------
starting BIND 9.2.3 -u named -t /var/named/chroot
using 1 CPU
named startup succeeded
loading configuration from '/etc/named.conf'
/etc/named.conf:2: expected prefix length near '4,'
loading configuration: unexpected token
exiting (due to fatal error)
---------/etc/named.conf------------
// generated by named-bootconf.pl

options {
directory "/var/named";
// query-source address * port 53;
};

//
// a caching only nameserver config
//

controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

include "/etc/rndc.key";

zone "." {
type hint;
file "named.ca";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
};

Thank
Benu
 
Reply With Quote
 
 
 
 
Ian Northeast
Guest
Posts: n/a

 
      10-04-2004, 06:37 PM
On Mon, 04 Oct 2004 08:22:39 -0700, Benu wrote:

> How do I determine what is being referenced in "messages" as '4'?
>
> ---------/var/log/messages---------
> starting BIND 9.2.3 -u named -t /var/named/chroot using 1 CPU
> named startup succeeded
> loading configuration from '/etc/named.conf' /etc/named.conf:2: expected
> prefix length near '4,' loading configuration: unexpected token exiting
> (due to fatal error)
> ---------/etc/named.conf------------
> // generated by named-bootconf.pl


(snip apparantly fine named.conf)

You're running chrooted. If that file really is /etc/named.conf it's not
the one being used.

What is in line 2 of /var/named/chroot/etc/named.conf?

Regards, Ian
 
Reply With Quote
 
Benu
Guest
Posts: n/a

 
      10-08-2004, 03:43 PM
Thanks, you are right.
Benu

"Ian Northeast" <(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> On Mon, 04 Oct 2004 08:22:39 -0700, Benu wrote:
>
> > How do I determine what is being referenced in "messages" as '4'?
> >
> > ---------/var/log/messages---------
> > starting BIND 9.2.3 -u named -t /var/named/chroot using 1 CPU
> > named startup succeeded
> > loading configuration from '/etc/named.conf' /etc/named.conf:2: expected
> > prefix length near '4,' loading configuration: unexpected token exiting
> > (due to fatal error)
> > ---------/etc/named.conf------------
> > // generated by named-bootconf.pl

>
> (snip apparantly fine named.conf)
>
> You're running chrooted. If that file really is /etc/named.conf it's not
> the one being used.
>
> What is in line 2 of /var/named/chroot/etc/named.conf?
>
> Regards, Ian



 
Reply With Quote
 
 
 
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Zero Prefix and the CP karthikbalaguru Wireless Internet 22 02-27-2008 11:05 PM
DNS, DHCPD setup: Strange named error in messages: prerequisite notsatisfied NXRRSET tek Linux Networking 4 01-25-2008 04:03 AM
Max dsl expected speed? simon Broadband 7 09-17-2006 09:55 PM
How to delete the prefix of network driver? Land Windows Networking 0 12-09-2005 01:01 AM
What is expected throughput for 802.11G? Oliver Costich Wireless Internet 1 07-13-2003 06:15 AM



1 2 3 4 5 6 7 8 9 10 11