[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bind9-users
Subject:    Re: BIND 9.2.2 newbie Errors
From:       Mark_Andrews () isc ! org
Date:       2003-04-28 4:21:53
[Download RAW message or body]


> I'm trying to use BIND 9.2.2 after compiling and configuration I receive > the \
> following errors. Please see errors messages and files below. Any help will be > \
> appericated. 
> Thanks 
> 
> Michael
> 
> Solaris 9
> gcc version 3.2.2
> 
> /var/adm/messages
> Apr 25 13:32:03 bigbro named[7444]: [ID 866145 daemon.notice] starting > BIND 9.2.2 \
>                 -t /chroot/named -u named -c /etc/named.conf
> Apr 25 13:32:03 bigbro named[7444]: [ID 866145 daemon.notice] command > channel \
>                 listening on 127.0.0.1#953
> Apr 25 13:32:03 bigbro named[7444]: [ID 866145 daemon.error] > errno2result.c:109: \
>                 unexpected error:
> Apr 25 13:32:03 bigbro named[7444]: [ID 866145 daemon.error] unable to > convert \
> errno to isc_result: 6: No such device or address

	You can't have the chroot area on a partition that is mounted
	with the option nodev.

> Apr 25 13:32:03 bigbro named[7444]: [ID 866145 daemon.error] > dns_rdata_fromtext: \
> db.192.10.249:6: near eol: unexpected end of input


> Apr 25 13:32:03 bigbro named[7444]: [ID 866145 daemon.error] zone > \
> 249.10.192.in-addr.arpa/IN: loading master file db.192.10.249: > unexpected end of \
> input

> Apr 25 13:32:03 bigbro named[7444]: [ID 866145 daemon.error] > dns_rdata_fromtext: \
>                 db.test.ic.gov:6: near eol: unexpected end of input
> Apr 25 13:32:03 bigbro named[7444]: [ID 866145 daemon.error] zone > test.ic.gov/IN: \
> loading master file db.test.ic.gov: unexpected end of > input 
> *******************************************************************
> # cat named.conf
> controls {
> inet 127.0.0.1 allow { 127.0.0.1; } keys { rndckey; };
> };
> 
> key "rndckey" {
> algorithm       "hmac-md5";
> secret          > "U7llcTdmcXUtTahOPRw5RSde1h7y/LxLIk01Qdyfemc=";
> };
> 
> options {
> directory       "/conf";
> pid-file        "/var/run/named.pid";
> statistics-file "/var/run/named.stats";
> dump-file       "/var/run/named.db";
> forward only ;
> forwarders {
> 192.168.1.102;
> } ;
> 
> # hide our "real" version number
> version         "[secured]";
> };
> 
> # The root nameservers
> zone "." {
> type   hint;
> file   "db.rootcache";
> };
> 
> # localhost - forward zone
> zone    "localhost" {
> type    master;
> file   "db.localhost";
> notify  no;
> };
> 
> # localhost - inverse zone
> zone    "0.0.127.in-addr.arpa" {
> type   master;
> file   "db.127.0.0";
> notify no;
> };
> zone "test.ic.gov" in {
> type master;
> file "db.test.ic.gov";
> };
> zone "249.10.192.in-addr.arpa" in {
> type master;
> file "db.192.10.249";
> *******************************************************************
> ;
> ; db.127.0.0
> ;
> $TTL    86400
> @       IN      SOA     localhost. root.localhost.  (
> 1 ; Serial
> 28800      ; Refresh
> 14400      ; Retry
> 3600000    ; Expire
> 86400 )    ; Minimum
> IN      NS      localhost.
> 1       IN      PTR     localhost.
> 
> *************************************
> # cat db.192.10.249
> $TTL 86400
> ;
> ; Origin added to names not ending
> ; in a dot: test.ic.gov
> ;
> @ IN SOA bigbro2.test.ic.gov.
> (

	SOA records have seven (7) data fields.
	'(' tells the parser to treat end of line as white space until the
	coresponding ')'.  It allows records to be specified over multiple
	lines.

	You don't have enough fields.  '(' needs to be on the *first* line
	of a multi-line record.

> 2003210400    ; Serial
> 3     ; Refresh after 3 hours
> 1     ; Retry after1 hour
> 1     ; Expire after 1 week
> 86400         ; Negative
> )
> ;
> ; Name servers (The name '@' is impiled)
> ;
> IN NS  bigbro2.test.ic.gov.
> ;
> ; Addresses point to canonical names
> ;
> 2  IN PTR bigbro2.test.ic.gov.
> 3  IN PTR ctlprod2.test.ic.gov.
> ******************************************************
> # cat db.test.ic.gov
> $TTL 86400
> ;
> ; Origin added to names not ending
> ; in a dot: test.ic.gov
> ;
> @ IN SOA bigbro2.test.ic.gov.
> (
> 2003210400    ; Serial
> 3     ; Refresh after 3 hours
> 1     ; Retry after1 hour
> 1     ; Expire after 1 week
> 86400         ; Negative
> )
> 
> ;
> ; NAME servers (the name '@' is implied)
> ;
> IN NS bigbro2.test.ic.gov.
> ;
> ; Adresses for the canonical name
> ;
> localhost IN A  127.0.0.1
> bigbro2 IN A    192.168.10.2
> ctlprod2 IN A   192.168.10.3
************************************************
> # cat db.rootcache
> ; <<>> DiG 9.1.2 <<>> @a.root-servers.net . ns
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62886
> ;; flags: qr aa rd; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13
> 
> ;; QUESTION SECTION:
> ;.                              IN      NS
> 
> ;; ANSWER SECTION:
> .                       518400  IN      NS      G.ROOT-SERVERS.NET.
> .                       518400  IN      NS      F.ROOT-SERVERS.NET.
> .                       518400  IN      NS      B.ROOT-SERVERS.NET.
> .                       518400  IN      NS      J.ROOT-SERVERS.NET.
> .                       518400  IN      NS      K.ROOT-SERVERS.NET.
> .                       518400  IN      NS      L.ROOT-SERVERS.NET.
> .                       518400  IN      NS      M.ROOT-SERVERS.NET.
> .                       518400  IN      NS      I.ROOT-SERVERS.NET.
> .                       518400  IN      NS      E.ROOT-SERVERS.NET.
> .                       518400  IN      NS      D.ROOT-SERVERS.NET.
> .                       518400  IN      NS      A.ROOT-SERVERS.NET.
> .                       518400  IN      NS      H.ROOT-SERVERS.NET.
> .                       518400  IN      NS      C.ROOT-SERVERS.NET.
> 
> ;; ADDITIONAL SECTION:
> G.ROOT-SERVERS.NET.     3600000 IN      A       192.112.36.4
> F.ROOT-SERVERS.NET.     3600000 IN      A       192.5.5.241
> B.ROOT-SERVERS.NET.     3600000 IN      A       128.9.0.107
> J.ROOT-SERVERS.NET.     3600000 IN      A       198.41.0.10
> K.ROOT-SERVERS.NET.     3600000 IN      A       193.0.14.129
> L.ROOT-SERVERS.NET.     3600000 IN      A       198.32.64.12
> M.ROOT-SERVERS.NET.     3600000 IN      A       202.12.27.33
> I.ROOT-SERVERS.NET.     3600000 IN      A       192.36.148.17
> E.ROOT-SERVERS.NET.     3600000 IN      A       192.203.230.10
> D.ROOT-SERVERS.NET.     3600000 IN      A       128.8.10.90
> A.ROOT-SERVERS.NET.     3600000 IN      A       198.41.0.4
> H.ROOT-SERVERS.NET.     3600000 IN      A       128.63.2.53
> C.ROOT-SERVERS.NET.     3600000 IN      A       192.33.4.12
> 
> ;; Query time: 88 msec
> ;; SERVER: 198.41.0.4#53(a.root-servers.net)
> ;; WHEN: Sat Mar  9 10:00:54 2002
> ;; MSG SIZE  rcvd: 436
> *************************************************************************> ***
> 
> 
> 
> 
> 
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews@isc.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic