Bind-8.2.2p5 chroot. logging not working
Jim Garvin
jim at izone.com
Sun Sep 24 22:10:11 UTC 2000
Hi,
I have installed bind-8.2.2p5 as per the instructions for chroot. On Redhat 6.2
http://www.linuxdoc.org/HOWTO/Chroot-BIND-HOWTO-1.html
Everything is working fine except the logging evertime I start up I get
named[24704]: /etc/named.conf:14: syntax error near logging
named[24704]: /etc/named.conf:19: syntax error near channel
I would appreciate any insight as to why this is occuring I have also
tried the same
named.conf on a non-chrooted machine and it works fine.
I have named running under user named and group named .
I have read through all the newsgroups and I am at a loss. below are configs.
TIA
Jim
**named.conf
options {
directory "/etc/namedb";
pid-file "/var/run/named.pid";
named-xfer "/bin/named-xfer";
allow-transfer{
192.168.0.4
};
logging {
channel dns_syslog {
syslog daemon;
severity info;
};
channel dns_file {
file "named.log";
severity debug;
print-category yes;
print-severity yes;
print-time yes;
};
category statistics { dns_file; };
category queries { dns_file; };
category default { dns_file; };
category panic { dns_file; };
category eventlib { dns_file; };
category load { dns_file; };
category db { dns_file; };
category xfer-out { dns_file; };
category panic { dns_file; };
category security { dns_file; };
category insist { dns_file; };
category response-checks { dns_file; };
category lame-servers { dns_file; };
category cname { dns_file; };
};
zone "0.168.192.in-addr.arpa"{
type master;
file "db.192.168.0";
};
**Directory and permissions
drwxr-xr-x 7 root root 4096 Sep 24 13:59 dns
drwxr-xr-x 2 root root 4096 Sep 23 00:16 bin
drwxr-xr-x 2 root root 4096 Sep 24 16:58 dev
drwxr-xr-x 3 root root 4096 Sep 24 15:11 etc
drwxr-xr-x 2 root root 4096 Sep 24 17:29 lib
drwxr-xr-x 4 root root 4096 Sep 23 00:35 var
[root at ns1 bin]# ls -l
total 2924
-rwxr-xr-x 1 root root 1792458 Sep 24 17:47 named
-rwxr-xr-x 1 root root 1191621 Sep 24 17:47 named-xfer
[root at ns1 dev]# ls -l
total 0
srw-rw-rw- 1 root root 0 Sep 24 16:58 log
crw-rw-rw- 1 root root 1, 3 Sep 23 13:45 null
[root at ns1 etc]# ls -l
total 28
-rw-r--r-- 1 root root 12 Sep 22 23:25 group
-rw-r--r-- 1 root root 1250 Sep 22 23:23 localtime
-rw-r--r-- 1 named named 14119 Sep 24 15:11 named.conf
drwxr-xr-x 6 named named 4096 Sep 24 17:25 namedb
[root at ns1 namedb]# ls -l
total 116
drwxr-xr-x 5 named named 4096 Sep 18 13:23 aols
drwxr-xr-x 2 named named 4096 Apr 18 18:10 backup
drwxr-xr-x 2 named named 4096 Aug 16 09:10 coba
-rw-r--r-- 1 named named 214 Apr 18 18:10 db.127.0.0
-rw-r--r-- 1 named named 3551 Sep 18 13:22 db.206.245.240
-rw-r--r-- 1 named named 1054 Jul 15 10:01 db.209.208.217
-r--r--r-- 1 named named 1982 Apr 18 18:10 db.cache
-rw-r--r-- 1 named named 105 Apr 18 18:10 db.cache.new
-rw-r--r-- 1 named named 2769 Apr 18 18:10 db.cache.old
drwxr-xr-x 5 named named 4096 Sep 11 14:34 izone
-rw-r--r-- 1 named named 2769 Feb 3 2000 named.ca
-rw-r--r-- 1 named named 422 Feb 3 2000 named.local
-rw-r--r-- 1 named named 61841 Apr 18 18:10 root.zone
[root at ns1 lib]# ls -l
total 4352
-rwxr-xr-x 1 root root 340663 Feb 29 2000 ld-2.1.3.so
lrwxrwxrwx 1 root root 11 Sep 24 17:29 ld-linux.so.2
-> ld-2.1.3.so
-rwxr-xr-x 1 root root 4101324 Feb 29 2000 libc-2.1.3.so
lrwxrwxrwx 1 root root 13 Sep 24 17:28 libc.so.6 ->
libc-2.1.3.so
[root at ns1 var]# ls -l
total 8
drwxr-xr-x 2 root root 4096 Sep 24 15:08 log
drwxr-xr-x 2 named named 4096 Sep 24 17:50 run
[root at ns1 run]# ls -l
total 4
-rw-r--r-- 1 root root 6 Sep 24 17:50 named.pid
srw------- 1 root root 0 Sep 24 17:50 ndc
More information about the bind-users
mailing list